You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2019/11/07 10:26:00 UTC

[jira] [Commented] (KYLIN-4244) ClassNotFoundException while use org.apache.kylin.engine.mr.common.CubeStatsReader in bash

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

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

zhoukangcn commented on pull request #924: KYLIN-4244: add com.tdunning shade in tool assembly
URL: https://github.com/apache/kylin/pull/924
 
 
   see https://issues.apache.org/jira/browse/KYLIN-4244
 
----------------------------------------------------------------
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


> ClassNotFoundException while use org.apache.kylin.engine.mr.common.CubeStatsReader in bash
> ------------------------------------------------------------------------------------------
>
>                 Key: KYLIN-4244
>                 URL: https://issues.apache.org/jira/browse/KYLIN-4244
>             Project: Kylin
>          Issue Type: Bug
>            Reporter: ZhouKang
>            Priority: Major
>
> use org.apache.kylin.engine.mr.common.CubeStatsReader to print estimated size for cube
>  
> {code:java}
> // code placeholder
> bash ./kylin.sh org.apache.kylin.engine.mr.common.CubeStatsReader {cube_name}
> {code}
> get an Exception
> {code:java}
> // code placeholder
> Exception in thread "main" java.lang.NoClassDefFoundError: com/tdunning/math/stats/TDigest
> 	at org.apache.kylin.measure.percentile.PercentileSerializer.current(PercentileSerializer.java:62)
> 	at org.apache.kylin.measure.percentile.PercentileSerializer.getStorageBytesEstimate(PercentileSerializer.java:52)
> 	at org.apache.kylin.metadata.datatype.DataType.getStorageBytesEstimate(DataType.java:256)
> 	at org.apache.kylin.engine.mr.common.CubeStatsReader.estimateCuboidStorageSize(CubeStatsReader.java:251)
> 	at org.apache.kylin.engine.mr.common.CubeStatsReader.getCuboidSizeMapFromRowCount(CubeStatsReader.java:211)
> 	at org.apache.kylin.engine.mr.common.CubeStatsReader.getCuboidSizeMap(CubeStatsReader.java:170)
> 	at org.apache.kylin.engine.mr.common.CubeStatsReader.print(CubeStatsReader.java:273)
> 	at org.apache.kylin.engine.mr.common.CubeStatsReader.main(CubeStatsReader.java:435)
> Caused by: java.lang.ClassNotFoundException: com.tdunning.math.stats.TDigest
> 	at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
> 	at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
> 	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349)
> 	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
> 	... 8 more
> {code}
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)