kylin-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "hongbin ma (JIRA)" <j...@apache.org>
Subject [jira] [Created] (KYLIN-2154) source table rows will be skipped if TOPN's group column contains NULL values
Date Wed, 02 Nov 2016 14:26:58 GMT
hongbin ma created KYLIN-2154:
---------------------------------

             Summary: source table rows will be skipped if TOPN's group column contains NULL
values
                 Key: KYLIN-2154
                 URL: https://issues.apache.org/jira/browse/KYLIN-2154
             Project: Kylin
          Issue Type: Bug
            Reporter: hongbin ma
            Assignee: hongbin ma


topn: group by country and order by sum(price)

if the country column contains NULL values:

2016-11-02 20:23:22,478 ERROR [main] org.apache.kylin.engine.mr.steps.BaseCuboidMapperBase:
Insane record: [20111209, \N, 1000122, 101, 9
java.lang.NullPointerException
	at org.apache.kylin.common.util.Bytes.toBytes(Bytes.java:351)
	at org.apache.kylin.measure.topn.TopNMeasureType$1.valueOf(TopNMeasureType.java:145)
	at org.apache.kylin.measure.topn.TopNMeasureType$1.valueOf(TopNMeasureType.java:116)
	at org.apache.kylin.engine.mr.steps.BaseCuboidMapperBase.buildValueOf(BaseCuboidMapperBase.java:186)
	at org.apache.kylin.engine.mr.steps.BaseCuboidMapperBase.buildValue(BaseCuboidMapperBase.java:157)
	at org.apache.kylin.engine.mr.steps.BaseCuboidMapperBase.outputKV(BaseCuboidMapperBase.java:203)
	at org.apache.kylin.engine.mr.steps.HiveToBaseCuboidMapper.map(HiveToBaseCuboidMapper.java:52)
	at org.apache.hadoop.mapreduce.Mapper.run(Mapper.java:145)
	at org.apache.hadoop.mapred.MapTask.runNewMapper(MapTask.java:784)
	at org.apache.hadoop.mapred.MapTask.run(MapTask.java:341)
	at org.apache.hadoop.mapred.YarnChild$2.run(YarnChild.java:163)
	at java.security.AccessController.doPrivileged(Native Method)
	at javax.security.auth.Subject.doAs(Subject.java:415)
	at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1628)
	at org.apache.hadoop.mapred.YarnChild.main(YarnChild.java:158)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message