You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "hryz (via GitHub)" <gi...@apache.org> on 2024/12/04 21:46:03 UTC

Re: [I] [SUPPORT] Hudi CloudWatchReporter error after 0.15.0 upgrade [hudi]

hryz commented on issue #12182:
URL: https://github.com/apache/hudi/issues/12182#issuecomment-2518625481

   I have the same issue and can add more details.  
   The issue happens [here](https://github.com/apache/hudi/blob/392852cb92bf64dfd205d725371d78aae0bffeab/hudi-aws/src/main/java/org/apache/hudi/aws/cloudwatch/CloudWatchReporter.java#L282).  
   `stageMetricDatum` expects metrics names to contain a dot. A metric `table_service_execution_status` doesn't have a dot in its name. It causes ArrayIndexOutOfBoundsException because there is no 2nd element in the array.  
   I guess, the value of this metric is of type Number and it passes the condition [here](https://github.com/apache/hudi/blob/392852cb92bf64dfd205d725371d78aae0bffeab/hudi-aws/src/main/java/org/apache/hudi/aws/cloudwatch/CloudWatchReporter.java#L248).


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org