Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Error uploading .csv file in Files View in Ambari.

Highlighted

Error uploading .csv file in Files View in Ambari.

New Contributor

8234-screenshot-from-2016-10-04-09-38-29.png

Hi All,

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 ?

1 REPLY 1
Highlighted

Re: Error uploading .csv file in Files View in Ambari.

New Contributor

Hi All,

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.

8250-screenshot-from-2016-10-05-12-10-53.png

8281-screenshot-from-2016-10-05-12-00-26.png

Don't have an account?
Coming from Hortonworks? Activate your account here