<?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: Failed to read data from &amp;quot;/user/guest/Batting.csv&amp;quot; in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Failed-to-read-data-from-quot-user-guest-Batting-csv-quot/m-p/98773#M12074</link>
    <description>&lt;P&gt;&lt;A href="https://community.hortonworks.com/users/1282/birdmw.html"&gt;@Matthew bird&lt;/A&gt; You need a home directory for the user in HDFS so here is what is needed - &lt;/P&gt;&lt;PRE&gt;#Login as root to the sandbox
su - hdfs 
hdfs dfs -mkdir /user/root
hdfs dfs -chown root:hadoop /user/root
hdfs dfs -chmod 755 /user/root&lt;/PRE&gt;&lt;P&gt;Try to run the pig script after you've done the above steps.&lt;/P&gt;</description>
    <pubDate>Sat, 12 Dec 2015 03:42:08 GMT</pubDate>
    <dc:creator>bsaini</dc:creator>
    <dc:date>2015-12-12T03:42:08Z</dc:date>
    <item>
      <title>Failed to read data from "/user/guest/Batting.csv"</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Failed-to-read-data-from-quot-user-guest-Batting-csv-quot/m-p/98764#M12065</link>
      <description>&lt;P&gt;running "pig 1.pig" from the tutorial &lt;A href="http://hortonworks.com/hadoop-tutorial/faster-pig-tez/"&gt;http://hortonworks.com/hadoop-tutorial/faster-pig-...&lt;/A&gt; yields the error&lt;/P&gt;&lt;P&gt;Input(s):
Failed to read data from "/user/guest/Batting.csv" &lt;/P&gt;&lt;P&gt;Output(s):
Counters:
Total records written : 0
Total bytes written : 0
Spillable Memory Manager spill count : 0
Total bags proactively spilled: 0
Total records proactively spilled: 0 &lt;/P&gt;&lt;P&gt;Job DAG:
null-&amp;gt;null,
null&lt;/P&gt;</description>
      <pubDate>Fri, 11 Dec 2015 09:37:09 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Failed-to-read-data-from-quot-user-guest-Batting-csv-quot/m-p/98764#M12065</guid>
      <dc:creator>birdmw</dc:creator>
      <dc:date>2015-12-11T09:37:09Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to read data from "/user/guest/Batting.csv"</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Failed-to-read-data-from-quot-user-guest-Batting-csv-quot/m-p/98765#M12066</link>
      <description>&lt;P&gt;Did the file Batting.csv get copied over to HDFS? Can you do a hadoop fs -ls /user/quest? Potentially could be a file not existing issue or permission issue.&lt;/P&gt;</description>
      <pubDate>Fri, 11 Dec 2015 10:03:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Failed-to-read-data-from-quot-user-guest-Batting-csv-quot/m-p/98765#M12066</guid>
      <dc:creator>deepesh1</dc:creator>
      <dc:date>2015-12-11T10:03:20Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to read data from "/user/guest/Batting.csv"</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Failed-to-read-data-from-quot-user-guest-Batting-csv-quot/m-p/98766#M12067</link>
      <description>&lt;P&gt;[root@sandbox lahman591-csv]# hadoop fs -ls /user/guest &lt;/P&gt;&lt;P&gt;Found 1 items &lt;/P&gt;&lt;P&gt;-rwxrwxrwx   3 root guest    6398886 2015-12-11 00:53 /user/guest/Batting.csv&lt;/P&gt;</description>
      <pubDate>Fri, 11 Dec 2015 10:59:49 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Failed-to-read-data-from-quot-user-guest-Batting-csv-quot/m-p/98766#M12067</guid>
      <dc:creator>birdmw</dc:creator>
      <dc:date>2015-12-11T10:59:49Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to read data from "/user/guest/Batting.csv"</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Failed-to-read-data-from-quot-user-guest-Batting-csv-quot/m-p/98767#M12068</link>
      <description>&lt;P&gt;Can you print the whole console output? The error here doesn't tell much.&lt;/P&gt;</description>
      <pubDate>Fri, 11 Dec 2015 12:04:35 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Failed-to-read-data-from-quot-user-guest-Batting-csv-quot/m-p/98767#M12068</guid>
      <dc:creator>deepesh1</dc:creator>
      <dc:date>2015-12-11T12:04:35Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to read data from "/user/guest/Batting.csv"</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Failed-to-read-data-from-quot-user-guest-Batting-csv-quot/m-p/98768#M12069</link>
      <description>&lt;P&gt;&lt;A href="http://pastebin.com/XbENEHM9" target="_blank"&gt;http://pastebin.com/XbENEHM9&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Dec 2015 14:57:32 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Failed-to-read-data-from-quot-user-guest-Batting-csv-quot/m-p/98768#M12069</guid>
      <dc:creator>birdmw</dc:creator>
      <dc:date>2015-12-11T14:57:32Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to read data from "/user/guest/Batting.csv"</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Failed-to-read-data-from-quot-user-guest-Batting-csv-quot/m-p/98769#M12070</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/1282/birdmw.html" nodeid="1282"&gt;@Matthew bird&lt;/A&gt;&lt;P&gt;It permission issue. User root does not have permission to write into /user/root&lt;/P&gt;&lt;P&gt;try this &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;hdfs dfs -chown -R root:hadoop /user/root&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;org.apache.hadoop.security.AccessControlException: Permission denied: user=root, access=WRITE, inode="/user/root/.staging":hdfs:hdfs:drwxr-xr-x&lt;/P&gt;</description>
      <pubDate>Fri, 11 Dec 2015 19:10:35 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Failed-to-read-data-from-quot-user-guest-Batting-csv-quot/m-p/98769#M12070</guid>
      <dc:creator>nsabharwal</dc:creator>
      <dc:date>2015-12-11T19:10:35Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to read data from "/user/guest/Batting.csv"</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Failed-to-read-data-from-quot-user-guest-Batting-csv-quot/m-p/98770#M12071</link>
      <description>&lt;P&gt;There are few solutions - &lt;/P&gt;&lt;P&gt;1. The easy solution - grant permission on files to root user. In this case, looks like the file has wide open permission but because the file is under another user's home directory, may be root user does not have access to the guest home directory. So, check the permission for /user/guest and adjust if needed.&lt;/P&gt;&lt;P&gt;2. Use the correct user for the job - I like to create a service Id for data processing and not use local super users like (root) or hdfs super users like (hdfs). So you can use users like guest and inbuilt test user ambari-qa. The user is identify based on their local OS identity so you can switch user to guest before running the process. &lt;/P&gt;</description>
      <pubDate>Fri, 11 Dec 2015 22:34:47 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Failed-to-read-data-from-quot-user-guest-Batting-csv-quot/m-p/98770#M12071</guid>
      <dc:creator>bsaini</dc:creator>
      <dc:date>2015-12-11T22:34:47Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to read data from "/user/guest/Batting.csv"</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Failed-to-read-data-from-quot-user-guest-Batting-csv-quot/m-p/98771#M12072</link>
      <description>&lt;P&gt;/user/root doesn't exist so I tried the following:&lt;/P&gt;&lt;P&gt;su hdfs&lt;/P&gt;&lt;P&gt;hdfs dfs -chown -R root:sandbox /user/guest&lt;/P&gt;&lt;P&gt;exit&lt;/P&gt;&lt;P&gt;pig 1.pig&lt;/P&gt;&lt;P&gt;and I got the same error. The next thing I tried is:&lt;/P&gt;&lt;P&gt;hdfs dfs -chown -R root:hadoop /user/guest&lt;/P&gt;&lt;P&gt;but that still does not work&lt;/P&gt;&lt;P&gt;pastebin here: &lt;A href="http://pastebin.com/8fe23qGL" target="_blank"&gt;http://pastebin.com/8fe23qGL&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I have also tried giving ownership of /user/guest to root:root, root:hadoop, root:hdfs,&lt;/P&gt;</description>
      <pubDate>Sat, 12 Dec 2015 03:34:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Failed-to-read-data-from-quot-user-guest-Batting-csv-quot/m-p/98771#M12072</guid>
      <dc:creator>birdmw</dc:creator>
      <dc:date>2015-12-12T03:34:17Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to read data from "/user/guest/Batting.csv"</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Failed-to-read-data-from-quot-user-guest-Batting-csv-quot/m-p/98772#M12073</link>
      <description>&lt;P&gt;It looks to me like root:hadoop is already the owner:&lt;/P&gt;&lt;P&gt;[root@sandbox lahman591-csv]# hdfs dfs -ls /user/ &lt;/P&gt;&lt;P&gt;Found 11 items &lt;/P&gt;&lt;P&gt;drwxrwx---   - ambari-qa hdfs              0 2015-10-27 12:39 /user/ambari-qa &lt;/P&gt;&lt;P&gt;drwxrwxrwx   - root      hadoop            0 2015-12-11 00:53 /user/guest &lt;/P&gt;&lt;P&gt;drwxr-xr-x   - hcat      hdfs              0 2015-10-27 12:43 /user/hcat &lt;/P&gt;&lt;P&gt;drwx------   - hdfs      hdfs              0 2015-10-27 13:22 /user/hdfs &lt;/P&gt;&lt;P&gt;drwx------   - hive      hdfs              0 2015-10-27 12:43 /user/hive &lt;/P&gt;&lt;P&gt;drwxrwxrwx   - hue       hdfs              0 2015-10-27 12:55 /user/hue &lt;/P&gt;&lt;P&gt;drwxrwxr-x   - oozie     hdfs              0 2015-10-27 12:44 /user/oozie &lt;/P&gt;&lt;P&gt;drwxr-xr-x   - solr      hdfs              0 2015-10-27 12:48 /user/solr &lt;/P&gt;&lt;P&gt;drwxrwxr-x   - spark     hdfs              0 2015-10-27 12:41 /user/spark &lt;/P&gt;&lt;P&gt;drwxr-xr-x   - unit      hdfs              0 2015-10-27 12:46 /user/unit &lt;/P&gt;&lt;P&gt;drwxr-xr-x   - zeppelin  zeppelin          0 2015-10-27 13:19 /user/zeppelin &lt;/P&gt;</description>
      <pubDate>Sat, 12 Dec 2015 03:37:00 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Failed-to-read-data-from-quot-user-guest-Batting-csv-quot/m-p/98772#M12073</guid>
      <dc:creator>birdmw</dc:creator>
      <dc:date>2015-12-12T03:37:00Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to read data from "/user/guest/Batting.csv"</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Failed-to-read-data-from-quot-user-guest-Batting-csv-quot/m-p/98773#M12074</link>
      <description>&lt;P&gt;&lt;A href="https://community.hortonworks.com/users/1282/birdmw.html"&gt;@Matthew bird&lt;/A&gt; You need a home directory for the user in HDFS so here is what is needed - &lt;/P&gt;&lt;PRE&gt;#Login as root to the sandbox
su - hdfs 
hdfs dfs -mkdir /user/root
hdfs dfs -chown root:hadoop /user/root
hdfs dfs -chmod 755 /user/root&lt;/PRE&gt;&lt;P&gt;Try to run the pig script after you've done the above steps.&lt;/P&gt;</description>
      <pubDate>Sat, 12 Dec 2015 03:42:08 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Failed-to-read-data-from-quot-user-guest-Batting-csv-quot/m-p/98773#M12074</guid>
      <dc:creator>bsaini</dc:creator>
      <dc:date>2015-12-12T03:42:08Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to read data from "/user/guest/Batting.csv"</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Failed-to-read-data-from-quot-user-guest-Batting-csv-quot/m-p/98774#M12075</link>
      <description>&lt;P&gt;definitely progress. Now it is looping: &lt;A href="http://pastebin.com/bqgSDYdb" target="_blank"&gt;http://pastebin.com/bqgSDYdb&lt;/A&gt; I am not sure if this is still about permissions or not.&lt;/P&gt;</description>
      <pubDate>Sat, 12 Dec 2015 03:53:51 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Failed-to-read-data-from-quot-user-guest-Batting-csv-quot/m-p/98774#M12075</guid>
      <dc:creator>birdmw</dc:creator>
      <dc:date>2015-12-12T03:53:51Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to read data from "/user/guest/Batting.csv"</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Failed-to-read-data-from-quot-user-guest-Batting-csv-quot/m-p/98775#M12076</link>
      <description>&lt;P&gt;Check if the services are up, looks like your Job History Server may be down.&lt;/P&gt;</description>
      <pubDate>Sat, 12 Dec 2015 05:17:25 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Failed-to-read-data-from-quot-user-guest-Batting-csv-quot/m-p/98775#M12076</guid>
      <dc:creator>deepesh1</dc:creator>
      <dc:date>2015-12-12T05:17:25Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to read data from "/user/guest/Batting.csv"</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Failed-to-read-data-from-quot-user-guest-Batting-csv-quot/m-p/98776#M12077</link>
      <description>&lt;P&gt;I see 'Connection Refused' which means either a service is down or connection to wrong port. Like Deepesh said, appears to be former and that History server is down.  &lt;/P&gt;</description>
      <pubDate>Sat, 12 Dec 2015 07:21:39 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Failed-to-read-data-from-quot-user-guest-Batting-csv-quot/m-p/98776#M12077</guid>
      <dc:creator>bsaini</dc:creator>
      <dc:date>2015-12-12T07:21:39Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to read data from "/user/guest/Batting.csv"</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Failed-to-read-data-from-quot-user-guest-Batting-csv-quot/m-p/98777#M12078</link>
      <description>&lt;P&gt;I got it working with a fresh instance of HDP_2.3.2_virtualbox.&lt;/P&gt;&lt;P&gt;I set root:hadoop as owner of /user/root and did the same for /user/guest and that did the trick. Thanks everyone.&lt;/P&gt;</description>
      <pubDate>Sat, 12 Dec 2015 11:58:53 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Failed-to-read-data-from-quot-user-guest-Batting-csv-quot/m-p/98777#M12078</guid>
      <dc:creator>birdmw</dc:creator>
      <dc:date>2015-12-12T11:58:53Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to read data from "/user/guest/Batting.csv"</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Failed-to-read-data-from-quot-user-guest-Batting-csv-quot/m-p/98778#M12079</link>
      <description>&lt;P&gt;I am still facing this issue. Matthew Bird - can you help me? How did you get fresh instance? &lt;/P&gt;</description>
      <pubDate>Fri, 17 Nov 2017 02:46:01 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Failed-to-read-data-from-quot-user-guest-Batting-csv-quot/m-p/98778#M12079</guid>
      <dc:creator>me_ranjeet</dc:creator>
      <dc:date>2017-11-17T02:46:01Z</dc:date>
    </item>
  </channel>
</rss>

