<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: redirecting HDFS TEMP FILES in SAS Data Management</title>
    <link>https://communities.sas.com/t5/SAS-Data-Management/redirecting-HDFS-TEMP-FILES/m-p/493571#M15392</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/6299"&gt;@vorkady&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If Kerberos is being used I would bet that your Kerberos ticket will not allow writing to that location.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Try writing a file to the HDFS_TEMPDIR= location using PROC HADOOP.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;PROC HADOOP displays better (more descriptive) error messages because it goes through fewer Hadoop layers when writing the file.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There may be an example in my SGF workshop materials.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/Jeff-Bailey/SGF2016_SAS3880_Insiders_Guide_Hadoop_HOW" target="_self"&gt;https://github.com/Jeff-Bailey/SGF2016_SAS3880_Insiders_Guide_Hadoop_HOW&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you have something like HUE available it is worth a try too.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;Best wishes,&lt;BR /&gt;Jeff&lt;/P&gt;</description>
    <pubDate>Fri, 07 Sep 2018 18:14:47 GMT</pubDate>
    <dc:creator>JBailey</dc:creator>
    <dc:date>2018-09-07T18:14:47Z</dc:date>
    <item>
      <title>redirecting HDFS TEMP FILES</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/redirecting-HDFS-TEMP-FILES/m-p/493034#M15350</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;We are encountering issue in redirecting&amp;nbsp; HDFS temp Directory using option&amp;nbsp; &amp;nbsp;&lt;SPAN&gt;hdfs_tempdir in the libname syntax. My id has full privilege&amp;nbsp;on the temp directory path&amp;nbsp; but getting access error , which is misleading. Please advise if any community members encountered similar issues and workaround used to resolve the issue. I have included below code and SAS logs for your ready reference. Appreciate if you could help.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;libname x3 hadoop AUTHDOMAIN=&amp;amp;auth_domain. server="xxxxt" &lt;BR /&gt;uri="jdbc:hive2://xxxx3/;ssl=true;transportMode=http;httpPath=gateway/default/hive2" schema="sbx_cr_mdl__user_xx"&lt;BR /&gt;DBMAX_TEXT=255 READ_METHOD=HDFS hdfs_tempdir="/hdp-staging/home/xxx";&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Logs:&lt;/P&gt;
&lt;P&gt;! hdfs_tempdir="/hdp-staging/home/svorkad";&lt;BR /&gt;ERROR: HDFS_TEMPDIR directory /hdp-staging/home/xxx does &lt;BR /&gt;5 The SAS System&lt;BR /&gt; 14:31 Wednesday, September 5, 2018&lt;/P&gt;
&lt;P&gt;not exist or is inaccessible.&lt;BR /&gt;ERROR: Error in the LIBNAME statement.&lt;BR /&gt;35&lt;/P&gt;</description>
      <pubDate>Thu, 06 Sep 2018 14:34:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/redirecting-HDFS-TEMP-FILES/m-p/493034#M15350</guid>
      <dc:creator>vorkady</dc:creator>
      <dc:date>2018-09-06T14:34:55Z</dc:date>
    </item>
    <item>
      <title>Re: redirecting HDFS TEMP FILES</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/redirecting-HDFS-TEMP-FILES/m-p/493571#M15392</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/6299"&gt;@vorkady&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If Kerberos is being used I would bet that your Kerberos ticket will not allow writing to that location.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Try writing a file to the HDFS_TEMPDIR= location using PROC HADOOP.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;PROC HADOOP displays better (more descriptive) error messages because it goes through fewer Hadoop layers when writing the file.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There may be an example in my SGF workshop materials.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/Jeff-Bailey/SGF2016_SAS3880_Insiders_Guide_Hadoop_HOW" target="_self"&gt;https://github.com/Jeff-Bailey/SGF2016_SAS3880_Insiders_Guide_Hadoop_HOW&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you have something like HUE available it is worth a try too.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;Best wishes,&lt;BR /&gt;Jeff&lt;/P&gt;</description>
      <pubDate>Fri, 07 Sep 2018 18:14:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/redirecting-HDFS-TEMP-FILES/m-p/493571#M15392</guid>
      <dc:creator>JBailey</dc:creator>
      <dc:date>2018-09-07T18:14:47Z</dc:date>
    </item>
    <item>
      <title>Re: redirecting HDFS TEMP FILES</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/redirecting-HDFS-TEMP-FILES/m-p/493577#M15393</link>
      <description>Thanks Jeff,&lt;BR /&gt;We also encountering issues displaying migrated Netezza  table data in EG  , which is visible in non sas applications such as Aginity hadoop work bench but not in EG . Further it is observed that data in table is visible in EG if column attributes set to string. I did open track with SAS support . Appreciate if you could help.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 07 Sep 2018 18:24:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/redirecting-HDFS-TEMP-FILES/m-p/493577#M15393</guid>
      <dc:creator>vorkady</dc:creator>
      <dc:date>2018-09-07T18:24:31Z</dc:date>
    </item>
    <item>
      <title>Re: redirecting HDFS TEMP FILES</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/redirecting-HDFS-TEMP-FILES/m-p/495415#M15443</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am able to resolve the issue by uploading the required &amp;nbsp;hive site xml file . We are now able to redirect temp direct in libname and also able to view table data in EG.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Note from Jeff and other contributors immensely helped us to resolve our Hadoop SAS config issues.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Sep 2018 17:22:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/redirecting-HDFS-TEMP-FILES/m-p/495415#M15443</guid>
      <dc:creator>vorkady</dc:creator>
      <dc:date>2018-09-13T17:22:02Z</dc:date>
    </item>
  </channel>
</rss>

