<?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: The INSERT INTO table orignaltable from table sastmp_04_04_21_***  failed in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/The-INSERT-INTO-table-orignaltable-from-table-sastmp-04-04-21/m-p/548703#M8559</link>
    <description>&lt;P&gt;Any code/log will help to understand the details of your operation.&lt;/P&gt;
&lt;P&gt;Do I get you right that you don't acutually execute in SAS (explcit SQL pass through?)&lt;/P&gt;</description>
    <pubDate>Fri, 05 Apr 2019 07:56:00 GMT</pubDate>
    <dc:creator>LinusH</dc:creator>
    <dc:date>2019-04-05T07:56:00Z</dc:date>
    <item>
      <title>The INSERT INTO table orignaltable from table sastmp_04_04_21_***  failed</title>
      <link>https://communities.sas.com/t5/New-SAS-User/The-INSERT-INTO-table-orignaltable-from-table-sastmp-04-04-21/m-p/548681#M8557</link>
      <description>&lt;P&gt;Dear All,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to ingest data from SAS Server to Hive using Data step. It was working till last week.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-&amp;gt; Takes file from SAS Server , move it to&amp;nbsp; HDFS Temp as .dlv file&lt;/P&gt;&lt;P&gt;-&amp;gt; creates a temporary table on the schema we gave in hadoop configuration connect string.&amp;nbsp;&lt;/P&gt;&lt;P&gt;-&amp;gt; Finally it runs&amp;nbsp;The INSERT INTO table orignaltable from table sastmp_04_04_21_*** .&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-&amp;gt; file inside /tmp will be deleted.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Recently i am facing an issue.&lt;/P&gt;&lt;P&gt;Temporary table is getting created on hive.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The INSERT INTO table orignaltable from table sastmp_04_04_21_***&amp;nbsp; failed, though original table is created with no rows.&lt;/P&gt;&lt;P&gt;and&amp;nbsp;i am not finding the file under/tmp.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any expert suggestions? greatly appreciated.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is the code i am using.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;options set=SAS_HADOOP_RESTFUL=1;&lt;BR /&gt;options set=SAS_HADOOP_JAR_PATH="/hadoop/jars";&lt;BR /&gt;options set= SAS_HADOOP_CONFIG_PATH="/hadoop/conf";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;OPTIONS nofmterr;&lt;BR /&gt;%let svr = %NRSTR('testing.domain.com');&lt;/P&gt;&lt;P&gt;%let stng = %NRSTR('STORED as PARQUET');&lt;/P&gt;&lt;P&gt;libname myhadoop hadoop server=&amp;amp;svr hdfs_tempdir='/tmp/sastmp' user=hive password=pxxxx&lt;BR /&gt;schema=schema1 port=10000&lt;BR /&gt;DBCREATE_TABLE_OPTS=&amp;amp;stng&lt;BR /&gt;subprotocol=hive2;&lt;/P&gt;&lt;P&gt;libname sai '/mydropzone';&lt;/P&gt;&lt;P&gt;data myhadoop.carshelp;&lt;BR /&gt;set sai.cars_temp;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Apr 2019 14:00:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/The-INSERT-INTO-table-orignaltable-from-table-sastmp-04-04-21/m-p/548681#M8557</guid>
      <dc:creator>SaiSankar116</dc:creator>
      <dc:date>2019-04-05T14:00:31Z</dc:date>
    </item>
    <item>
      <title>Re: The INSERT INTO table orignaltable from table sastmp_04_04_21_***  failed</title>
      <link>https://communities.sas.com/t5/New-SAS-User/The-INSERT-INTO-table-orignaltable-from-table-sastmp-04-04-21/m-p/548703#M8559</link>
      <description>&lt;P&gt;Any code/log will help to understand the details of your operation.&lt;/P&gt;
&lt;P&gt;Do I get you right that you don't acutually execute in SAS (explcit SQL pass through?)&lt;/P&gt;</description>
      <pubDate>Fri, 05 Apr 2019 07:56:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/The-INSERT-INTO-table-orignaltable-from-table-sastmp-04-04-21/m-p/548703#M8559</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2019-04-05T07:56:00Z</dc:date>
    </item>
    <item>
      <title>Re: The INSERT INTO table orignaltable from table sastmp_04_04_21_***  failed</title>
      <link>https://communities.sas.com/t5/New-SAS-User/The-INSERT-INTO-table-orignaltable-from-table-sastmp-04-04-21/m-p/548775#M8568</link>
      <description>&lt;P&gt;Here is the sample code i am using, please help me. Thanks for your time.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;options set=SAS_HADOOP_RESTFUL=1;&lt;BR /&gt;options set=SAS_HADOOP_JAR_PATH="/hadoop/jars";&lt;BR /&gt;options set= SAS_HADOOP_CONFIG_PATH="/hadoop/conf";&lt;/P&gt;&lt;P&gt;OPTIONS nofmterr;&lt;BR /&gt;%let svr = %NRSTR('testing.domain.com');&lt;/P&gt;&lt;P&gt;%let stng = %NRSTR('STORED as PARQUET');&lt;/P&gt;&lt;P&gt;libname myhadoop hadoop server=&amp;amp;svr hdfs_tempdir='/tmp/sastmp' user=hive password=pxxxx&lt;BR /&gt;schema=schema1 port=10000&lt;BR /&gt;DBCREATE_TABLE_OPTS=&amp;amp;stng&lt;BR /&gt;subprotocol=hive2;&lt;/P&gt;&lt;P&gt;libname sai '/mydropzone';&lt;/P&gt;&lt;P&gt;data myhadoop.carshelp;&lt;BR /&gt;set sai.cars_temp;&lt;BR /&gt;run;&lt;/P&gt;</description>
      <pubDate>Sun, 07 Apr 2019 15:38:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/The-INSERT-INTO-table-orignaltable-from-table-sastmp-04-04-21/m-p/548775#M8568</guid>
      <dc:creator>SaiSankar116</dc:creator>
      <dc:date>2019-04-07T15:38:35Z</dc:date>
    </item>
    <item>
      <title>Re: The INSERT INTO table orignaltable from table sastmp_04_04_21_***  failed</title>
      <link>https://communities.sas.com/t5/New-SAS-User/The-INSERT-INTO-table-orignaltable-from-table-sastmp-04-04-21/m-p/548880#M8582</link>
      <description>Ok, next step the log. Also include the following at the top:&lt;BR /&gt;&lt;BR /&gt;Options sastrace =',,,d' sastraceloc =saslog nostsuffix msglevel=i;</description>
      <pubDate>Fri, 05 Apr 2019 18:58:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/The-INSERT-INTO-table-orignaltable-from-table-sastmp-04-04-21/m-p/548880#M8582</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2019-04-05T18:58:26Z</dc:date>
    </item>
    <item>
      <title>Re: The INSERT INTO table orignaltable from table sastmp_04_04_21_***  failed</title>
      <link>https://communities.sas.com/t5/New-SAS-User/The-INSERT-INTO-table-orignaltable-from-table-sastmp-04-04-21/m-p/549119#M8616</link>
      <description>&lt;P&gt;HADOOP_8: Executed: on connection 2&lt;BR /&gt;LOAD DATA INPATH '/tmp/sastmp/sasdata-2019-04-04-16-30-00-841-e-00001.dlv' OVERWRITE INTO TABLE sastmp_04_04_16_30_02_424_00002&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;HADOOP_9: Executed: on connection 2&lt;BR /&gt;set hive.exec.dynamic.partition.mode=nonstrict&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;HADOOP_10: Executed: on connection 2&lt;BR /&gt;set hive.exec.dynamic.partition=true&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;HADOOP_11: Executed: on connection 2&lt;BR /&gt;set mapred.max.split.size=536870912&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;HADOOP_12: Executed: on connection 2&lt;BR /&gt;INSERT INTO TABLE `cars_temp` SELECT * FROM sastmp_04_04_16_30_02_424_00002&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;HADOOP_13: Executed: on connection 2&lt;BR /&gt;DROP TABLE sastmp_04_04_16_30_02_424_00002&lt;BR /&gt;&lt;BR /&gt;ERROR: Execute error:&lt;BR /&gt;ERROR: The INSERT INTO table cars_temp from table sastmp_04_04_16_30_02_424_00002 failed.&lt;BR /&gt;NOTE: SAS set option OBS=0 and will continue to check statements. This might cause NOTE: No observations in data set.&lt;BR /&gt;NOTE: DATA statement used (Total process time):&lt;BR /&gt;real time 8.21 seconds&lt;BR /&gt;cpu time 0.51 seconds&lt;/P&gt;&lt;P&gt;28&lt;BR /&gt;29&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Extra Information :&lt;/P&gt;&lt;P&gt;*********************&lt;/P&gt;&lt;P&gt;Actual table cars_temp table is getting created with zero records.&amp;nbsp;&amp;nbsp;ERROR: The INSERT INTO table cars_temp from table sastmp_04_04_16_30_02_424_00002 failed. I checked all the folder permissions(777), everything looks good.&amp;nbsp; Recently upgraded to HDP3.1.0.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 07 Apr 2019 23:00:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/The-INSERT-INTO-table-orignaltable-from-table-sastmp-04-04-21/m-p/549119#M8616</guid>
      <dc:creator>SaiSankar116</dc:creator>
      <dc:date>2019-04-07T23:00:06Z</dc:date>
    </item>
  </channel>
</rss>

