You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kylin.apache.org by "Mingming Lee (Jira)" <ji...@apache.org> on 2021/04/02 02:27:00 UTC

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

Mingming Lee created KYLIN-4950:
-----------------------------------

             Summary: 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


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.3.4#803005)