Ted Yu created AMBARI-22965:

             Summary: Boolean#getBoolean is used to parse value
                 Key: AMBARI-22965
                 URL: https://issues.apache.org/jira/browse/AMBARI-22965
             Project: Ambari
          Issue Type: Bug
            Reporter: Ted Yu

In StormTimelineMetricsReporter.java :
      if (cf.containsKey(SET_INSTANCE_ID_PROPERTY)) {
        setInstanceId = 
According to 
Returns true if and only if the system property named by the argument exists 
and is equal to the string "true"
This was not the intention of the quoted code.

FlumeTimelineMetricsSink.java may have the same issue.

This message was sent by Atlassian JIRA

Reply via email to