<?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>question Not able to load data from Hcatalog into Pig Alias. in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Not-able-to-load-data-from-Hcatalog-into-Pig-Alias/m-p/122439#M39013</link>
    <description>&lt;P&gt;The below are the vesrions i am using.&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Hadoop Version: Hadoop 2.2.0&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Apache Pig version 0.12.1-SNAPSHOT (rexported) &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Hive 0.13.1&lt;/EM&gt;&lt;/P&gt;&lt;H4&gt;My Issue:&lt;/H4&gt;&lt;P&gt;I am trying to run below cmd in Pig Grunt shell.&lt;/P&gt;&lt;P&gt;grunt&amp;gt; a = LOAD 'batting_data' USING org.apache.hive.hcatalog.pig.HCatLoader();&lt;/P&gt;&lt;P&gt;Error:
&lt;/P&gt;&lt;P&gt;2016-08-27 18:52:51,670 [main] ERROR org.apache.pig.tools.grunt.Grunt - ERROR 1070: Could not resolve org.apache.hive.hcatalog.pig.HCatLoader using imports: [, java.lang., org.apache.pig.builtin., org.apache.pig.impl.builtin.]
Details at logfile: /home/edureka/pig_1472348224417.log&lt;/P&gt;&lt;P&gt;And then i executed the below one.&lt;/P&gt;&lt;P&gt;[edureka@localhost ~]$ pig -useHCatalog&lt;/P&gt;&lt;P&gt;Error:
&lt;/P&gt;&lt;P&gt;[edureka@localhost ~]$ pig -useHCatalog
ls: cannot access /usr/lib/hive-0.13.1-bin/lib/slf4j-api-*.jar: No such file or directory
Please initialize HCAT_HOME&lt;/P&gt;&lt;P&gt;Can any one share the root cause please.&lt;/P&gt;</description>
    <pubDate>Sun, 28 Aug 2016 08:57:02 GMT</pubDate>
    <dc:creator>chamarthivamsi</dc:creator>
    <dc:date>2016-08-28T08:57:02Z</dc:date>
    <item>
      <title>Not able to load data from Hcatalog into Pig Alias.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Not-able-to-load-data-from-Hcatalog-into-Pig-Alias/m-p/122439#M39013</link>
      <description>&lt;P&gt;The below are the vesrions i am using.&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Hadoop Version: Hadoop 2.2.0&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Apache Pig version 0.12.1-SNAPSHOT (rexported) &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Hive 0.13.1&lt;/EM&gt;&lt;/P&gt;&lt;H4&gt;My Issue:&lt;/H4&gt;&lt;P&gt;I am trying to run below cmd in Pig Grunt shell.&lt;/P&gt;&lt;P&gt;grunt&amp;gt; a = LOAD 'batting_data' USING org.apache.hive.hcatalog.pig.HCatLoader();&lt;/P&gt;&lt;P&gt;Error:
&lt;/P&gt;&lt;P&gt;2016-08-27 18:52:51,670 [main] ERROR org.apache.pig.tools.grunt.Grunt - ERROR 1070: Could not resolve org.apache.hive.hcatalog.pig.HCatLoader using imports: [, java.lang., org.apache.pig.builtin., org.apache.pig.impl.builtin.]
Details at logfile: /home/edureka/pig_1472348224417.log&lt;/P&gt;&lt;P&gt;And then i executed the below one.&lt;/P&gt;&lt;P&gt;[edureka@localhost ~]$ pig -useHCatalog&lt;/P&gt;&lt;P&gt;Error:
&lt;/P&gt;&lt;P&gt;[edureka@localhost ~]$ pig -useHCatalog
ls: cannot access /usr/lib/hive-0.13.1-bin/lib/slf4j-api-*.jar: No such file or directory
Please initialize HCAT_HOME&lt;/P&gt;&lt;P&gt;Can any one share the root cause please.&lt;/P&gt;</description>
      <pubDate>Sun, 28 Aug 2016 08:57:02 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Not-able-to-load-data-from-Hcatalog-into-Pig-Alias/m-p/122439#M39013</guid>
      <dc:creator>chamarthivamsi</dc:creator>
      <dc:date>2016-08-28T08:57:02Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to load data from Hcatalog into Pig Alias.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Not-able-to-load-data-from-Hcatalog-into-Pig-Alias/m-p/122440#M39014</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/12729/chamarthivamsi.html" nodeid="12729"&gt;@Vamsi C&lt;/A&gt;&lt;P&gt;since you're using an old version of Hive and Pig, you should change your script to &lt;/P&gt;&lt;PRE&gt;a = LOAD 'batting_data' USING org.apache.hcatalog.pig.HCatLoader();&lt;/PRE&gt;&lt;P&gt;the HCatLoader was renamed in later versions of Pig and hcatalog was merged into Hive project.&lt;/P&gt;</description>
      <pubDate>Mon, 12 Sep 2016 06:14:32 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Not-able-to-load-data-from-Hcatalog-into-Pig-Alias/m-p/122440#M39014</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2016-09-12T06:14:32Z</dc:date>
    </item>
  </channel>
</rss>

