kylin-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KYLIN-3547) DimensionRangeInfo: Unsupported data type boolean
Date Tue, 11 Sep 2018 05:51:00 GMT

    [ https://issues.apache.org/jira/browse/KYLIN-3547?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16610128#comment-16610128
] 

ASF GitHub Bot commented on KYLIN-3547:
---------------------------------------

ZhouYC627 opened a new pull request #226: KYLIN-3547 add boolean DataTypeOrder
URL: https://github.com/apache/kylin/pull/226
 
 
   https://issues.apache.org/jira/browse/KYLIN-3547

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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


> DimensionRangeInfo: Unsupported data type boolean
> -------------------------------------------------
>
>                 Key: KYLIN-3547
>                 URL: https://issues.apache.org/jira/browse/KYLIN-3547
>             Project: Kylin
>          Issue Type: Bug
>          Components: Job Engine, Metadata
>    Affects Versions: v2.5.0
>            Reporter: Yichen Zhou
>            Assignee: Yichen Zhou
>            Priority: Blocker
>             Fix For: v2.5.0
>
>
> In Extract Fact Table Distinct Columns Step, Kylin can not get dimension range information
from data of boolean type because DataType.getOrder() does not support boolean.
> {quote}java.lang.RuntimeException: error execute org.apache.kylin.engine.spark.SparkFactDistinct
at org.apache.kylin.common.util.AbstractApplication.execute(AbstractApplication.java:42) at
org.apache.kylin.common.util.SparkEntry.main(SparkEntry.java:44) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.spark.deploy.yarn.ApplicationMaster$$anon$2.run(ApplicationMaster.scala:636)
Caused by: org.apache.spark.SparkException: Job aborted due to stage failure: Task 5 in stage
1.0 failed 4 times, most recent failure: Lost task 5.3 in stage 1.0 (TID 17, slave1.kcluster,
executor 5): java.lang.IllegalArgumentException: Unsupported data type boolean at org.apache.kylin.metadata.datatype.DataTypeOrder.getInstance(DataTypeOrder.java:53)
at org.apache.kylin.metadata.datatype.DataType.getOrder(DataType.java:230) at org.apache.kylin.metadata.datatype.DataType.compare(DataType.java:236)
at org.apache.kylin.engine.spark.SparkFactDistinct$MultiOutputFunction.call(SparkFactDistinct.java:739)
at org.apache.kylin.engine.spark.SparkFactDistinct$MultiOutputFunction.call(SparkFactDistinct.java:612)
at org.apache.spark.api.java.JavaRDDLike$$anonfun$fn$7$1.apply(JavaRDDLike.scala:186) at org.apache.spark.api.java.JavaRDDLike$$anonfun$fn$7$1.apply(JavaRDDLike.scala:186)
at org.apache.spark.rdd.RDD$$anonfun$mapPartitions$1$$anonfun$apply$23.apply(RDD.scala:797)
at org.apache.spark.rdd.RDD$$anonfun$mapPartitions$1$$anonfun$apply$23.apply(RDD.scala:797)
at org.apache.spark.rdd.MapPartitionsRDD.compute(MapPartitionsRDD.scala:38) at org.apache.spark.rdd.RDD.computeOrReadCheckpoint(RDD.scala:323)
at org.apache.spark.rdd.RDD.iterator(RDD.scala:287) at org.apache.spark.scheduler.ResultTask.runTask(ResultTask.scala:87)
at org.apache.spark.scheduler.Task.run(Task.scala:99) at org.apache.spark.executor.Executor$TaskRunner.run(Executor.scala:325)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
> {quote}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message