Created 01-20-2016 03:40 AM
I am following a tutorial of Pig Basics and want upload the data files , but unable locate the admin folder under user in HDFS view
Created 01-20-2016 03:41 AM
I think you have to create those folders. Do the following from command line as root user.
su - hdfs hdfs dfs -mkdir /user/admin hdfs dfs -chmod 755 /user/admin hdfs dfs -chown admin:hadoop /user/admin
Created 01-20-2016 03:41 AM
I think you have to create those folders. Do the following from command line as root user.
su - hdfs hdfs dfs -mkdir /user/admin hdfs dfs -chmod 755 /user/admin hdfs dfs -chown admin:hadoop /user/admin
Created 01-20-2016 03:54 AM
Created 01-20-2016 04:11 AM
Check your second command, you omitted "dfs".
Created 01-20-2016 03:48 AM
You have to create the directory. You can use FS view to do that.
Create a local user in ambari called hdfs and use hdfs to login to ambari then using FS view you can create /user/admin and change ownership
or Follow as @bsaini suggested
Created 01-20-2016 04:09 AM
You missed dfs in your Chmod command
Created 01-20-2016 04:35 AM
@niraj nagle Look into the option to create hdfs user in ambari as it will make your life easier.