Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
1.11.3
-
None
-
None
Description
I want to use metrics in a custom format, I wrote it like this
ProtobufRowDeserializationSchema implements DeserializationSchema<Row>{ private transient MetricGroup metrics; @Override public void open(InitializationContext context) throws Exception { metrics = context.getMetricGroup(); } }
But, received an `metrics` NPE. it stands to reason that the metrics have already been initialized.
jark, lzljs3620320 , Looking forward to your reply.