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.

Failure to create directory in Files View in HDP_2.6.5 ambari. User used : maria_dev . Please suggest solution and what might be the reason for this?

Highlighted

Failure to create directory in Files View in HDP_2.6.5 ambari. User used : maria_dev . Please suggest solution and what might be the reason for this?

New Contributor

97599-failedhdfscreate.png

3 REPLIES 3

Re: Failure to create directory in Files View in HDP_2.6.5 ambari. User used : maria_dev . Please suggest solution and what might be the reason for this?

Mentor

@Divya Thaore

As the root user switch to hdfs

su - hdfs 
hdfs dfs -chown -R maria_dev:maria_dev /test

Then retry it should work out

Re: Failure to create directory in Files View in HDP_2.6.5 ambari. User used : maria_dev . Please suggest solution and what might be the reason for this?

New Contributor

Thanks.. It works from SSH.. But I want to do it from ambari UI.

Re: Failure to create directory in Files View in HDP_2.6.5 ambari. User used : maria_dev . Please suggest solution and what might be the reason for this?

Mentor

@Divya Thaore

Do the following always as the hdfs user

$ hdfs dfs -mkdir /test

Then rerun the earlier commands