ambari-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adaryl Wakefield <adaryl.wakefi...@hotmail.com>
Subject RE: proper Ambari permissions
Date Wed, 12 Jul 2017 04:57:18 GMT
Actually they aren’t even all files. I can’t blow away directories either. The files that
I do have are the sample salaries data you can get from doing the file management tutorial
from Hortonworks.
wget https://raw.githubusercontent.com/hortonworks/data-tutorials/893ba0221e2c76c91e9e2baa030323a42abcdf09/tutorials/hdp/hdp-2.5/manage-files-on-hdfs-via-cli-ambari-files-view/assets/sf-salary-datasets/sf-salaries-2011-2013.csv

Below is the error I get when I try to delete stuff from the GUI:

permission denied: user=admin, access=WRITE, inode="/user/hadoop/sf-salaries":root:hdfs:drwxr-xr-x

Permission denied: user=admin, access=WRITE, inode="/user/hadoop/sf-salaries-2011-2013/sf-salaries-2011-2013.csv":root:hdfs:drwxr-xr-x


Adaryl "Bob" Wakefield, MBA
Principal
Mass Street Analytics, LLC
913.938.6685
www.massstreet.net<http://www.massstreet.net/>
www.linkedin.com/in/bobwakefieldmba<http://www.linkedin.com/in/bobwakefieldmba>
Twitter: @BobLovesData<http://twitter.com/BobLovesData>


From: Sumit Mohanty [mailto:smohanty@hortonworks.com]
Sent: Tuesday, July 11, 2017 11:04 PM
To: user@ambari.apache.org
Subject: Re: proper Ambari permissions


​Can you provide example of some of the files?



In general Ambari runs as root unless configured with a custom user.  Some of the files it
manages may be created as the service user (say HDFS data directories are owned by HDFS service
user).



-Sumit

________________________________
From: Adaryl Wakefield <adaryl.wakefield@hotmail.com<mailto:adaryl.wakefield@hotmail.com>>
Sent: Tuesday, July 11, 2017 8:30 PM
To: user@ambari.apache.org<mailto:user@ambari.apache.org>
Subject: proper Ambari permissions

When I’m working in Ambari, sometimes I can’t manage files because whatever user I’m
working under doesn’t have permission.

  1.  What account does Ambari use when it is interacting with the various other programs?
  2.  How do I need to set my permissions so that when I’m in Ambari as admin, I’m able
to create and blow away things at will?

Adaryl "Bob" Wakefield, MBA
Principal
Mass Street Analytics, LLC
913.938.6685
www.massstreet.net<http://www.massstreet.net/>
www.linkedin.com/in/bobwakefieldmba<http://www.linkedin.com/in/bobwakefieldmba>
Twitter: @BobLovesData<http://twitter.com/BobLovesData>

Mime
View raw message