kylin-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Billy Liu <billy...@apache.org>
Subject Re: build cube step 3 error java.io.IOException Cannot initialize Cluster
Date Wed, 06 Sep 2017 16:17:38 GMT
Try to submit some PI job from the console, it may be the environment
issue.

2017-09-07 0:16 GMT+08:00 Billy Liu <billyliu@apache.org>:

> https://stackoverflow.com/questions/19642862/cannot-
> initialize-cluster-exception-while-running-job-on-hadoop-2
>
>
> 2017-09-06 17:13 GMT+08:00 gqlxj1987 <gqlxj1987@gmail.com>:
>
>> Hi:
>>
>> When i build sample cube step3, there are some errors.
>>
>> 2017-09-06 16:49:08,708 INFO  [Job 6dd6d9d1-7f3d-4d6b-9d58-e8a7a1
>> b1448f-218]
>> client.RMProxy:92 : Connecting to ResourceManager at
>> kika-ad-data-spark0/172.31.2.221:8032
>> 2017-09-06 16:49:08,806 INFO  [Job 6dd6d9d1-7f3d-4d6b-9d58-e8a7a1
>> b1448f-218]
>> mapreduce.Cluster:113 : Failed to use
>> org.apache.hadoop.mapred.YarnClientProtocolProvider d
>> ue to error: java.lang.reflect.InvocationTargetException
>> 2017-09-06 16:49:08,812 ERROR [Job 6dd6d9d1-7f3d-4d6b-9d58-e8a7a1
>> b1448f-218]
>> common.MapReduceExecutable:129 : error execute
>> MapReduceExecutable{id=6dd6d9d1-7f3d-4d6b-9d
>> 58-e8a7a1b1448f-02, name=Extract Fact Table Distinct Columns,
>> state=RUNNING}
>> java.io.IOException: Cannot initialize Cluster. Please check your
>> configuration for mapreduce.framework.name and the correspond server
>> addresses.
>>         at org.apache.hadoop.mapreduce.Cluster.initialize(Cluster.java:
>> 120)
>>         at org.apache.hadoop.mapreduce.Cluster.<init>(Cluster.java:82)
>>         at org.apache.hadoop.mapreduce.Cluster.<init>(Cluster.java:75)
>>         at org.apache.hadoop.mapreduce.Job$9.run(Job.java:1255)
>>         at org.apache.hadoop.mapreduce.Job$9.run(Job.java:1251)
>>         at java.security.AccessController.doPrivileged(Native Method)
>>         at javax.security.auth.Subject.doAs(Subject.java:422)
>>         at
>> org.apache.hadoop.security.UserGroupInformation.doAs(UserGro
>> upInformation.java:1614)
>>         at org.apache.hadoop.mapreduce.Job.connect(Job.java:1250)
>>         at org.apache.hadoop.mapreduce.Job.submit(Job.java:1279)
>>         at
>> org.apache.kylin.engine.mr.common.AbstractHadoopJob.waitForC
>> ompletion(AbstractHadoopJob.java:149)
>>         at
>> org.apache.kylin.engine.mr.steps.FactDistinctColumnsJob.run(
>> FactDistinctColumnsJob.java:130)
>>         at org.apache.kylin.engine.mr.MRUtil.runMRJob(MRUtil.java:92)
>>         at
>> org.apache.kylin.engine.mr.common.MapReduceExecutable.doWork
>> (MapReduceExecutable.java:122)
>>         at
>> org.apache.kylin.job.execution.AbstractExecutable.execute(
>> AbstractExecutable.java:125)
>>         at
>> org.apache.kylin.job.execution.DefaultChainedExecutable.doWo
>> rk(DefaultChainedExecutable.java:65)
>>         at
>> org.apache.kylin.job.execution.AbstractExecutable.execute(
>> AbstractExecutable.java:125)
>>         at
>> org.apache.kylin.job.impl.threadpool.DefaultScheduler$JobRun
>> ner.run(DefaultScheduler.java:141)
>>         at
>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPool
>> Executor.java:1142)
>>         at
>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoo
>> lExecutor.java:617)
>>         at java.lang.Thread.run(Thread.java:748)
>> 2017-09-06 16:49:08,823 INFO  [Job 6dd6d9d1-7f3d-4d6b-9d58-e8a7a1
>> b1448f-218]
>> execution.ExecutableManager:425 : job
>> id:6dd6d9d1-7f3d-4d6b-9d58-e8a7a1b1448f-02 from RUNNING to ERROR
>>
>> I check the hadoop env, it's well.
>>
>> hangs on this step, please give some help
>>
>> Thanks
>>
>>
>> --
>> Sent from: http://apache-kylin.74782.x6.nabble.com/
>>
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message