I am trying this hive case study
While uploading .csv file in Files View in Ambari I am getting error : Failed to upload driver.csv to /user/hive Permission denied.
Please check the attached screen-shot for the detailed error. Is it related to permissions ? What is the solution for this ?
Workaround for now is changing the permission of user. I have created new user with permission similar to admin. Please check
the below commands:
[hdfs@d-7826 ~]$ hadoop fs -mkdir /user/shital
[hdfs@d-7826 ~]$ hadoop fs -chown shital:hadoop /user/shital
[hdfs@d-7826 ~]$ hadoop fs -chown admin:hadoop /user/shital
Check the attachment for further details.
Now I am able to upload files.
Please suggest if you have any better resolution for the same.