You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "robinlin (JIRA)" <ji...@apache.org> on 2015/08/14 13:47:46 UTC

[jira] [Updated] (AMBARI-12770) Enable Security Fail after the HDFS HA is enabled

     [ https://issues.apache.org/jira/browse/AMBARI-12770?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

robinlin updated AMBARI-12770:
------------------------------
    Description: 
Hi
I got some problems while I am doing the security enable. And My HDFS is HA enabled. Here is my step.
1) Enable security.
2) Download the CSV file.
3) Setup the Kerberos.
4) Place the keytabs to right path.
5) Press "Apply" button on the Ambari Web
6) The processes failed at the stage "Stop Service".

The error message was 
{noformat}
2015-08-14 18:22:32,390 - Execute['/usr/hdp/current/hbase-client/bin/hbase-daemon.sh --config /etc/hbase/conf stop regionserver'] {'on_timeout': 'ls /var/run/hbase/hbase-hbase-regionserver.pid >/dev/null 2>&1 && ps `cat /var/run/hbase/hbase-hbase-regionserver.pid` >/dev/null 2>&1 && kill -9 `cat /var/run/hbase/hbase-hbase-regionserver.pid`', 'timeout': 30, 'user': 'hbase'}
{noformat}

On the Region Server host, Region Server process is still there, but the pid file is removed. After I kill the process manually, I can pass the "Stop Service" retry, and finish the remaining steps successfully.

And this problem would not happen when the HDFS HA was not enabled.

  was:
Hi
I got some problems while I am doing the security enable. And My HDFS is HA enabled. Here is my step.
1) Enable security.
2) Download the CSV file.
3) Setup the Kerberos.
4) Place the keytabs to right path.
5) Press "Apply" button on the Ambari Web
6) The processes failed at the stage "Stop Service".

The error message was 
{noformat}
2015-08-14 18:22:32,390 - Execute['/usr/hdp/current/hbase-client/bin/hbase-daemon.sh --config /etc/hbase/conf stop regionserver'] {'on_timeout': 'ls /var/run/hbase/hbase-hbase-regionserver.pid >/dev/null 2>&1 && ps `cat /var/run/hbase/hbase-hbase-regionserver.pid` >/dev/null 2>&1 && kill -9 `cat /var/run/hbase/hbase-hbase-regionserver.pid`', 'timeout': 30, 'user': 'hbase'}
{noformat}

On the Region Server host, process is still there, but the pid file is removed. After I kill the process manually, I can pass the "Stop Service" retry, and finish the remaining process successfully.

And this problem would not happen when the HDFS HA was not enabled.


> Enable Security Fail after the HDFS HA is enabled
> -------------------------------------------------
>
>                 Key: AMBARI-12770
>                 URL: https://issues.apache.org/jira/browse/AMBARI-12770
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-web
>    Affects Versions: 1.7.0
>            Reporter: robinlin
>
> Hi
> I got some problems while I am doing the security enable. And My HDFS is HA enabled. Here is my step.
> 1) Enable security.
> 2) Download the CSV file.
> 3) Setup the Kerberos.
> 4) Place the keytabs to right path.
> 5) Press "Apply" button on the Ambari Web
> 6) The processes failed at the stage "Stop Service".
> The error message was 
> {noformat}
> 2015-08-14 18:22:32,390 - Execute['/usr/hdp/current/hbase-client/bin/hbase-daemon.sh --config /etc/hbase/conf stop regionserver'] {'on_timeout': 'ls /var/run/hbase/hbase-hbase-regionserver.pid >/dev/null 2>&1 && ps `cat /var/run/hbase/hbase-hbase-regionserver.pid` >/dev/null 2>&1 && kill -9 `cat /var/run/hbase/hbase-hbase-regionserver.pid`', 'timeout': 30, 'user': 'hbase'}
> {noformat}
> On the Region Server host, Region Server process is still there, but the pid file is removed. After I kill the process manually, I can pass the "Stop Service" retry, and finish the remaining steps successfully.
> And this problem would not happen when the HDFS HA was not enabled.



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