Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
2.0.0, 2.1.0, 2.2.0
-
None
-
None
Description
When storm registers receive-queue for executors,
https://github.com/apache/storm/blob/v2.2.0/storm-client/src/jvm/org/apache/storm/daemon/worker/WorkerState.java#L689
it set componentId as "__system" for any task. This is wrong for V2 metrics.
V1 metrics are fine since the component Id used for V1 metric is not from the same place.
https://github.com/apache/storm/blob/master/storm-client/src/jvm/org/apache/storm/executor/Executor.java#L342-L343
It is from the member variable of the executor object.