[
https://issues.apache.org/jira/browse/KYLIN-598?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Luke Han resolved KYLIN-598.
----------------------------
Resolution: Won't Fix
> Kylin detecting hive table delim failure
> ----------------------------------------
>
> Key: KYLIN-598
> URL: https://issues.apache.org/jira/browse/KYLIN-598
> Project: Kylin
> Issue Type: Bug
> Components: Job Engine
> Reporter: stanley shi
> Assignee: ZhouQianhao
> Fix For: v0.7.2
>
>
> table created as “create table gg as select a, b from c_table;"
> when building the cube, there's error from the kylin log:
> [QuartzScheduler_Worker-8]:[2015-02-08
> 14:42:01,314][INFO][com.kylinolap.dict.lookup.FileTableReader.autoDetectDelim(FileTableReader.java:162)]
> - Auto detect delim to be null, will take THE-WHOLE-LINE as a single value,
> for hdfs://hadoop-one-5863:9000/user/hive/warehouse/gg/000000_0
> usage: CreateDictionaryJob
> -cubename <name> Cube name. For exmaple, flat_item_cube
> -input <path> Input path
> -segmentname <name> Cube segment name)
> java.lang.IllegalStateException: Bad hive table row, TableDesc [name=GG]
> expect 2 columns, but got [1128007^AM]
> at
> com.kylinolap.dict.lookup.SnapshotTable.takeSnapshot(SnapshotTable.java:68)
> at
> com.kylinolap.dict.lookup.SnapshotManager.buildSnapshot(SnapshotManager.java:94)
> at
> com.kylinolap.cube.CubeManager.buildSnapshotTable(CubeManager.java:208)
> at
> com.kylinolap.cube.cli.DictionaryGeneratorCLI.processSegment(DictionaryGeneratorCLI.java:58)
> at
> com.kylinolap.cube.cli.DictionaryGeneratorCLI.processSegment(DictionaryGeneratorCLI.java:39)
> at
> com.kylinolap.job.hadoop.dict.CreateDictionaryJob.run(CreateDictionaryJob.java:51)
> at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
> at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:84)
> at com.kylinolap.job.cmd.JavaHadoopCmd.execute(JavaHadoopCmd.java:54)
> at com.kylinolap.job.flow.JobFlowNode.execute(JobFlowNode.java:77)
> at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
> at
> org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573)
> [QuartzScheduler_Worker-8]:[2015-02-08
> 14:42:01,315][ERROR][com.kylinolap.job.hadoop.dict.CreateDictionaryJob.run(CreateDictionaryJob.java:55)]
> - Bad hive table row, TableDesc [name=GG] expect 2 columns, but go
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)