Any more logs beneath the "Caused by: java.io.IOException"?? Kylin requires hive for sure, and it grabs hive classpath by 'bin/find-hive-dependency.sh' which in turn calls `hive -e set | grep 'env:CLASSPATH'`
You want to analyze these results to see why '/home/marsj/hive-site.xml' is being insisted. On Tue, Apr 5, 2016 at 3:14 PM, Mars J <[email protected]> wrote: > Hello All, > There is a problem that every time I start kylin, it will read a > hive-site.xml file in the path where I execute the starting action. if > there is no that file, the cube building job where give me an error message > like follow, and the /home/marsj is my kylin start path. > If I copy the hive-site.xml to this path , my job is execute > successfully. > > Is this a bug ? No matter kylin version is 1.3 or 1.5, this problem > is alway there. > > java.lang.RuntimeException: java.io.IOException: java.lang.RuntimeException: > java.io.FileNotFoundException: /home/marsj/hive-site.xml (没有那个文件或目录) > at > org.apache.kylin.source.hive.HiveMRInput$HiveTableInputFormat.configureJob(HiveMRInput.java:86) > at > org.apache.kylin.engine.mr.steps.FactDistinctColumnsJob.setupMapper(FactDistinctColumnsJob.java:111) > at > org.apache.kylin.engine.mr.steps.FactDistinctColumnsJob.run(FactDistinctColumnsJob.java:91) > at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70) > at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:84) > at > org.apache.kylin.engine.mr.common.MapReduceExecutable.doWork(MapReduceExecutable.java:118) > at > org.apache.kylin.job.execution.AbstractExecutable.execute(AbstractExecutable.java:114) > at > org.apache.kylin.job.execution.DefaultChainedExecutable.doWork(DefaultChainedExecutable.java:50) > at > org.apache.kylin.job.execution.AbstractExecutable.execute(AbstractExecutable.java:114) > at > org.apache.kylin.job.impl.threadpool.DefaultScheduler$JobRunner.run(DefaultScheduler.java:124) > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) > at java.lang.Thread.run(Thread.java:745) > Caused by: java.io.IOException: java.lang.RuntimeException: > java.io.FileNotFoundException: /home/marsj/hive-site.xml (没有那个文件或目录) > >
