Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.1.0
-
None
Description
AMS on distributed creates this directory with user AMS at startup
In Ambari Metrics Server Stack the staging directory is hard coded params.py:hbase_staging_dir = "/apps/hbase/staging”
And created at startup of AMS-hbase,
if params.is_hbase_distributed:
params.HdfsDirectory(params.hbase_staging_dir,
action="create_delayed",
owner=params.hbase_user,
mode=0711
)
Which means there is a staging directory /apps/hbase/staging with owner ams (should be owner hbase )
This does not seem to matter before Kerberization but after kerberization Hbase Regionservers check the directory owner and fails at startup.