kylin-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <>
Subject [jira] [Commented] (KYLIN-3963) Provide a custom serializer for PercentileCounter
Date Sat, 20 Apr 2019 02:48:00 GMT


ASF GitHub Bot commented on KYLIN-3963:

yanghua commented on pull request #613: KYLIN-3963 Provide a custom serializer for PercentileCounter
   JIRA ref :
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:

> Provide a custom serializer for PercentileCounter
> -------------------------------------------------
>                 Key: KYLIN-3963
>                 URL:
>             Project: Kylin
>          Issue Type: Sub-task
>          Components: Flink Engine
>            Reporter: vinoyang
>            Assignee: vinoyang
>            Priority: Major
> {{PercentileCounter}} contains an instance field of Type {{TDigest}} which is not serializable,
so it is marked as {{transient}}. By default, it triggers a NPE when use Flink cube engine:
> {code:java}
> Caused by: org.apache.flink.client.program.ProgramInvocationException: Job failed. (JobID:
8077ff0e0ff01a26f62b1babe90a34b7) at
at at
at org.apache.flink.client.program.ContextEnvironment.execute(
at org.apache.kylin.engine.flink.FlinkCubingByLayer.execute( at
org.apache.kylin.common.util.AbstractApplication.execute( ...
18 more Caused by: org.apache.flink.runtime.client.JobExecutionException: Job execution failed.
at org.apache.flink.runtime.jobmaster.JobResult.toJobExecutionResult( at
... 23 more Caused by: java.lang.NullPointerException at org.apache.kylin.measure.percentile.PercentileCounter.writeRegisters(
at org.apache.kylin.measure.percentile.PercentileSerializer.serialize(
at org.apache.kylin.measure.percentile.PercentileSerializer.serialize(
at org.apache.kylin.measure.MeasureCodec.encode( at org.apache.kylin.measure.BufferedMeasureCodec.encode(
at org.apache.kylin.engine.flink.FlinkCubingByLayer$ at
org.apache.kylin.engine.flink.FlinkCubingByLayer$ at
at at org.apache.flink.runtime.operators.BatchTask.invoke(
at at
> {code}
> So we should provide a customized serializer for {{PercentileCounter}}.

This message was sent by Atlassian JIRA

View raw message