ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [ambari] akiyamaneko opened a new pull request #3262: [AMBARI-25587] Metrics cannot be stored and the exception message is null when metric value is NaN
Date Mon, 16 Nov 2020 10:36:20 GMT

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:
users@infra.apache.org



Mime
View raw message