<?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: SAS HAdoop Pig Code submission Error in SAS Data Management</title>
    <link>https://communities.sas.com/t5/SAS-Data-Management/SAS-HAdoop-Pig-Code-submission-Error/m-p/338187#M9993</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/99429"&gt;@ajain59&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If that is the case... have you tried adding the IP address and Hostname to the hosts file on your machine?&lt;/P&gt;</description>
    <pubDate>Sat, 04 Mar 2017 23:48:10 GMT</pubDate>
    <dc:creator>JBailey</dc:creator>
    <dc:date>2017-03-04T23:48:10Z</dc:date>
    <item>
      <title>SAS HAdoop Pig Code submission Error</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/SAS-HAdoop-Pig-Code-submission-Error/m-p/335326#M9895</link>
      <description>&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to submit following SAS-Hadoop PIG Code&amp;nbsp;Using SAS 9.4, But I am getting the following error.&lt;/P&gt;&lt;P&gt;Can you please help to fix the issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To produce the scenario: Here are the steps:&lt;/P&gt;&lt;P&gt;1. Start a Cloudera VM 5.8 and create a bridge Adapter Network and Share Folder.&lt;/P&gt;&lt;P&gt;2. Create a customer config file for SAS-Hadoop Interaction. (Merge All required XML files e.g. core-site.xml)&lt;/P&gt;&lt;P&gt;3. Copy the Cloudera VM Jar files to a local directory accessible by SAS&lt;/P&gt;&lt;P&gt;4. Set up SAS-HADOOP ENV. Variables SAS_HADOOP_JAR_PATH,SAS_CONFIG_PATH, SAS_HADOOP_RESTFUL&lt;/P&gt;&lt;P&gt;5. Create a local txt file containing PIG STATEMENTS&lt;/P&gt;&lt;P&gt;6. Use the below SAS program to generate th scenario&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;filename W2A8SBAK 'C:\Users\abcd\Desktop\pigcommand.txt' ;&lt;BR /&gt;data _null_;&lt;BR /&gt;file W2A8SBAK;&lt;/P&gt;&lt;P&gt;/* Create a HDFS directory SAS_demo to load the txt file */&lt;BR /&gt;put "A = load '/user/cloudera/sas_demo/wordcount.txt'; "; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;BR /&gt;put "B = foreach A generate flatten(TOKENIZE((chararray)$0)) as word; ";&lt;BR /&gt;put "C = Filter B by (word matches 'SURE);";&lt;BR /&gt;put "D = group C by word;";&lt;BR /&gt;put "E = foreach D generate COUNT(C), group;";&lt;BR /&gt;put "F = store E into '/user/cloudera/pig_theCount';";&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc hadoop cfg='C:\Users\abcd\Desktop\sample_sashadoopconfig.xml'&lt;BR /&gt;verbose username='cloudera' password='cloudera' ;&lt;BR /&gt;pig code=W2A8SBAK WORKINGDIR= '/user/cloudera/';&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am getting the following error:&lt;/P&gt;&lt;P&gt;ERROR: An exception has been encountered.&lt;BR /&gt;Please contact technical support and provide them with the following traceback information:&lt;/P&gt;&lt;P&gt;The SAS task name is [HADOOP]&lt;BR /&gt;ERROR: Read Access Violation HADOOP&lt;BR /&gt;Exception occurred at (23D91AED)&lt;BR /&gt;Task Traceback&lt;BR /&gt;Address Frame (DBGHELP API Version 4.0 rev 5)&lt;BR /&gt;0000000023D91AED 0000000027B6F790 0001:0000000000000AED tkepigr.dll&lt;BR /&gt;0000000023AF90D0 0000000027B6F798 sashadoo:tkvercn1+0x8090&lt;BR /&gt;0000000023AF14F0 0000000027B6F9B0 sashadoo:tkvercn1+0x4B0&lt;BR /&gt;0000000004DEC6A7 0000000027B6F9B8 sasxshel:tkvercn1+0x4B667&lt;BR /&gt;0000000023AFAED2 0000000027B6FAD0 sashadoo:tkvercn1+0x9E92&lt;BR /&gt;0000000023AF1792 0000000027B6FBF0 sashadoo:tkvercn1+0x752&lt;BR /&gt;00000000031689DB 0000000027B6FBF8 sashost:Main+0x10EBB&lt;BR /&gt;000000000316E62D 0000000027B6FF50 sashost:Main+0x16B0D&lt;BR /&gt;00007FFF562F8102 0000000027B6FF58 KERNEL32:BaseThreadInitThunk+0x22&lt;BR /&gt;00007FFF56CFC5B4 0000000027B6FF88 ntdll:RtlUserThreadStart+0x34&lt;/P&gt;&lt;P&gt;NOTE: PROCEDURE HADOOP used (Total process time):&lt;BR /&gt;real time 0.22 seconds&lt;BR /&gt;cpu time 0.14 seconds&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let me know if you need any other information.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Feb 2017 15:53:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/SAS-HAdoop-Pig-Code-submission-Error/m-p/335326#M9895</guid>
      <dc:creator>ajain59</dc:creator>
      <dc:date>2017-02-23T15:53:36Z</dc:date>
    </item>
    <item>
      <title>Re: SAS HAdoop Pig Code submission Error</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/SAS-HAdoop-Pig-Code-submission-Error/m-p/335909#M9911</link>
      <description>&lt;P&gt;Have you opened a track with SAS Tech Support on this? I think they would be in the best position to help.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 25 Feb 2017 22:05:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/SAS-HAdoop-Pig-Code-submission-Error/m-p/335909#M9911</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2017-02-25T22:05:18Z</dc:date>
    </item>
    <item>
      <title>Re: SAS HAdoop Pig Code submission Error</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/SAS-HAdoop-Pig-Code-submission-Error/m-p/337275#M9963</link>
      <description>&lt;P&gt;Not yet. I am seeking for help as many others have also posted similar error while sas interacts with hadoop using either libname or filestatements or proc hadoop.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to debug why pig commands are not working using proc hadoop.&lt;/P&gt;&lt;P&gt;However, submitting a hdfs command using proc hadoop is working fine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ashish Jain&lt;/P&gt;</description>
      <pubDate>Thu, 02 Mar 2017 09:29:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/SAS-HAdoop-Pig-Code-submission-Error/m-p/337275#M9963</guid>
      <dc:creator>ajain59</dc:creator>
      <dc:date>2017-03-02T09:29:05Z</dc:date>
    </item>
    <item>
      <title>Re: SAS HAdoop Pig Code submission Error</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/SAS-HAdoop-Pig-Code-submission-Error/m-p/337332#M9965</link>
      <description>&lt;P&gt;Hi &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/99429"&gt;@ajain59&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is most likely a problem with the JAR files. Although, with an Hadoop VM it could be lots of things.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It appears that you have SAS_HADOOP_REST=1 set. This means that SAS is using a REST interface instead of JARs for HDFS interaction. The HDFS connectivity may be working because SAS is not using JARs for that interaction.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Which release of SAS 9.4 are you using?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I haven't used the Cloudera VM in quite a while. If I find some time I will give it a shot. Unfortunately, the steps required to connect to it change with each release of the VM.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best wishes,&lt;/P&gt;
&lt;P&gt;Jeff&lt;/P&gt;</description>
      <pubDate>Thu, 02 Mar 2017 13:47:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/SAS-HAdoop-Pig-Code-submission-Error/m-p/337332#M9965</guid>
      <dc:creator>JBailey</dc:creator>
      <dc:date>2017-03-02T13:47:34Z</dc:date>
    </item>
    <item>
      <title>Re: SAS HAdoop Pig Code submission Error</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/SAS-HAdoop-Pig-Code-submission-Error/m-p/337359#M9966</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tested both scenarios for keeping SAS_HADOOP_RESTFUL =1 and 0.&lt;/P&gt;&lt;P&gt;Does it matter how we copy the jars to local path (shared path) which is accessible by VM and SAS machine?&lt;/P&gt;&lt;P&gt;I&amp;nbsp; tried to copy jars directly from VM to shared location which is accessible by SAS machine in my local laptop Env.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried to copy using two methods&lt;/P&gt;&lt;P&gt;sudo - u cp -r /lib &amp;lt;sharedlocation path&amp;gt;&lt;/P&gt;&lt;P&gt;and another way&amp;nbsp; copy the whole lib directory of VM&amp;nbsp;using Filezilla to shared location path&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ashish Jain&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Mar 2017 14:17:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/SAS-HAdoop-Pig-Code-submission-Error/m-p/337359#M9966</guid>
      <dc:creator>ajain59</dc:creator>
      <dc:date>2017-03-02T14:17:35Z</dc:date>
    </item>
    <item>
      <title>Re: SAS HAdoop Pig Code submission Error</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/SAS-HAdoop-Pig-Code-submission-Error/m-p/337361#M9967</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/99429"&gt;@ajain59&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Did you use the hadooptracer.py to gather the JAR files and XML files?&lt;/P&gt;</description>
      <pubDate>Thu, 02 Mar 2017 14:20:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/SAS-HAdoop-Pig-Code-submission-Error/m-p/337361#M9967</guid>
      <dc:creator>JBailey</dc:creator>
      <dc:date>2017-03-02T14:20:44Z</dc:date>
    </item>
    <item>
      <title>Re: SAS HAdoop Pig Code submission Error</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/SAS-HAdoop-Pig-Code-submission-Error/m-p/337363#M9968</link>
      <description>&lt;P&gt;No. I haven't used hadooptracer.py&amp;nbsp; for copy the jar files. I am trying to copy jars maually to share location.&lt;/P&gt;&lt;P&gt;Even I am not using SAs deployment manager to configure SAS-Hadoop.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Mar 2017 14:24:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/SAS-HAdoop-Pig-Code-submission-Error/m-p/337363#M9968</guid>
      <dc:creator>ajain59</dc:creator>
      <dc:date>2017-03-02T14:24:00Z</dc:date>
    </item>
    <item>
      <title>Re: SAS HAdoop Pig Code submission Error</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/SAS-HAdoop-Pig-Code-submission-Error/m-p/337367#M9969</link>
      <description>&lt;P&gt;Hi &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/99429"&gt;@ajain59&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Chances are there is a JAR file problem (missing or the wrong version of a JAR).&lt;/P&gt;</description>
      <pubDate>Thu, 02 Mar 2017 14:27:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/SAS-HAdoop-Pig-Code-submission-Error/m-p/337367#M9969</guid>
      <dc:creator>JBailey</dc:creator>
      <dc:date>2017-03-02T14:27:11Z</dc:date>
    </item>
    <item>
      <title>Re: SAS HAdoop Pig Code submission Error</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/SAS-HAdoop-Pig-Code-submission-Error/m-p/337802#M9977</link>
      <description>&lt;P&gt;No problem with JAR files but the error is on configuration part.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ashish Jain&lt;/P&gt;</description>
      <pubDate>Fri, 03 Mar 2017 12:45:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/SAS-HAdoop-Pig-Code-submission-Error/m-p/337802#M9977</guid>
      <dc:creator>ajain59</dc:creator>
      <dc:date>2017-03-03T12:45:11Z</dc:date>
    </item>
    <item>
      <title>Re: SAS HAdoop Pig Code submission Error</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/SAS-HAdoop-Pig-Code-submission-Error/m-p/338187#M9993</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/99429"&gt;@ajain59&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If that is the case... have you tried adding the IP address and Hostname to the hosts file on your machine?&lt;/P&gt;</description>
      <pubDate>Sat, 04 Mar 2017 23:48:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/SAS-HAdoop-Pig-Code-submission-Error/m-p/338187#M9993</guid>
      <dc:creator>JBailey</dc:creator>
      <dc:date>2017-03-04T23:48:10Z</dc:date>
    </item>
    <item>
      <title>Re: SAS HAdoop Pig Code submission Error</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/SAS-HAdoop-Pig-Code-submission-Error/m-p/338386#M9995</link>
      <description>&lt;P&gt;Yes, My host file contains the IP address and host name of the CDH 5.8 VM quickstart.cloudera&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, I have validated if I can ping the CDH 5.8 VM from my local machine and vise versa.&lt;/P&gt;&lt;P&gt;The network has been establised successfully and there is no problem of IP conflicts as well.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ashish Jain&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Mar 2017 09:35:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/SAS-HAdoop-Pig-Code-submission-Error/m-p/338386#M9995</guid>
      <dc:creator>ajain59</dc:creator>
      <dc:date>2017-03-06T09:35:04Z</dc:date>
    </item>
  </channel>
</rss>

