<?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 Re: Error During Parsing - Help with simple data move using HIVE and PIG HDP in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-During-Parsing-Help-with-simple-data-move-using-HIVE/m-p/186741#M64954</link>
    <description>&lt;P&gt;Big thanks for this!! I really appreciate the help!!&lt;/P&gt;</description>
    <pubDate>Mon, 17 Jul 2017 23:49:10 GMT</pubDate>
    <dc:creator>jbatspv</dc:creator>
    <dc:date>2017-07-17T23:49:10Z</dc:date>
    <item>
      <title>Error During Parsing - Help with simple data move using HIVE and PIG HDP</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-During-Parsing-Help-with-simple-data-move-using-HIVE/m-p/186739#M64952</link>
      <description>&lt;P&gt;trying to perform a simple test using HIVE + PIG using the following PIG script.&lt;/P&gt;&lt;P&gt;--Load records from populated table
int = LOAD 'table1' USING org.apache.hive.hcatalog.pig.HCatLoader();
--store the records to a new table
store int into 'table2' using org.apache.hive.hcatalog.pig.HCatStorer();
-useHCatalog added&lt;/P&gt;&lt;P&gt;Any idea on the error? No records get process into the identical and empty table 2.&lt;/P&gt;&lt;PRE&gt; WARNING: Use "yarn jar" to launch YARN applications. &lt;/PRE&gt;
&lt;PRE&gt; 17/07/14 20:08:09 INFO pig.ExecTypeProvider: Trying ExecType : LOCAL &lt;/PRE&gt;
&lt;PRE&gt; 17/07/14 20:08:09 INFO pig.ExecTypeProvider: Trying ExecType : MAPREDUCE &lt;/PRE&gt;
&lt;PRE&gt; 17/07/14 20:08:09 INFO pig.ExecTypeProvider: Trying ExecType : TEZ_LOCAL &lt;/PRE&gt;
&lt;PRE&gt; 17/07/14 20:08:09 INFO pig.ExecTypeProvider: Trying ExecType : TEZ &lt;/PRE&gt;
&lt;PRE&gt; 17/07/14 20:08:09 INFO pig.ExecTypeProvider: Picked TEZ as the ExecType &lt;/PRE&gt;
&lt;PRE&gt; 2017-07-14 20:08:09,110 [main] INFO  org.apache.pig.Main - Apache Pig version 0.16.0.2.5.0.0-1245 (rexported) compiled Aug 26 2016, 02:07:35 &lt;/PRE&gt;
&lt;PRE&gt; 2017-07-14 20:08:09,110 [main] INFO  org.apache.pig.Main - Logging error messages to: /hadoop/yarn/local/usercache/maria_dev/appcache/application_1499717461125_0015/container_1499717461125_0015_01_000002/pig_1500062889108.log &lt;/PRE&gt;
&lt;PRE&gt; 2017-07-14 20:08:10,228 [main] INFO  org.apache.pig.impl.util.Utils - Default bootup file /home/yarn/.pigbootup not found &lt;/PRE&gt;
&lt;PRE&gt; 2017-07-14 20:08:10,418 [main] INFO  org.apache.pig.backend.hadoop.executionengine.HExecutionEngine - Connecting to hadoop file system at: hdfs://sandbox.hortonworks.com:8020 &lt;/PRE&gt;
&lt;PRE&gt; 2017-07-14 20:08:11,609 [main] INFO  org.apache.pig.PigServer - Pig Script ID for the session: PIG-script.pig-edf7096e-5d22-4b5d-a99a-8a1b879aee01 &lt;/PRE&gt;
&lt;PRE&gt; 2017-07-14 20:08:12,279 [main] INFO  org.apache.hadoop.yarn.client.api.impl.TimelineClientImpl - Timeline service address: &lt;A href="http://sandbox.hortonworks.com:8188/ws/v1/timeline/" target="_blank"&gt;http://sandbox.hortonworks.com:8188/ws/v1/timeline/&lt;/A&gt; &lt;/PRE&gt;
&lt;PRE&gt; 2017-07-14 20:08:12,493 [main] INFO  org.apache.pig.backend.hadoop.PigATSClient - Created ATS Hook &lt;/PRE&gt;
&lt;PRE&gt; 2017-07-14 20:08:13,025 [main] ERROR org.apache.pig.PigServer - exception during parsing: Error during parsing. &amp;lt;file script.pig, line 2, column 0&amp;gt;  mismatched input 'int' expecting EOF &lt;/PRE&gt;
&lt;PRE&gt; Failed to parse: &amp;lt;file script.pig, line 2, column 0&amp;gt;  mismatched input 'int' expecting EOF &lt;/PRE&gt;
&lt;PRE&gt; 	at org.apache.pig.parser.QueryParserDriver.parse(QueryParserDriver.java:244) &lt;/PRE&gt;
&lt;PRE&gt; 	at org.apache.pig.parser.QueryParserDriver.parse(QueryParserDriver.java:182) &lt;/PRE&gt;
&lt;PRE&gt; 	at org.apache.pig.PigServer$Graph.parseQuery(PigServer.java:1819) &lt;/PRE&gt;
&lt;PRE&gt; 	at org.apache.pig.PigServer$Graph.access$000(PigServer.java:1527) &lt;/PRE&gt;
&lt;PRE&gt; 	at org.apache.pig.PigServer.parseAndBuild(PigServer.java:460) &lt;/PRE&gt;
&lt;PRE&gt; 	at org.apache.pig.PigServer.executeBatch(PigServer.java:485) &lt;/PRE&gt;
&lt;PRE&gt; 	at org.apache.pig.PigServer.executeBatch(PigServer.java:471) &lt;/PRE&gt;
&lt;PRE&gt; 	at org.apache.pig.tools.grunt.GruntParser.executeBatch(GruntParser.java:172) &lt;/PRE&gt;
&lt;PRE&gt; 	at org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.java:235) &lt;/PRE&gt;
&lt;PRE&gt; 	at org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.java:206) &lt;/PRE&gt;
&lt;PRE&gt; 	at org.apache.pig.tools.grunt.Grunt.exec(Grunt.java:81) &lt;/PRE&gt;
&lt;PRE&gt; 	at org.apache.pig.Main.run(Main.java:503) &lt;/PRE&gt;
&lt;PRE&gt; 	at org.apache.pig.Main.main(Main.java:178) &lt;/PRE&gt;
&lt;PRE&gt; 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) &lt;/PRE&gt;
&lt;PRE&gt; 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) &lt;/PRE&gt;
&lt;PRE&gt; 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) &lt;/PRE&gt;
&lt;PRE&gt; 	at java.lang.reflect.Method.invoke(Method.java:498) &lt;/PRE&gt;
&lt;PRE&gt; 	at org.apache.hadoop.util.RunJar.run(RunJar.java:233) &lt;/PRE&gt;
&lt;PRE&gt; 	at org.apache.hadoop.util.RunJar.main(RunJar.java:148) &lt;/PRE&gt;
&lt;PRE&gt; 2017-07-14 20:08:13,030 [main] ERROR org.apache.pig.tools.grunt.Grunt - ERROR 1200: &amp;lt;file script.pig, line 2, column 0&amp;gt;  mismatched input 'int' expecting EOF &lt;/PRE&gt;
&lt;PRE&gt; Details at logfile: /hadoop/yarn/local/usercache/maria_dev/appcache/application_1499717461125_0015/container_1499717461125_0015_01_000002/pig_1500062889108.log &lt;/PRE&gt;
&lt;PRE&gt; 2017-07-14 20:08:13,087 [main] INFO  org.apache.pig.Main - Pig script completed in 4 seconds and 218 milliseconds (4218 ms) &lt;/PRE&gt;</description>
      <pubDate>Sat, 15 Jul 2017 03:31:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-During-Parsing-Help-with-simple-data-move-using-HIVE/m-p/186739#M64952</guid>
      <dc:creator>jbatspv</dc:creator>
      <dc:date>2017-07-15T03:31:11Z</dc:date>
    </item>
    <item>
      <title>Re: Error During Parsing - Help with simple data move using HIVE and PIG HDP</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-During-Parsing-Help-with-simple-data-move-using-HIVE/m-p/186740#M64953</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/19335/johnbowler.html" nodeid="19335"&gt;@John Bowler&lt;/A&gt; you cannot use int as the pig relationship name since it is a keyword.&lt;/P&gt;&lt;P&gt;Use anything else like int1 or myint if you like.&lt;/P&gt;&lt;P&gt;That is exactly what your error is about. Change the relationship name and you should be good.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Sat, 15 Jul 2017 03:54:40 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-During-Parsing-Help-with-simple-data-move-using-HIVE/m-p/186740#M64953</guid>
      <dc:creator>rbiswas1</dc:creator>
      <dc:date>2017-07-15T03:54:40Z</dc:date>
    </item>
    <item>
      <title>Re: Error During Parsing - Help with simple data move using HIVE and PIG HDP</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-During-Parsing-Help-with-simple-data-move-using-HIVE/m-p/186741#M64954</link>
      <description>&lt;P&gt;Big thanks for this!! I really appreciate the help!!&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jul 2017 23:49:10 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-During-Parsing-Help-with-simple-data-move-using-HIVE/m-p/186741#M64954</guid>
      <dc:creator>jbatspv</dc:creator>
      <dc:date>2017-07-17T23:49:10Z</dc:date>
    </item>
    <item>
      <title>Re: Error During Parsing - Help with simple data move using HIVE and PIG HDP</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-During-Parsing-Help-with-simple-data-move-using-HIVE/m-p/186742#M64955</link>
      <description>&lt;P&gt;No problem &lt;A rel="user" href="https://community.cloudera.com/users/19335/johnbowler.html" nodeid="19335"&gt;@John Bowler&lt;/A&gt;. We are here to help. Happy hadooping!!&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jul 2017 23:58:21 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-During-Parsing-Help-with-simple-data-move-using-HIVE/m-p/186742#M64955</guid>
      <dc:creator>rbiswas1</dc:creator>
      <dc:date>2017-07-17T23:58:21Z</dc:date>
    </item>
  </channel>
</rss>

