<?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 SAS/ACCESS for Hadoop Error in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/SAS-ACCESS-for-Hadoop-Error/m-p/226084#M267860</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;While executing the below code, iam getting error like "&lt;SPAN&gt;A common cause of this issue is conflicting HDFS permissions between the data file and the Hive&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;warehouse directory for the table."&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Also "ERROR: org.apache.hive.service.cli.HiveSQLException: Error while compiling statement: FAILED: SemanticException No valid&lt;BR /&gt;&lt;SPAN&gt;privileges".&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;Whether anyone encountered this issue and resolved?? please advice us.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;====================&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;46 libname hdplib hadoop server=xxxxxxxx port=10000 schema=default subprotocol=hive2&lt;BR /&gt;47 hdfs_tempdir="/user/rseelam";&lt;BR /&gt;NOTE: Libref HDPLIB was successfully assigned as follows:&lt;BR /&gt;Engine: HADOOP&lt;BR /&gt;Physical Name: jdbc:hive2://&lt;SPAN&gt;xxxxxxxx&lt;/SPAN&gt;:10000/default&lt;BR /&gt;48 data hdplib.testop;&lt;BR /&gt;49 x=1; output;&lt;BR /&gt;50 x=2; output;&lt;BR /&gt;51 x=3; output;&lt;BR /&gt;52 x=4; output;&lt;BR /&gt;53 x=5; output;&lt;BR /&gt;54 run;&lt;/P&gt;&lt;P&gt;NOTE: The data set HDPLIB.TESTOP has 5 observations and 1 variables.&lt;BR /&gt;ERROR: org.apache.hive.service.cli.HiveSQLException: Error while compiling statement: FAILED: SemanticException No valid&lt;BR /&gt;privileges&lt;BR /&gt;Required privileges for this query:&lt;BR /&gt;Server=server1-&amp;gt;URI=hdfs://nameservice1/user/rseelam/sasdata-2015-09-16-20-21-26-684-e-00002.dlv-&amp;gt;action=*;&lt;BR /&gt;ERROR: Unable to execute Hadoop query.&lt;BR /&gt;ERROR: Execute error on statement: LOAD DATA INPATH '/user/rseelam/sasdata-2015-09-16-20-21-26-684-e-00002.dlv' OVERWRITE&lt;BR /&gt;INTO TABLE `TESTOP`. Could not load /user/rseelam/sasdata-2015-09-16-20-21-26-684-e-00002.dlv into table TESTOP in&lt;BR /&gt;schema DEFAULT. A common cause of this issue is conflicting HDFS permissions between the data file and the Hive&lt;BR /&gt;warehouse directory for the table.&lt;BR /&gt;NOTE: DATA statement used (Total process time):&lt;BR /&gt;real time 4.91 seconds&lt;BR /&gt;cpu time 0.10 seconds&lt;/P&gt;</description>
    <pubDate>Thu, 17 Sep 2015 15:51:41 GMT</pubDate>
    <dc:creator>rameshs</dc:creator>
    <dc:date>2015-09-17T15:51:41Z</dc:date>
    <item>
      <title>SAS/ACCESS for Hadoop Error</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-ACCESS-for-Hadoop-Error/m-p/226084#M267860</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;While executing the below code, iam getting error like "&lt;SPAN&gt;A common cause of this issue is conflicting HDFS permissions between the data file and the Hive&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;warehouse directory for the table."&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Also "ERROR: org.apache.hive.service.cli.HiveSQLException: Error while compiling statement: FAILED: SemanticException No valid&lt;BR /&gt;&lt;SPAN&gt;privileges".&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;Whether anyone encountered this issue and resolved?? please advice us.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;====================&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;46 libname hdplib hadoop server=xxxxxxxx port=10000 schema=default subprotocol=hive2&lt;BR /&gt;47 hdfs_tempdir="/user/rseelam";&lt;BR /&gt;NOTE: Libref HDPLIB was successfully assigned as follows:&lt;BR /&gt;Engine: HADOOP&lt;BR /&gt;Physical Name: jdbc:hive2://&lt;SPAN&gt;xxxxxxxx&lt;/SPAN&gt;:10000/default&lt;BR /&gt;48 data hdplib.testop;&lt;BR /&gt;49 x=1; output;&lt;BR /&gt;50 x=2; output;&lt;BR /&gt;51 x=3; output;&lt;BR /&gt;52 x=4; output;&lt;BR /&gt;53 x=5; output;&lt;BR /&gt;54 run;&lt;/P&gt;&lt;P&gt;NOTE: The data set HDPLIB.TESTOP has 5 observations and 1 variables.&lt;BR /&gt;ERROR: org.apache.hive.service.cli.HiveSQLException: Error while compiling statement: FAILED: SemanticException No valid&lt;BR /&gt;privileges&lt;BR /&gt;Required privileges for this query:&lt;BR /&gt;Server=server1-&amp;gt;URI=hdfs://nameservice1/user/rseelam/sasdata-2015-09-16-20-21-26-684-e-00002.dlv-&amp;gt;action=*;&lt;BR /&gt;ERROR: Unable to execute Hadoop query.&lt;BR /&gt;ERROR: Execute error on statement: LOAD DATA INPATH '/user/rseelam/sasdata-2015-09-16-20-21-26-684-e-00002.dlv' OVERWRITE&lt;BR /&gt;INTO TABLE `TESTOP`. Could not load /user/rseelam/sasdata-2015-09-16-20-21-26-684-e-00002.dlv into table TESTOP in&lt;BR /&gt;schema DEFAULT. A common cause of this issue is conflicting HDFS permissions between the data file and the Hive&lt;BR /&gt;warehouse directory for the table.&lt;BR /&gt;NOTE: DATA statement used (Total process time):&lt;BR /&gt;real time 4.91 seconds&lt;BR /&gt;cpu time 0.10 seconds&lt;/P&gt;</description>
      <pubDate>Thu, 17 Sep 2015 15:51:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-ACCESS-for-Hadoop-Error/m-p/226084#M267860</guid>
      <dc:creator>rameshs</dc:creator>
      <dc:date>2015-09-17T15:51:41Z</dc:date>
    </item>
    <item>
      <title>Re: SAS/ACCESS for Hadoop Error</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-ACCESS-for-Hadoop-Error/m-p/227509#M267861</link>
      <description>&lt;P&gt;Issue got resolved after setting the permissions at sentry level.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2015 14:49:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-ACCESS-for-Hadoop-Error/m-p/227509#M267861</guid>
      <dc:creator>rameshs</dc:creator>
      <dc:date>2015-09-28T14:49:03Z</dc:date>
    </item>
    <item>
      <title>Re: SAS/ACCESS for Hadoop Error</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-ACCESS-for-Hadoop-Error/m-p/255373#M267862</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am having similar issue on our hadoop cluster with kerberos and sentry enabled. What is the modification you did on sentr to get this working? I tested the same statement hadoop cluster with no KDC/Sentry and it works but it fails with below error on sentry enabled clusetr.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ERROR: Execute error on statement: LOAD DATA INPATH '/tmp/sasdata-2016-03-07-14-34-12-770-e-00001.dlv' OVERWRITE INTO TABLE&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;`FULLTEST`. Could not load /tmp/sasdata-2016-03-07-14-34-12-770-e-00001.dlv into table FULLTEST2 in schema&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;EBI. A common cause of this issue is conflicting HDFS permissions between the data file and the Hive warehouse directory for&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;the table.&amp;nbsp; Another possible cause is the "sticky" bit set on HDFS directory /tmp.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Mar 2016 21:40:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-ACCESS-for-Hadoop-Error/m-p/255373#M267862</guid>
      <dc:creator>Ram-N</dc:creator>
      <dc:date>2016-03-08T21:40:15Z</dc:date>
    </item>
    <item>
      <title>Re: SAS/ACCESS for Hadoop Error</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-ACCESS-for-Hadoop-Error/m-p/265276#M267863</link>
      <description>&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This problem was resolved by working with hadoop admin team to create a HDFS-TEMPDIR=/sas-tmp and giving the ownership to account which is doing the hadoop operations from SAS. Please do note that HDFS-TEMPDIR= needs be on libname statement and it can not be options set.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ram&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Apr 2016 01:10:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-ACCESS-for-Hadoop-Error/m-p/265276#M267863</guid>
      <dc:creator>Ram-N</dc:creator>
      <dc:date>2016-04-21T01:10:44Z</dc:date>
    </item>
  </channel>
</rss>

