You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by "Sonu Kumar Singh (Jira)" <ji...@apache.org> on 2022/03/09 08:58:00 UTC

[jira] [Commented] (KYLIN-4950) Kylin create cube error: execute get hive table rows result fail: java.lang.NumberFormatException: For input string:

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

Sonu Kumar Singh commented on KYLIN-4950:
-----------------------------------------

Hi Experts,

Do we have any updates on this issue?

> Kylin create cube error: execute get hive table rows result fail: java.lang.NumberFormatException: For input string:
> --------------------------------------------------------------------------------------------------------------------
>
>                 Key: KYLIN-4950
>                 URL: https://issues.apache.org/jira/browse/KYLIN-4950
>             Project: Kylin
>          Issue Type: Bug
>    Affects Versions: v3.1.1
>         Environment: hadoop2.7.2
> hive 3.1.2
> hbase 2.0.0
> kylin 3.1.1
>            Reporter: Mingming Lee
>            Priority: Major
>              Labels: kylin
>
> when I build cube ,i keep getting the error in Step Name: Redistribute Flat Hive Table
> Duration
> {code:java}
> java.io.IOException: execute get hive table rows result fail : select count(*) from default.kylin_intermediate_cqcyit_cube_16dfe7c6_9e93_8dc6_94f4_b1530f31f2cb
>         at         org.apache.kylin.source.hive.CLIHiveClient.getHiveTableRows(CLIHiveClient.java:142)
> 	at org.apache.kylin.source.hive.RedistributeFlatHiveTableStep.computeRowCount(RedistributeFlatHiveTableStep.java:38)
> 	at org.apache.kylin.source.hive.RedistributeFlatHiveTableStep.doWork(RedistributeFlatHiveTableStep.java:81)
> 	at org.apache.kylin.job.execution.AbstractExecutable.execute(AbstractExecutable.java:179)
> 	at org.apache.kylin.job.execution.DefaultChainedExecutable.doWork(DefaultChainedExecutable.java:71)
> 	at org.apache.kylin.job.execution.AbstractExecutable.execute(AbstractExecutable.java:179)
> 	at org.apache.kylin.job.impl.threadpool.DefaultScheduler$JobRunner.run(DefaultScheduler.java:114)
> 	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)
> Caused by: java.lang.NumberFormatException: For input string: "_c0"
> 	at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
> 	at java.lang.Integer.parseInt(Integer.java:580)
> 	at java.lang.Integer.parseInt(Integer.java:615)
> 	at org.apache.kylin.source.hive.CLIHiveClient.getHiveTableRows(CLIHiveClient.java:137)
> 	... 9 more
> {code}
>  



--
This message was sent by Atlassian Jira
(v8.20.1#820001)