You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by Andrew Onischuk <ao...@hortonworks.com> on 2014/06/13 13:38:19 UTC

Review Request 22566: HBase region server doesn't start on added host after enabling security

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/22566/
-----------------------------------------------------------

Review request for Ambari and Dmytro Sen.


Bugs: AMBARI-6115
    https://issues.apache.org/jira/browse/AMBARI-6115


Repository: ambari


Description
-------

Sample cluster:

    
    
    172.18.145.153	ambsmoke6-4-1402365340-3.cs1cloud.internal	ambsmoke6-4-1402365340-3
    172.18.145.197	ambsmoke6-4-1402365340-4.cs1cloud.internal	ambsmoke6-4-1402365340-4
    172.18.145.205	ambsmoke6-4-1402365340-7.cs1cloud.internal	ambsmoke6-4-1402365340-7
    

<http://172.18.145.153:8080/api/v1/clusters/cl1/requests/24/tasks/351> in
**apiRequests.txt** attachment  
STR:  
1\. Add host.  
2\. Hbase rg starts on added host.  
3\. Configure kerberos and enable security.  
4\. 'Hbase Region Server Start' operation fails on added host.

    
    
    
    Fail: Execution of 'hadoop fs -mkdir `rpm -q hadoop | grep -q "hadoop-1" || echo "-p"` hdfs://ambsmoke6-4-1402365340-3.cs1cloud.internal:8020/apps/hbase/data /apps/hbase/staging && hadoop fs -chmod  711 /apps/hbase/staging && hadoop fs -chown  hbase hdfs://ambsmoke6-4-1402365340-3.cs1cloud.internal:8020/apps/hbase/data /apps/hbase/staging' returned 1. 14/06/10 11:14:01 WARN ipc.Client: Exception encountered while connecting to the server : javax.security.sasl.SaslException: GSS initiate failed [Caused by GSSException: No valid credentials provided (Mechanism level: Failed to find any Kerberos tgt)]
    mkdir: Failed on local exception: java.io.IOException: javax.security.sasl.SaslException: GSS initiate failed [Caused by GSSException: No valid credentials provided (Mechanism level: Failed to find any Kerberos tgt)]; Host Details : local host is: "ambsmoke6-4-1402365340-7.cs1cloud.internal/172.18.145.205"; destination host is: "ambsmoke6-4-1402365340-3.cs1cloud.internal":8020; 
    14/06/10 11:14:01 WARN ipc.Client: Exception encountered while connecting to the server : javax.security.sasl.SaslException: GSS initiate failed [Caused by GSSException: No valid credentials provided (Mechanism level: Failed to find any Kerberos tgt)]
    


Diffs
-----

  ambari-server/src/main/resources/stacks/HDP/1.3.2/services/HBASE/package/scripts/hbase.py 5bec36e 
  ambari-server/src/main/resources/stacks/HDP/1.3.2/services/HBASE/package/scripts/hbase_decommission.py 0bec157 
  ambari-server/src/main/resources/stacks/HDP/1.3.2/services/HBASE/package/scripts/hbase_service.py 17f0056 
  ambari-server/src/main/resources/stacks/HDP/1.3.2/services/HBASE/package/scripts/params.py 8b8afbf 
  ambari-server/src/main/resources/stacks/HDP/1.3.2/services/HBASE/package/scripts/service_check.py 460c650 
  ambari-server/src/main/resources/stacks/HDP/1.3.2/services/HBASE/package/templates/hbase-env.sh.j2 5bd8375 
  ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HBASE/package/scripts/hbase.py 836265c 
  ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HBASE/package/scripts/hbase_decommission.py 0bec157 
  ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HBASE/package/scripts/hbase_service.py d0a6b50 
  ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HBASE/package/scripts/params.py 37d9278 
  ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HBASE/package/scripts/service_check.py c9adad3 
  ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HBASE/package/templates/hbase-env.sh.j2 50ebe98 
  ambari-server/src/test/python/stacks/1.3.2/HBASE/test_hbase_client.py 4e6da7d 
  ambari-server/src/test/python/stacks/1.3.2/HBASE/test_hbase_master.py 4eb7d50 
  ambari-server/src/test/python/stacks/1.3.2/HBASE/test_hbase_regionserver.py 1ee8abd 
  ambari-server/src/test/python/stacks/2.0.6/HBASE/test_hbase_client.py 50dda17 
  ambari-server/src/test/python/stacks/2.0.6/HBASE/test_hbase_master.py 2d77e99 
  ambari-server/src/test/python/stacks/2.0.6/HBASE/test_hbase_regionserver.py 920312a 

Diff: https://reviews.apache.org/r/22566/diff/


Testing
-------

mvn clean test


Thanks,

Andrew Onischuk


Re: Review Request 22566: HBase region server doesn't start on added host after enabling security

Posted by Dmytro Sen <ds...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/22566/#review45611
-----------------------------------------------------------

Ship it!


Ship It!

- Dmytro Sen


On June 13, 2014, 11:38 a.m., Andrew Onischuk wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/22566/
> -----------------------------------------------------------
> 
> (Updated June 13, 2014, 11:38 a.m.)
> 
> 
> Review request for Ambari and Dmytro Sen.
> 
> 
> Bugs: AMBARI-6115
>     https://issues.apache.org/jira/browse/AMBARI-6115
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> Sample cluster:
> 
>     
>     
>     172.18.145.153	ambsmoke6-4-1402365340-3.cs1cloud.internal	ambsmoke6-4-1402365340-3
>     172.18.145.197	ambsmoke6-4-1402365340-4.cs1cloud.internal	ambsmoke6-4-1402365340-4
>     172.18.145.205	ambsmoke6-4-1402365340-7.cs1cloud.internal	ambsmoke6-4-1402365340-7
>     
> 
> <http://172.18.145.153:8080/api/v1/clusters/cl1/requests/24/tasks/351> in
> **apiRequests.txt** attachment  
> STR:  
> 1\. Add host.  
> 2\. Hbase rg starts on added host.  
> 3\. Configure kerberos and enable security.  
> 4\. 'Hbase Region Server Start' operation fails on added host.
> 
>     
>     
>     
>     Fail: Execution of 'hadoop fs -mkdir `rpm -q hadoop | grep -q "hadoop-1" || echo "-p"` hdfs://ambsmoke6-4-1402365340-3.cs1cloud.internal:8020/apps/hbase/data /apps/hbase/staging && hadoop fs -chmod  711 /apps/hbase/staging && hadoop fs -chown  hbase hdfs://ambsmoke6-4-1402365340-3.cs1cloud.internal:8020/apps/hbase/data /apps/hbase/staging' returned 1. 14/06/10 11:14:01 WARN ipc.Client: Exception encountered while connecting to the server : javax.security.sasl.SaslException: GSS initiate failed [Caused by GSSException: No valid credentials provided (Mechanism level: Failed to find any Kerberos tgt)]
>     mkdir: Failed on local exception: java.io.IOException: javax.security.sasl.SaslException: GSS initiate failed [Caused by GSSException: No valid credentials provided (Mechanism level: Failed to find any Kerberos tgt)]; Host Details : local host is: "ambsmoke6-4-1402365340-7.cs1cloud.internal/172.18.145.205"; destination host is: "ambsmoke6-4-1402365340-3.cs1cloud.internal":8020; 
>     14/06/10 11:14:01 WARN ipc.Client: Exception encountered while connecting to the server : javax.security.sasl.SaslException: GSS initiate failed [Caused by GSSException: No valid credentials provided (Mechanism level: Failed to find any Kerberos tgt)]
>     
> 
> 
> Diffs
> -----
> 
>   ambari-server/src/main/resources/stacks/HDP/1.3.2/services/HBASE/package/scripts/hbase.py 5bec36e 
>   ambari-server/src/main/resources/stacks/HDP/1.3.2/services/HBASE/package/scripts/hbase_decommission.py 0bec157 
>   ambari-server/src/main/resources/stacks/HDP/1.3.2/services/HBASE/package/scripts/hbase_service.py 17f0056 
>   ambari-server/src/main/resources/stacks/HDP/1.3.2/services/HBASE/package/scripts/params.py 8b8afbf 
>   ambari-server/src/main/resources/stacks/HDP/1.3.2/services/HBASE/package/scripts/service_check.py 460c650 
>   ambari-server/src/main/resources/stacks/HDP/1.3.2/services/HBASE/package/templates/hbase-env.sh.j2 5bd8375 
>   ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HBASE/package/scripts/hbase.py 836265c 
>   ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HBASE/package/scripts/hbase_decommission.py 0bec157 
>   ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HBASE/package/scripts/hbase_service.py d0a6b50 
>   ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HBASE/package/scripts/params.py 37d9278 
>   ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HBASE/package/scripts/service_check.py c9adad3 
>   ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HBASE/package/templates/hbase-env.sh.j2 50ebe98 
>   ambari-server/src/test/python/stacks/1.3.2/HBASE/test_hbase_client.py 4e6da7d 
>   ambari-server/src/test/python/stacks/1.3.2/HBASE/test_hbase_master.py 4eb7d50 
>   ambari-server/src/test/python/stacks/1.3.2/HBASE/test_hbase_regionserver.py 1ee8abd 
>   ambari-server/src/test/python/stacks/2.0.6/HBASE/test_hbase_client.py 50dda17 
>   ambari-server/src/test/python/stacks/2.0.6/HBASE/test_hbase_master.py 2d77e99 
>   ambari-server/src/test/python/stacks/2.0.6/HBASE/test_hbase_regionserver.py 920312a 
> 
> Diff: https://reviews.apache.org/r/22566/diff/
> 
> 
> Testing
> -------
> 
> mvn clean test
> 
> 
> Thanks,
> 
> Andrew Onischuk
> 
>