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

(Updated June 2, 2016, 10:33 a.m.)


Review request for Ambari and Vitalyi Brodetskyi.


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


Repository: ambari


Description
-------

Secured cluster with HDP 2.5. (also installed Ranger but I'm not sure that it
influences on this)  
I see a lot of exception in ambari server logs:

    
    
    
    25 May 2016 16:50:16,982  INFO [pool-7-thread-26] 
AbstractProviderModule:1184 - Defaulting JMX to HTTP protocol for  for 
clusterName = c1, componentName = HISTORYSERVERHISTORYSERVER
    25 May 2016 16:50:23,617  INFO [pool-7-thread-28] 
AbstractProviderModule:1182 - Exception while detecting JMX protocol for 
clusterName = c1, componentName = HISTORYSERVER
    java.lang.NullPointerException
            at 
org.apache.ambari.server.controller.internal.AbstractProviderModule.getJMXProtocolString(AbstractProviderModule.java:1205)
            at 
org.apache.ambari.server.controller.internal.AbstractProviderModule.getJMXProtocol(AbstractProviderModule.java:1175)
            at 
org.apache.ambari.server.controller.jmx.JMXPropertyProvider.getJMXProtocol(JMXPropertyProvider.java:378)
            at 
org.apache.ambari.server.controller.jmx.JMXPropertyProvider.populateResource(JMXPropertyProvider.java:194)
            at 
org.apache.ambari.server.controller.metrics.ThreadPoolEnabledPropertyProvider$1.call(ThreadPoolEnabledPropertyProvider.java:185)
            at 
org.apache.ambari.server.controller.metrics.ThreadPoolEnabledPropertyProvider$1.call(ThreadPoolEnabledPropertyProvider.java:183)
            at java.util.concurrent.FutureTask.run(FutureTask.java:266)
            at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
            at java.util.concurrent.FutureTask.run(FutureTask.java:266)
            at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
            at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
            at java.lang.Thread.run(Thread.java:745)
    

It appears every few seconds


Diffs (updated)
-----

  
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/AbstractProviderModule.java
 d747961 
  
ambari-server/src/main/resources/common-services/YARN/2.1.0.2.0/configuration-mapred/mapred-site.xml
 3e78c37 

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


Testing
-------

mvn clean test


Thanks,

Andrew Onischuk

Reply via email to