Member since
12-11-2015
7
Posts
0
Kudos Received
0
Solutions
12-12-2015
03:58 AM
I got it working with a fresh instance of HDP_2.3.2_virtualbox. I set root:hadoop as owner of /user/root and did the same for /user/guest and that did the trick. Thanks everyone.
... View more
12-11-2015
07:53 PM
definitely progress. Now it is looping: http://pastebin.com/bqgSDYdb I am not sure if this is still about permissions or not.
... View more
12-11-2015
07:37 PM
It looks to me like root:hadoop is already the owner: [root@sandbox lahman591-csv]# hdfs dfs -ls /user/ Found 11 items drwxrwx--- - ambari-qa hdfs 0 2015-10-27 12:39 /user/ambari-qa drwxrwxrwx - root hadoop 0 2015-12-11 00:53 /user/guest drwxr-xr-x - hcat hdfs 0 2015-10-27 12:43 /user/hcat drwx------ - hdfs hdfs 0 2015-10-27 13:22 /user/hdfs drwx------ - hive hdfs 0 2015-10-27 12:43 /user/hive drwxrwxrwx - hue hdfs 0 2015-10-27 12:55 /user/hue drwxrwxr-x - oozie hdfs 0 2015-10-27 12:44 /user/oozie drwxr-xr-x - solr hdfs 0 2015-10-27 12:48 /user/solr drwxrwxr-x - spark hdfs 0 2015-10-27 12:41 /user/spark drwxr-xr-x - unit hdfs 0 2015-10-27 12:46 /user/unit drwxr-xr-x - zeppelin zeppelin 0 2015-10-27 13:19 /user/zeppelin
... View more
12-11-2015
07:34 PM
/user/root doesn't exist so I tried the following: su hdfs hdfs dfs -chown -R root:sandbox /user/guest exit pig 1.pig and I got the same error. The next thing I tried is: hdfs dfs -chown -R root:hadoop /user/guest but that still does not work pastebin here: http://pastebin.com/8fe23qGL I have also tried giving ownership of /user/guest to root:root, root:hadoop, root:hdfs,
... View more
12-11-2015
06:57 AM
http://pastebin.com/XbENEHM9
... View more
12-11-2015
02:59 AM
[root@sandbox lahman591-csv]# hadoop fs -ls /user/guest Found 1 items -rwxrwxrwx 3 root guest 6398886 2015-12-11 00:53 /user/guest/Batting.csv
... View more
12-11-2015
01:37 AM
running "pig 1.pig" from the tutorial http://hortonworks.com/hadoop-tutorial/faster-pig-... yields the error Input(s):
Failed to read data from "/user/guest/Batting.csv" 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 Job DAG:
null->null,
null
... View more
Labels:
- Labels:
-
Apache Pig