<?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 and Hadoop &amp;gt; Lesson 2: Working with Hadoop Data using Hive and HiveQL - 2.3 Hive Serdes A in SAS Academy for Data Science</title>
    <link>https://communities.sas.com/t5/SAS-Academy-for-Data-Science/SAS-and-Hadoop-gt-Lesson-2-Working-with-Hadoop-Data-using-Hive/m-p/736438#M1020</link>
    <description>&lt;P&gt;Hi Doug,&lt;/P&gt;
&lt;P&gt;It looks like your code is correct but there are some steps from earlier in the course that need to be executed to create some objects and files that your program needs to read. Try opening up mRemoteNG and couble click the &lt;A href="mailto:student@hadoopclient" target="_blank"&gt;student@hadoopclient&lt;/A&gt;&amp;nbsp;connection. That will open a linux command line where you can execute this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;hdfs dfs -put /workshop/dihdm/data /user/student/dihdm&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Next, execute this Hive program in the Hive editor in Hue:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;CREATE EXTERNAL TABLE IF NOT EXISTS dihdm.population_census(county string, population int) ROW FORMAT DELIMITED FIELDS TERMINATED BY '\t' LOCATION '/user/student/dihdm/population_census';&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Finally, in the File browser in Hue navigate to&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;/user/student/dihdm/population_census&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;And upload &lt;STRONG&gt;D:\Workshop\dihdm\data\census_2010.csv &lt;/STRONG&gt;from the windows machine.&lt;/P&gt;
&lt;P&gt;Then try your program again and see if it works.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 22 Apr 2021 15:26:51 GMT</pubDate>
    <dc:creator>DavidGhan</dc:creator>
    <dc:date>2021-04-22T15:26:51Z</dc:date>
    <item>
      <title>SAS and Hadoop &gt; Lesson 2: Working with Hadoop Data using Hive and HiveQL - 2.3 Hive Serdes Activity</title>
      <link>https://communities.sas.com/t5/SAS-Academy-for-Data-Science/SAS-and-Hadoop-gt-Lesson-2-Working-with-Hadoop-Data-using-Hive/m-p/735709#M1019</link>
      <description>&lt;P&gt;I am getting the following error when trying to complete the activity to execute the following AVRO code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Generic example:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Venus-labs_0-1618941910631.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/58409i1C910D2E885DB042/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Venus-labs_0-1618941910631.png" alt="Venus-labs_0-1618941910631.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My code and resulting error msg.:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Venus-labs_1-1618942032748.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/58410i1146D6FEBCB6FE28/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Venus-labs_1-1618942032748.png" alt="Venus-labs_1-1618942032748.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any suggestions are greatly appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;-Doug&lt;/P&gt;</description>
      <pubDate>Tue, 20 Apr 2021 18:07:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Academy-for-Data-Science/SAS-and-Hadoop-gt-Lesson-2-Working-with-Hadoop-Data-using-Hive/m-p/735709#M1019</guid>
      <dc:creator>Venus-labs</dc:creator>
      <dc:date>2021-04-20T18:07:32Z</dc:date>
    </item>
    <item>
      <title>Re: SAS and Hadoop &gt; Lesson 2: Working with Hadoop Data using Hive and HiveQL - 2.3 Hive Serdes A</title>
      <link>https://communities.sas.com/t5/SAS-Academy-for-Data-Science/SAS-and-Hadoop-gt-Lesson-2-Working-with-Hadoop-Data-using-Hive/m-p/736438#M1020</link>
      <description>&lt;P&gt;Hi Doug,&lt;/P&gt;
&lt;P&gt;It looks like your code is correct but there are some steps from earlier in the course that need to be executed to create some objects and files that your program needs to read. Try opening up mRemoteNG and couble click the &lt;A href="mailto:student@hadoopclient" target="_blank"&gt;student@hadoopclient&lt;/A&gt;&amp;nbsp;connection. That will open a linux command line where you can execute this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;hdfs dfs -put /workshop/dihdm/data /user/student/dihdm&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Next, execute this Hive program in the Hive editor in Hue:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;CREATE EXTERNAL TABLE IF NOT EXISTS dihdm.population_census(county string, population int) ROW FORMAT DELIMITED FIELDS TERMINATED BY '\t' LOCATION '/user/student/dihdm/population_census';&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Finally, in the File browser in Hue navigate to&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;/user/student/dihdm/population_census&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;And upload &lt;STRONG&gt;D:\Workshop\dihdm\data\census_2010.csv &lt;/STRONG&gt;from the windows machine.&lt;/P&gt;
&lt;P&gt;Then try your program again and see if it works.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Apr 2021 15:26:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Academy-for-Data-Science/SAS-and-Hadoop-gt-Lesson-2-Working-with-Hadoop-Data-using-Hive/m-p/736438#M1020</guid>
      <dc:creator>DavidGhan</dc:creator>
      <dc:date>2021-04-22T15:26:51Z</dc:date>
    </item>
  </channel>
</rss>

