akiyamaneko opened a new pull request #3262:
URL: https://github.com/apache/ambari/pull/3262


   ## What changes were proposed in this pull request?
   
   Metrics cannot be stored and the exception message is null when metric value 
is `NaN`.
   When calculating the sum of metric value, we  need to exclude` NaN`,  as 
`NaN + valid double = NaN`, which will cause Phoenix threw  an exception when  
writting to  HBase.
   
   ## How was this patch tested?
   manual tests
   Just fix a little potential bug  without affecting normal metrics 
calculating.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to