You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by GitBox <gi...@apache.org> on 2019/10/24 09:00:02 UTC

[GitHub] [incubator-druid] wangxiaobaidu11 commented on issue #7582: [for 0.12.x] general exactly count distinct support in Druid

wangxiaobaidu11 commented on issue #7582: [for 0.12.x] general exactly count distinct support in Druid
URL: https://github.com/apache/incubator-druid/pull/7582#issuecomment-545820054
 
 
   @pzhdfy hi,I use https://github.com/pzhdfy/incubator-druid/tree/0.12.3-count-distinct code to run a  task of hadoop index, but it occurs an error that lead to the failure of importing data source
   `2019-10-24 16:37:18.641 INFO [task-runner-0-priority-0] org.apache.hadoop.mapreduce.Job - Task Id : attempt_1570502169946_3012_m_000000_0, Status : FAILED
   Error: io.druid.java.util.common.RE: Failure on row[{"time":"2015-09-12T01:35:41.418Z","channel":"#es.wikipedia","cityName":"Asunción","comment":"/* Puntaje acumulado */","countryIsoCode":"PY","countryName":"Paraguay","isAnonymous":true,"isMinor":false,"isNew":false,"isRobot":false,"isUnpatrolled":false,"metroCode":null,"namespace":"Main","page":"Torneo Clausura 2015 (Paraguay)","regionIsoCode":"ASU","regionName":"Asuncion","user":"190.23.68.121","delta":1,"added":1,"deleted":0}]
   	at io.druid.indexer.HadoopDruidIndexerMapper.map(HadoopDruidIndexerMapper.java:93)
   	at org.apache.hadoop.mapreduce.Mapper.run(Mapper.java:146)
   	at org.apache.hadoop.mapred.MapTask.runNewMapper(MapTask.java:787)
   	at org.apache.hadoop.mapred.MapTask.run(MapTask.java:341)
   	at org.apache.hadoop.mapred.YarnChild$2.run(YarnChild.java:164)
   	at java.security.AccessController.doPrivileged(Native Method)
   	at javax.security.auth.Subject.doAs(Subject.java:422)
   	at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1698)
   	at org.apache.hadoop.mapred.YarnChild.main(YarnChild.java:158)
   Caused by: java.lang.IllegalArgumentException: Value : Asunción not exists
   	at org.apache.kylin.common.util.Dictionary.getIdFromValue(Dictionary.java:107)
   	at org.apache.kylin.common.util.Dictionary.getIdFromValue(Dictionary.java:85)
   	at io.druid.segment.incremental.IncrementalIndex$1InputRowDictWrap.getDimension(IncrementalIndex.java:180)
   	at io.druid.query.aggregation.unique.RoaringBitmapComplexMetricSerde$1.extractValue(RoaringBitmapComplexMetricSerde.java:70)
   	at io.druid.query.aggregation.unique.RoaringBitmapComplexMetricSerde$1.extractValue(RoaringBitmapComplexMetricSerde.java:52)
   	at io.druid.segment.incremental.IncrementalIndex$1IncrementalIndexInputRowColumnSelectorFactory$1.getObject(IncrementalIndex.java:264)
   	at io.druid.query.aggregation.unique.UniqueBuildAggregator.aggregate(UniqueBuildAggregator.java:53)
   	at io.druid.indexer.InputRowSerde.toBytes(InputRowSerde.java:281)
   	at io.druid.indexer.IndexGeneratorJob$IndexGeneratorMapper.innerMap(IndexGeneratorJob.java:371)
   	at io.druid.indexer.HadoopDruidIndexerMapper.map(HadoopDruidIndexerMapper.java:88)
   	... 8 more`

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org