ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Onischuk" <aonis...@hortonworks.com>
Subject Review Request 22566: HBase region server doesn't start on added host after enabling security
Date Fri, 13 Jun 2014 11:38:19 GMT

-----------------------------------------------------------
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


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message