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 27740: ambari cluster HS2 health check causing errors in logs
Date Fri, 07 Nov 2014 19:56:25 GMT

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

Review request for Ambari and Mahadev Konar.


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


Repository: ambari


Description
-------

The following stack trace is seen every 30 seconds in hiveServer2.log . I
noticed this in a ambari installed secure cluster. It seems to be coming as a
result of some ambari health check command. It is either not using kerberos to
authenticate, or not using proper thrift protocol .

    
    
    2014-11-04 06:37:01,333 ERROR server.TThreadPoolServer (TThreadPoolServer.java:run(215))
- Error occurred during processing of message.
    java.lang.RuntimeException: org.apache.thrift.transport.TTransportException
            at org.apache.thrift.transport.TSaslServerTransport$Factory.getTransport(TSaslServerTransport.java:219)
            at org.apache.hadoop.hive.thrift.HadoopThriftAuthBridge20S$Server$TUGIAssumingTransportFactory$1.run(HadoopThriftAuthBridge20S.java:725)
            at org.apache.hadoop.hive.thrift.HadoopThriftAuthBridge20S$Server$TUGIAssumingTransportFactory$1.run(HadoopThriftAuthBridge20S.java:722)
            at java.security.AccessController.doPrivileged(Native Method)
            at javax.security.auth.Subject.doAs(Subject.java:356)
            at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1608)
            at org.apache.hadoop.hive.thrift.HadoopThriftAuthBridge20S$Server$TUGIAssumingTransportFactory.getTransport(HadoopThriftAuthBridge20S.java:722)
            at org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:189)
            at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
            at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
            at java.lang.Thread.run(Thread.java:745)
    Caused by: org.apache.thrift.transport.TTransportException
            at org.apache.thrift.transport.TIOStreamTransport.read(TIOStreamTransport.java:132)
            at org.apache.thrift.transport.TTransport.readAll(TTransport.java:84)
            at org.apache.thrift.transport.TSaslTransport.receiveSaslMessage(TSaslTransport.java:178)
            at org.apache.thrift.transport.TSaslServerTransport.handleSaslStartMessage(TSaslServerTransport.java:125)
            at org.apache.thrift.transport.TSaslTransport.open(TSaslTransport.java:253)
            at org.apache.thrift.transport.TSaslServerTransport.open(TSaslServerTransport.java:41)
            at org.apache.thrift.transport.TSaslServerTransport$Factory.getTransport(TSaslServerTransport.java:216)
            ... 10 more
    
    


Diffs
-----

  ambari-common/src/main/python/resource_management/libraries/functions/hive_check.py 282fed2

  ambari-server/src/main/resources/stacks/HDP/1.3.2/services/HIVE/package/scripts/hive_service.py
d3bd71b 
  ambari-server/src/main/resources/stacks/HDP/1.3.2/services/HIVE/package/scripts/params.py
f27c28c 
  ambari-server/src/main/resources/stacks/HDP/1.3.2/services/HIVE/package/scripts/service_check.py
b75578b 
  ambari-server/src/main/resources/stacks/HDP/1.3.2/services/NAGIOS/package/files/check_hive_thrift_port.py
c9414f7 
  ambari-server/src/main/resources/stacks/HDP/1.3.2/services/NAGIOS/package/scripts/params.py
2384e3a 
  ambari-server/src/main/resources/stacks/HDP/1.3.2/services/NAGIOS/package/templates/hadoop-commands.cfg.j2
ff13c0d 
  ambari-server/src/main/resources/stacks/HDP/1.3.2/services/NAGIOS/package/templates/hadoop-services.cfg.j2
48bba18 
  ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HIVE/package/scripts/hive_service.py
294121d 
  ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HIVE/package/scripts/params.py
c1279d8 
  ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HIVE/package/scripts/service_check.py
b75578b 
  ambari-server/src/main/resources/stacks/HDP/2.0.6/services/NAGIOS/package/files/check_hive_thrift_port.py
c9414f7 
  ambari-server/src/main/resources/stacks/HDP/2.0.6/services/NAGIOS/package/scripts/params.py
ba91cfb 
  ambari-server/src/main/resources/stacks/HDP/2.0.6/services/NAGIOS/package/templates/hadoop-commands.cfg.j2
c1a792c 
  ambari-server/src/main/resources/stacks/HDP/2.0.6/services/NAGIOS/package/templates/hadoop-services.cfg.j2
0d8b2e8 
  ambari-server/src/test/python/stacks/1.3.2/HIVE/test_hive_server.py 4dceec1 
  ambari-server/src/test/python/stacks/1.3.2/HIVE/test_hive_service_check.py ad75ce1 
  ambari-server/src/test/python/stacks/1.3.2/configs/default.json a39d51d 
  ambari-server/src/test/python/stacks/1.3.2/configs/secured.json 3e84df6 
  ambari-server/src/test/python/stacks/2.0.6/HIVE/test_hive_server.py 581b4d3 
  ambari-server/src/test/python/stacks/2.0.6/HIVE/test_hive_service_check.py 6ba4d48 
  ambari-server/src/test/python/stacks/2.0.6/configs/default.json 6b68e0b 
  ambari-server/src/test/python/stacks/2.0.6/configs/secured.json 83b9b9e 

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


Testing
-------

mvn clean test


Thanks,

Andrew Onischuk


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