<?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: Pig on Hortonworks Sandbox In Azure in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Pig-on-Hortonworks-Sandbox-In-Azure/m-p/144524#M107106</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/14797/frulouis.html" nodeid="14797"&gt;@Fru N.&lt;/A&gt; you are trying to load /tmp/demo/piglab04/data/drivers.tsv but your file has a csv extension. Change from tsv to csv. It should work. &lt;/P&gt;</description>
    <pubDate>Fri, 09 Dec 2016 03:08:10 GMT</pubDate>
    <dc:creator>mrizvi</dc:creator>
    <dc:date>2016-12-09T03:08:10Z</dc:date>
    <item>
      <title>Pig on Hortonworks Sandbox In Azure</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Pig-on-Hortonworks-Sandbox-In-Azure/m-p/144514#M107096</link>
      <description>&lt;P&gt;I can't run pig on Hortonworks Sandbox in Azure. Keep getting this errors.&lt;/P&gt;&lt;PRE&gt;Input(s):                                                                                                                                            
Failed to read data from "hdfs://sanbox.hortonworks.com:8020/tmp/demo/data/drivers.tsv" 
&lt;/PRE&gt;&lt;P&gt;Any ideas what the issue could be? I can't seem to get this to work. &lt;/P&gt;</description>
      <pubDate>Fri, 09 Dec 2016 01:36:39 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Pig-on-Hortonworks-Sandbox-In-Azure/m-p/144514#M107096</guid>
      <dc:creator>fru_louis</dc:creator>
      <dc:date>2016-12-09T01:36:39Z</dc:date>
    </item>
    <item>
      <title>Re: Pig on Hortonworks Sandbox In Azure</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Pig-on-Hortonworks-Sandbox-In-Azure/m-p/144515#M107097</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/14797/frulouis.html" nodeid="14797"&gt;@Fru N.&lt;/A&gt; can you check whether the file is present at the specified location, and if yes, what are the permissions for that file?&lt;/P&gt;</description>
      <pubDate>Fri, 09 Dec 2016 01:39:05 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Pig-on-Hortonworks-Sandbox-In-Azure/m-p/144515#M107097</guid>
      <dc:creator>mrizvi</dc:creator>
      <dc:date>2016-12-09T01:39:05Z</dc:date>
    </item>
    <item>
      <title>Re: Pig on Hortonworks Sandbox In Azure</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Pig-on-Hortonworks-Sandbox-In-Azure/m-p/144516#M107098</link>
      <description>&lt;P&gt;Yes.. I checked. And file is present. I gave 777 permission.&lt;/P&gt;&lt;P&gt;SInce it's Azure, not sure if there are additional settings in need to change with my hdfs-site.xml&lt;/P&gt;</description>
      <pubDate>Fri, 09 Dec 2016 01:59:28 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Pig-on-Hortonworks-Sandbox-In-Azure/m-p/144516#M107098</guid>
      <dc:creator>fru_louis</dc:creator>
      <dc:date>2016-12-09T01:59:28Z</dc:date>
    </item>
    <item>
      <title>Re: Pig on Hortonworks Sandbox In Azure</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Pig-on-Hortonworks-Sandbox-In-Azure/m-p/144517#M107099</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/14797/frulouis.html" nodeid="14797"&gt;@Fru N.&lt;/A&gt;, you do not have to change anything in hdfs-site.xml. Can you please send entire job log.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Dec 2016 02:02:57 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Pig-on-Hortonworks-Sandbox-In-Azure/m-p/144517#M107099</guid>
      <dc:creator>mrizvi</dc:creator>
      <dc:date>2016-12-09T02:02:57Z</dc:date>
    </item>
    <item>
      <title>Re: Pig on Hortonworks Sandbox In Azure</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Pig-on-Hortonworks-Sandbox-In-Azure/m-p/144518#M107100</link>
      <description>&lt;P&gt;&lt;A href="https://community.hortonworks.com/questions/70584/pig-on-hortonworks-sandbox-in-azure.html#"&gt;@Mushtaq Rizvi&lt;/A&gt;&lt;/P&gt;&lt;P&gt;grunt&amp;gt; drivers = LOAD '/tmp/demo/piglab04/data/drivers.tsv' USING PigStorage(',');                                                                                                      &lt;/P&gt;&lt;PRE&gt;grunt&amp;gt; dump drivers;                                                                                                                                                                    
2016-12-08 18:44:08,284 [main] INFO  org.apache.pig.tools.pigstats.ScriptState - Pig features used in the script: UNKNOWN                                                               
2016-12-08 18:44:08,386 [main] INFO  org.apache.pig.data.SchemaTupleBackend - Key [pig.schematuple] was not set... will not generate code.                                              
2016-12-08 18:44:08,451 [main] INFO  org.apache.pig.newplan.logical.optimizer.LogicalPlanOptimizer - {RULES_ENABLED=[AddForEach, ColumnMapKeyPrune, ConstantCalculator, GroupByConstPara
llelSetter, LimitOptimizer, LoadTypeCastInserter, MergeFilter, MergeForEach, PartitionFilterOptimizer, PredicatePushdownOptimizer, PushDownForEachFlatten, PushUpFilter, SplitFilter, St
reamTypeCastInserter]}                                                                                                                                                                  
2016-12-08 18:44:08,611 [main] INFO  org.apache.pig.backend.hadoop.executionengine.tez.TezLauncher - Tez staging directory is /tmp/fnhdp/staging and resources directory is /tmp/temp101
1891030                                                                                                                                                                                 
2016-12-08 18:44:08,659 [main] INFO  org.apache.pig.backend.hadoop.executionengine.tez.plan.TezCompiler - File concatenation threshold: 100 optimistic? false                           
org.apache.pig.backend.executionengine.ExecException: ERROR 2118: Input path does not exist: hdfs://sandbox.hortonworks.com:8020/tmp/demo/piglab04/data/drivers.tsv                     
        at org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.PigInputFormat.getSplits(PigInputFormat.java:279)                                                               
        at org.apache.tez.mapreduce.hadoop.MRInputHelpers.generateNewSplits(MRInputHelpers.java:412)                                                                                    
        at org.apache.tez.mapreduce.hadoop.MRInputHelpers.generateInputSplitsToMem(MRInputHelpers.java:291)                                                                             
        at org.apache.pig.backend.hadoop.executionengine.tez.plan.optimizer.LoaderProcessor.processLoads(LoaderProcessor.java:171)                                                      
        at org.apache.pig.backend.hadoop.executionengine.tez.plan.optimizer.LoaderProcessor.visitTezOp(LoaderProcessor.java:183)                                                        
        at org.apache.pig.backend.hadoop.executionengine.tez.plan.TezOperator.visit(TezOperator.java:249)                                                                               
        at org.apache.pig.backend.hadoop.executionengine.tez.plan.TezOperator.visit(TezOperator.java:55)                                                                                
        at org.apache.pig.impl.plan.DependencyOrderWalker.walk(DependencyOrderWalker.java:87)                                                                                           
        at org.apache.pig.impl.plan.PlanVisitor.visit(PlanVisitor.java:46)                                                                                                              
        at org.apache.pig.backend.hadoop.executionengine.tez.TezLauncher.processLoadAndParallelism(TezLauncher.java:461)                                                                
        at org.apache.pig.backend.hadoop.executionengine.tez.TezLauncher.launchPig(TezLauncher.java:171)                                                                                
        at org.apache.pig.backend.hadoop.executionengine.HExecutionEngine.launchPig(HExecutionEngine.java:304)                                                                          
        at org.apache.pig.PigServer.launchPlan(PigServer.java:1431)                                                                                                                     
        at org.apache.pig.PigServer.executeCompiledLogicalPlan(PigServer.java:1416)                                                                                                     
        at org.apache.pig.PigServer.storeEx(PigServer.java:1075)                                                                                                                        
        at org.apache.pig.PigServer.store(PigServer.java:1038)                                                                                                                          
        at org.apache.pig.PigServer.openIterator(PigServer.java:951)                                                                                                                    
        at org.apache.pig.tools.grunt.GruntParser.processDump(GruntParser.java:754)                                                                                                     
        at org.apache.pig.tools.pigscript.parser.PigScriptParser.parse(PigScriptParser.java:376)                                                                                        
        at org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.java:230)                                                                                                
        at org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.java:205)                                                                                                
        at org.apache.pig.tools.grunt.Grunt.run(Grunt.java:66)                                                                                                                          
        at org.apache.pig.Main.run(Main.java:565)                                                                                                                                       
        at org.apache.pig.Main.main(Main.java:177)                                                                                                                                      
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)                                                                                                                  
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)                                                                                                
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)                                                                                        
        at java.lang.reflect.Method.invoke(Method.java:606)                                                                                                                             
        at org.apache.hadoop.util.RunJar.run(RunJar.java:221)                                                                                                                           
        at org.apache.hadoop.util.RunJar.main(RunJar.java:136)                                                                                                                          
Caused by: org.apache.hadoop.mapreduce.lib.input.InvalidInputException: Input path does not exist: hdfs://sandbox.hortonworks.com:8020/tmp/demo/piglab04/data/drivers.tsv               
        at org.apache.hadoop.mapreduce.lib.input.FileInputFormat.singleThreadedListStatus(FileInputFormat.java:323)                                                                     
        at org.apache.hadoop.mapreduce.lib.input.FileInputFormat.listStatus(FileInputFormat.java:265)                                                                                   
        at org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.PigTextInputFormat.listStatus(PigTextInputFormat.java:36)                                                       
        at org.apache.hadoop.mapreduce.lib.input.FileInputFormat.getSplits(FileInputFormat.java:387)                                                                                    
        at org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.PigInputFormat.getSplits(PigInputFormat.java:265)                                                               
        ... 29 more                                                                                                                                                                     
2016-12-08 18:44:08,981 [main] ERROR org.apache.pig.tools.grunt.Grunt - ERROR 2118: Input path does not exist: hdfs://sandbox.hortonworks.com:8020/tmp/demo/piglab04/data/drivers.tsv    &lt;/PRE&gt;&lt;P&gt;Details at logfile: /home/fnhdp/pig_1481222529518.log &lt;/P&gt;</description>
      <pubDate>Fri, 09 Dec 2016 02:46:31 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Pig-on-Hortonworks-Sandbox-In-Azure/m-p/144518#M107100</guid>
      <dc:creator>fru_louis</dc:creator>
      <dc:date>2016-12-09T02:46:31Z</dc:date>
    </item>
    <item>
      <title>Re: Pig on Hortonworks Sandbox In Azure</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Pig-on-Hortonworks-Sandbox-In-Azure/m-p/144519#M107101</link>
      <description>&lt;P&gt;&lt;A href="https://community.hortonworks.com/questions/70584/pig-on-hortonworks-sandbox-in-azure.html#"&gt;@Mushtaq Rizvi&lt;/A&gt;  -Note: The file does exists. I have confirmed that. &lt;/P&gt;&lt;P&gt;Causedby: org.apache.hadoop.mapreduce.lib.input.InvalidInputException:Input path does not exist: hdfs://sandbox.hortonworks.com:8020/tmp/demo/piglab04/data/drivers.tsv   &lt;/P&gt;</description>
      <pubDate>Fri, 09 Dec 2016 02:48:08 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Pig-on-Hortonworks-Sandbox-In-Azure/m-p/144519#M107101</guid>
      <dc:creator>fru_louis</dc:creator>
      <dc:date>2016-12-09T02:48:08Z</dc:date>
    </item>
    <item>
      <title>Re: Pig on Hortonworks Sandbox In Azure</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Pig-on-Hortonworks-Sandbox-In-Azure/m-p/144520#M107102</link>
      <description>&lt;P&gt;it says that the input path does not exist, can you also show the output of this command:&lt;/P&gt;&lt;PRE&gt;hdfs dfs -ls /tmp/demo/piglab04/data/&lt;/PRE&gt;</description>
      <pubDate>Fri, 09 Dec 2016 02:50:03 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Pig-on-Hortonworks-Sandbox-In-Azure/m-p/144520#M107102</guid>
      <dc:creator>mrizvi</dc:creator>
      <dc:date>2016-12-09T02:50:03Z</dc:date>
    </item>
    <item>
      <title>Re: Pig on Hortonworks Sandbox In Azure</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Pig-on-Hortonworks-Sandbox-In-Azure/m-p/144521#M107103</link>
      <description>&lt;PRE&gt;hadoop fs -ls hdfs://sandbox.hortonworks.com:8020/tmp/demo/piglab04/data
Found 3 items
-rwxrwxrwx   3 maria_dev hdfs       2043 2016-12-08 16:05 hdfs://sandbox.hortonworks.com:8020/tmp/demo/piglab04/data/drivers.csv
-rwxrwxrwx   3 maria_dev hdfs      26205 2016-12-08 16:05 hdfs://sandbox.hortonworks.com:8020/tmp/demo/piglab04/data/timesheet.csv
-rwxrwxrwx   3 maria_dev hdfs    2272077 2016-12-08 16:05 hdfs://sandbox.hortonworks.com:8020/tmp/demo/piglab04/data/truck_event_text_partition.csv
&lt;/PRE&gt;</description>
      <pubDate>Fri, 09 Dec 2016 02:58:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Pig-on-Hortonworks-Sandbox-In-Azure/m-p/144521#M107103</guid>
      <dc:creator>fru_louis</dc:creator>
      <dc:date>2016-12-09T02:58:20Z</dc:date>
    </item>
    <item>
      <title>Re: Pig on Hortonworks Sandbox In Azure</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Pig-on-Hortonworks-Sandbox-In-Azure/m-p/144522#M107104</link>
      <description>&lt;PRE&gt;hdfs dfs -ls /tmp/demo/piglab04/data/
Found 3 items
-rwxrwxrwx   3 maria_dev hdfs       2043 2016-12-08 16:05 /tmp/demo/piglab04/data/drivers.csv
-rwxrwxrwx   3 maria_dev hdfs      26205 2016-12-08 16:05 /tmp/demo/piglab04/data/timesheet.csv
-rwxrwxrwx   3 maria_dev hdfs    2272077 2016-12-08 16:05 /tmp/demo/piglab04/data/truck_event_text_partition.csv
&lt;/PRE&gt;</description>
      <pubDate>Fri, 09 Dec 2016 03:00:21 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Pig-on-Hortonworks-Sandbox-In-Azure/m-p/144522#M107104</guid>
      <dc:creator>fru_louis</dc:creator>
      <dc:date>2016-12-09T03:00:21Z</dc:date>
    </item>
    <item>
      <title>Re: Pig on Hortonworks Sandbox In Azure</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Pig-on-Hortonworks-Sandbox-In-Azure/m-p/144523#M107105</link>
      <description>&lt;P&gt;For  reference, i'm using the Microsoft Azure: Hortonworks Sandbox with HDP 2.4&lt;/P&gt;</description>
      <pubDate>Fri, 09 Dec 2016 03:07:38 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Pig-on-Hortonworks-Sandbox-In-Azure/m-p/144523#M107105</guid>
      <dc:creator>fru_louis</dc:creator>
      <dc:date>2016-12-09T03:07:38Z</dc:date>
    </item>
    <item>
      <title>Re: Pig on Hortonworks Sandbox In Azure</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Pig-on-Hortonworks-Sandbox-In-Azure/m-p/144524#M107106</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/14797/frulouis.html" nodeid="14797"&gt;@Fru N.&lt;/A&gt; you are trying to load /tmp/demo/piglab04/data/drivers.tsv but your file has a csv extension. Change from tsv to csv. It should work. &lt;/P&gt;</description>
      <pubDate>Fri, 09 Dec 2016 03:08:10 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Pig-on-Hortonworks-Sandbox-In-Azure/m-p/144524#M107106</guid>
      <dc:creator>mrizvi</dc:creator>
      <dc:date>2016-12-09T03:08:10Z</dc:date>
    </item>
    <item>
      <title>Re: Pig on Hortonworks Sandbox In Azure</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Pig-on-Hortonworks-Sandbox-In-Azure/m-p/144525#M107107</link>
      <description>&lt;P&gt;From Grunt, I get this...&lt;/P&gt;&lt;PRE&gt;grunt&amp;gt; fs -ls /tmp/demo/piglab04/data                                                                                                                                                   
Found 3 items                                                                                                                                                                           
-rwxrwxrwx   3 maria_dev hdfs       2043 2016-12-08 16:05 /tmp/demo/piglab04/data/drivers.csv                                                                                           
-rwxrwxrwx   3 maria_dev hdfs      26205 2016-12-08 16:05 /tmp/demo/piglab04/data/timesheet.csv                                                                                         
-rwxrwxrwx   3 maria_dev hdfs    2272077 2016-12-08 16:05 /tmp/demo/piglab04/data/truck_event_text_partition.csv 
&lt;/PRE&gt;&lt;P&gt;So, not really sure why it happens only when running pig job. Suspecting it's something to do with the Sandbox image.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Dec 2016 03:10:48 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Pig-on-Hortonworks-Sandbox-In-Azure/m-p/144525#M107107</guid>
      <dc:creator>fru_louis</dc:creator>
      <dc:date>2016-12-09T03:10:48Z</dc:date>
    </item>
    <item>
      <title>Re: Pig on Hortonworks Sandbox In Azure</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Pig-on-Hortonworks-Sandbox-In-Azure/m-p/144526#M107108</link>
      <description>&lt;P&gt;That it is! Worked like a charm.  Thanks &lt;A href="https://community.hortonworks.com/questions/70584/pig-on-hortonworks-sandbox-in-azure.html#"&gt;@Mushtaq Rizvi&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Dec 2016 03:18:34 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Pig-on-Hortonworks-Sandbox-In-Azure/m-p/144526#M107108</guid>
      <dc:creator>fru_louis</dc:creator>
      <dc:date>2016-12-09T03:18:34Z</dc:date>
    </item>
    <item>
      <title>Re: Pig on Hortonworks Sandbox In Azure</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Pig-on-Hortonworks-Sandbox-In-Azure/m-p/144527#M107109</link>
      <description>&lt;P&gt;Glad to hear that, please accept the best answer to close the thread&lt;/P&gt;</description>
      <pubDate>Fri, 09 Dec 2016 04:20:51 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Pig-on-Hortonworks-Sandbox-In-Azure/m-p/144527#M107109</guid>
      <dc:creator>mrizvi</dc:creator>
      <dc:date>2016-12-09T04:20:51Z</dc:date>
    </item>
  </channel>
</rss>

