<?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 Pig:Input path does not exist Error in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Pig-Input-path-does-not-exist-Error/m-p/105400#M38045</link>
    <description>&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;I did following. (/tmp is under hdfs) . Please suggest how to resolve below issue&lt;/P&gt;&lt;PRE&gt;[root@sandbox /]# pig
grunt&amp;gt; lines= LOAD 'hdfs://sandbox.hortonworks.com:8020/tmp/mahi_dev/Data/count.txt' AS (line:chararray);
grunt&amp;gt; dump lines;
2016-08-16 15:41:17,892 [JobControl] INFO  org.apache.hadoop.mapreduce.lib.jobcontrol.ControlledJob - PigLatin:DefaultJobName got an error while submitting
org.apache.pig.backend.executionengine.ExecException: ERROR 2118: Input path does not exist: hdfs://sandbox.hortonworks.com:8020/tmp/mahi_dev/Data/count.txt
        at org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.PigInputFormat.getSplits(PigInputFormat.java:279)
        at org.apache.hadoop.mapreduce.JobSubmitter.writeNewSplits(JobSubmitter.java:301)
        at org.apache.hadoop.mapreduce.JobSubmitter.writeSplits(JobSubmitter.java:318)
        at org.apache.hadoop.mapreduce.JobSubmitter.submitJobInternal(JobSubmitter.java:196)
        at org.apache.hadoop.mapreduce.Job$10.run(Job.java:1290)
        at org.apache.hadoop.mapreduce.Job$10.run(Job.java:1287)
        at java.security.AccessController.doPrivileged(Native Method)
        at javax.security.auth.Subject.doAs(Subject.java:415)
        at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1657)
        at org.apache.hadoop.mapreduce.Job.submit(Job.java:1287)
        at org.apache.hadoop.mapreduce.lib.jobcontrol.ControlledJob.submit(ControlledJob.java:335)
        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.pig.backend.hadoop23.PigJobControl.submit(PigJobControl.java:128)
        at org.apache.pig.backend.hadoop23.PigJobControl.run(PigJobControl.java:194)
        at java.lang.Thread.run(Thread.java:745)
        at org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.MapReduceLauncher$1.run(MapReduceLauncher.java:276)
&lt;STRONG&gt;Caused by: org.apache.hadoop.mapreduce.lib.input.InvalidInputException: Input path does not exist: hdfs://sandbox.hortonworks.com:8020/tmp/mahi_dev/Data/count.txt
        at &lt;/STRONG&gt;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)
        ... 18 more
2016-08-16 15:41:17,906 [main] INFO  org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.MapReduceLauncher - HadoopJobId: job_1469722152838_0058
2016-08-16 15:41:17,906 [main] INFO  org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.MapReduceLauncher - Processing aliases lines
2016-08-16 15:41:17,906 [main] INFO  org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.MapReduceLauncher - detailed locations: M: lines[1,7],lines[-1,-1] C:  R:
2016-08-16 15:41:17,919 [main] INFO  org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.MapReduceLauncher - 0% complete
2016-08-16 15:41:22,943 [main] WARN  org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.MapReduceLauncher - Ooops! Some job has failed! Specify -stop_on_failure if you want Pig to stop immediately on failure.
2016-08-16 15:41:22,943 [main] INFO  org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.MapReduceLauncher - job job_1469722152838_0058 has failed! Stop running all dependent jobs
2016-08-16 15:41:22,943 [main] INFO  org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.MapReduceLauncher - 100% complete
2016-08-16 15:41:23,123 [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;
2016-08-16 15:41:23,124 [main] INFO  org.apache.hadoop.yarn.client.RMProxy - Connecting to ResourceManager at sandbox.hortonworks.com/10.0.2.15:8050
2016-08-16 15:41:23,292 [main] INFO  org.apache.hadoop.mapred.ClientServiceDelegate - Could not get Job info from RM for job job_1469722152838_0058. Redirecting to job history server.
2016-08-16 15:41:24,297 [main] INFO  &lt;STRONG&gt;org.apache.hadoop.ipc.Client - Retrying connect to server: sandbox.hortonworks.com/10.0.2.15:10020. Already tried 0 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=50, sleepTime=1000 MILLISECONDS)
2016-08-16 15:41:25,300 [main] INFO  org.apache.hadoop.ipc.Client - Retrying connect to server: sandbox.hortonworks.com/10.0.2.15:10020. Already tried 1 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=50, sleepTime=1000 MILLISECONDS)&lt;/STRONG&gt;&lt;/PRE&gt;</description>
    <pubDate>Tue, 16 Aug 2016 23:25:36 GMT</pubDate>
    <dc:creator>TechGuy</dc:creator>
    <dc:date>2016-08-16T23:25:36Z</dc:date>
    <item>
      <title>Pig:Input path does not exist Error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Pig-Input-path-does-not-exist-Error/m-p/105400#M38045</link>
      <description>&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;I did following. (/tmp is under hdfs) . Please suggest how to resolve below issue&lt;/P&gt;&lt;PRE&gt;[root@sandbox /]# pig
grunt&amp;gt; lines= LOAD 'hdfs://sandbox.hortonworks.com:8020/tmp/mahi_dev/Data/count.txt' AS (line:chararray);
grunt&amp;gt; dump lines;
2016-08-16 15:41:17,892 [JobControl] INFO  org.apache.hadoop.mapreduce.lib.jobcontrol.ControlledJob - PigLatin:DefaultJobName got an error while submitting
org.apache.pig.backend.executionengine.ExecException: ERROR 2118: Input path does not exist: hdfs://sandbox.hortonworks.com:8020/tmp/mahi_dev/Data/count.txt
        at org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.PigInputFormat.getSplits(PigInputFormat.java:279)
        at org.apache.hadoop.mapreduce.JobSubmitter.writeNewSplits(JobSubmitter.java:301)
        at org.apache.hadoop.mapreduce.JobSubmitter.writeSplits(JobSubmitter.java:318)
        at org.apache.hadoop.mapreduce.JobSubmitter.submitJobInternal(JobSubmitter.java:196)
        at org.apache.hadoop.mapreduce.Job$10.run(Job.java:1290)
        at org.apache.hadoop.mapreduce.Job$10.run(Job.java:1287)
        at java.security.AccessController.doPrivileged(Native Method)
        at javax.security.auth.Subject.doAs(Subject.java:415)
        at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1657)
        at org.apache.hadoop.mapreduce.Job.submit(Job.java:1287)
        at org.apache.hadoop.mapreduce.lib.jobcontrol.ControlledJob.submit(ControlledJob.java:335)
        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.pig.backend.hadoop23.PigJobControl.submit(PigJobControl.java:128)
        at org.apache.pig.backend.hadoop23.PigJobControl.run(PigJobControl.java:194)
        at java.lang.Thread.run(Thread.java:745)
        at org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.MapReduceLauncher$1.run(MapReduceLauncher.java:276)
&lt;STRONG&gt;Caused by: org.apache.hadoop.mapreduce.lib.input.InvalidInputException: Input path does not exist: hdfs://sandbox.hortonworks.com:8020/tmp/mahi_dev/Data/count.txt
        at &lt;/STRONG&gt;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)
        ... 18 more
2016-08-16 15:41:17,906 [main] INFO  org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.MapReduceLauncher - HadoopJobId: job_1469722152838_0058
2016-08-16 15:41:17,906 [main] INFO  org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.MapReduceLauncher - Processing aliases lines
2016-08-16 15:41:17,906 [main] INFO  org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.MapReduceLauncher - detailed locations: M: lines[1,7],lines[-1,-1] C:  R:
2016-08-16 15:41:17,919 [main] INFO  org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.MapReduceLauncher - 0% complete
2016-08-16 15:41:22,943 [main] WARN  org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.MapReduceLauncher - Ooops! Some job has failed! Specify -stop_on_failure if you want Pig to stop immediately on failure.
2016-08-16 15:41:22,943 [main] INFO  org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.MapReduceLauncher - job job_1469722152838_0058 has failed! Stop running all dependent jobs
2016-08-16 15:41:22,943 [main] INFO  org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.MapReduceLauncher - 100% complete
2016-08-16 15:41:23,123 [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;
2016-08-16 15:41:23,124 [main] INFO  org.apache.hadoop.yarn.client.RMProxy - Connecting to ResourceManager at sandbox.hortonworks.com/10.0.2.15:8050
2016-08-16 15:41:23,292 [main] INFO  org.apache.hadoop.mapred.ClientServiceDelegate - Could not get Job info from RM for job job_1469722152838_0058. Redirecting to job history server.
2016-08-16 15:41:24,297 [main] INFO  &lt;STRONG&gt;org.apache.hadoop.ipc.Client - Retrying connect to server: sandbox.hortonworks.com/10.0.2.15:10020. Already tried 0 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=50, sleepTime=1000 MILLISECONDS)
2016-08-16 15:41:25,300 [main] INFO  org.apache.hadoop.ipc.Client - Retrying connect to server: sandbox.hortonworks.com/10.0.2.15:10020. Already tried 1 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=50, sleepTime=1000 MILLISECONDS)&lt;/STRONG&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 16 Aug 2016 23:25:36 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Pig-Input-path-does-not-exist-Error/m-p/105400#M38045</guid>
      <dc:creator>TechGuy</dc:creator>
      <dc:date>2016-08-16T23:25:36Z</dc:date>
    </item>
    <item>
      <title>Re: Pig:Input path does not exist Error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Pig-Input-path-does-not-exist-Error/m-p/105401#M38046</link>
      <description>&lt;P&gt;Please paste output of&lt;/P&gt;&lt;PRE&gt;hdfs dfs -ls /tmp/mahi_dev/Data/&lt;/PRE&gt;</description>
      <pubDate>Wed, 17 Aug 2016 05:10:04 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Pig-Input-path-does-not-exist-Error/m-p/105401#M38046</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2016-08-17T05:10:04Z</dc:date>
    </item>
    <item>
      <title>Re: Pig:Input path does not exist Error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Pig-Input-path-does-not-exist-Error/m-p/105402#M38047</link>
      <description>&lt;P&gt;[root@sandbox /]# hdfs dfs -ls /tmp/mahi_dev/Data/ &lt;/P&gt;&lt;P&gt;ls: `/tmp/mahi_dev/Data/': No such file or directory&lt;/P&gt;</description>
      <pubDate>Wed, 17 Aug 2016 05:13:53 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Pig-Input-path-does-not-exist-Error/m-p/105402#M38047</guid>
      <dc:creator>TechGuy</dc:creator>
      <dc:date>2016-08-17T05:13:53Z</dc:date>
    </item>
    <item>
      <title>Re: Pig:Input path does not exist Error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Pig-Input-path-does-not-exist-Error/m-p/105403#M38048</link>
      <description>&lt;P&gt;Well there's your answer, you did not upload the file or placed it in the wrong directory&lt;/P&gt;&lt;PRE&gt;hdfs dfs -mkdir /tmp/mahi_dev
hdfs dfs -mkdir /tmp/mahi_dev/Data
hdfs dfs -put count.txt /tmp/mahi_dev/Data/&lt;/PRE&gt;</description>
      <pubDate>Wed, 17 Aug 2016 05:24:16 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Pig-Input-path-does-not-exist-Error/m-p/105403#M38048</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2016-08-17T05:24:16Z</dc:date>
    </item>
    <item>
      <title>Re: Pig:Input path does not exist Error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Pig-Input-path-does-not-exist-Error/m-p/105404#M38049</link>
      <description>&lt;P&gt;&lt;A href="https://community.cloudera.com/legacyfs/online/attachments/6720-count.jpg"&gt;count.jpg&lt;/A&gt;&lt;/P&gt;&lt;P&gt;But I have file in my hdfs file system. PFA Ambari screenshot.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Aug 2016 05:27:16 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Pig-Input-path-does-not-exist-Error/m-p/105404#M38049</guid>
      <dc:creator>TechGuy</dc:creator>
      <dc:date>2016-08-17T05:27:16Z</dc:date>
    </item>
    <item>
      <title>Re: Pig:Input path does not exist Error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Pig-Input-path-does-not-exist-Error/m-p/105405#M38050</link>
      <description>&lt;P&gt;Path is /tmp/mahi_dev/data&lt;/P&gt;&lt;P&gt;Lower case data my friend and you ran with upper&lt;/P&gt;</description>
      <pubDate>Wed, 17 Aug 2016 06:02:01 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Pig-Input-path-does-not-exist-Error/m-p/105405#M38050</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2016-08-17T06:02:01Z</dc:date>
    </item>
    <item>
      <title>Re: Pig:Input path does not exist Error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Pig-Input-path-does-not-exist-Error/m-p/105406#M38051</link>
      <description>&lt;P&gt;Thanks @ Artem  Ervits. 1st error is resolved. I didnot realized about upper case.&lt;/P&gt;&lt;P&gt;But I am still facing 2nd issue. How to resolve it?&lt;/P&gt;&lt;P&gt;2016-08-17 03:40:46,656 [main] INFO  org.apache.hadoop.yarn.client.RMProxy - Connecting to ResourceManager at sandbox.hortonworks.com/10.0.2.15:8050
2016-08-17 03:40:46,664 [main] INFO  org.apache.hadoop.mapred.ClientServiceDelegate - Application state is completed. FinalApplicationStatus=SUCCEEDED. &lt;STRONG&gt;Redirecting to job history server
2016-08-17 03:40:47,671 [main] INFO  org.apache.hadoop.ipc.Client - Retrying connect to server: sandbox.hortonworks.com/10.0.2.15:10020. Already tried 0 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=50, sleepTime=1000 MILLISECONDS)
2016-08-17 03:40:48,672 [main] INFO  org.apache.hadoop.ipc.Client - Retrying connect to server: sandbox.hortonworks.com/10.0.2.15:10020. Already tried 1 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=50, sleepTime=1000 MILLISECONDS)&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Aug 2016 10:46:12 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Pig-Input-path-does-not-exist-Error/m-p/105406#M38051</guid>
      <dc:creator>TechGuy</dc:creator>
      <dc:date>2016-08-17T10:46:12Z</dc:date>
    </item>
    <item>
      <title>Re: Pig:Input path does not exist Error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Pig-Input-path-does-not-exist-Error/m-p/105407#M38052</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/2754/techguy9912.html" nodeid="2754"&gt;@Tech Guy&lt;/A&gt;&lt;P&gt;Looks like your job history server is down or not responding.&lt;/P&gt;&lt;P&gt;Can you please check the status in Ambari UI and bring it up if its down?&lt;/P&gt;</description>
      <pubDate>Wed, 17 Aug 2016 13:09:15 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Pig-Input-path-does-not-exist-Error/m-p/105407#M38052</guid>
      <dc:creator>KuldeepK</dc:creator>
      <dc:date>2016-08-17T13:09:15Z</dc:date>
    </item>
    <item>
      <title>Re: Pig:Input path does not exist Error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Pig-Input-path-does-not-exist-Error/m-p/105408#M38053</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/504/kkulkarni.html" nodeid="504"&gt;@Kuldeep Kulkarni&lt;/A&gt;&lt;P&gt; Thanks for your help. Its working now.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Aug 2016 21:31:32 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Pig-Input-path-does-not-exist-Error/m-p/105408#M38053</guid>
      <dc:creator>TechGuy</dc:creator>
      <dc:date>2016-08-17T21:31:32Z</dc:date>
    </item>
  </channel>
</rss>

