ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Siddharth Wagle (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-11501) AMS HBase does not start after Kerberization in distributed mode
Date Thu, 28 May 2015 22:30:18 GMT

    [ https://issues.apache.org/jira/browse/AMBARI-11501?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14563806#comment-14563806
] 

Siddharth Wagle commented on AMBARI-11501:
------------------------------------------

Verified.

{code}
[hdfs@ams-test-1 ~]$ hadoop dfs -ls /amshbase
DEPRECATED: Use of this script to execute hdfs command is deprecated.
Instead use the hdfs command for it.

Found 7 items
drwxr-xr-x   - ams hdfs          0 2015-05-28 22:25 /amshbase/.tmp
drwxr-xr-x   - ams hdfs          0 2015-05-28 22:25 /amshbase/WALs
drwxr-xr-x   - ams hdfs          0 2015-05-28 22:25 /amshbase/data
-rw-r--r--   3 ams hdfs         42 2015-05-28 22:25 /amshbase/hbase.id
-rw-r--r--   3 ams hdfs          7 2015-05-28 22:25 /amshbase/hbase.version
drwxr-xr-x   - ams hdfs          0 2015-05-28 22:25 /amshbase/oldWALs
drwx--x--x   - ams hdfs          0 2015-05-28 22:24 /amshbase/staging
{code}

> AMS HBase does not start after Kerberization in distributed mode
> ----------------------------------------------------------------
>
>                 Key: AMBARI-11501
>                 URL: https://issues.apache.org/jira/browse/AMBARI-11501
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: 2.1.0
>            Reporter: Siddharth Wagle
>            Assignee: Siddharth Wagle
>             Fix For: 2.1.0
>
>         Attachments: AMBARI-11501.patch
>
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message