Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 5760C200CFD for ; Wed, 6 Sep 2017 18:18:02 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 560581609C5; Wed, 6 Sep 2017 16:18:02 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 9C4331609BA for ; Wed, 6 Sep 2017 18:18:01 +0200 (CEST) Received: (qmail 87933 invoked by uid 500); 6 Sep 2017 16:18:00 -0000 Mailing-List: contact dev-help@kylin.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@kylin.apache.org Delivered-To: mailing list dev@kylin.apache.org Received: (qmail 87922 invoked by uid 99); 6 Sep 2017 16:17:59 -0000 Received: from mail-relay.apache.org (HELO mail-relay.apache.org) (140.211.11.15) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Sep 2017 16:17:59 +0000 Received: from mail-io0-f182.google.com (mail-io0-f182.google.com [209.85.223.182]) by mail-relay.apache.org (ASF Mail Server at mail-relay.apache.org) with ESMTPSA id AF0A91A00A5 for ; Wed, 6 Sep 2017 16:17:59 +0000 (UTC) Received: by mail-io0-f182.google.com with SMTP id q64so24874019iod.5 for ; Wed, 06 Sep 2017 09:17:59 -0700 (PDT) X-Gm-Message-State: AHPjjUgwr0Sz04C+zZxCX/bYOEW+3AVMr3OCkNvB3VOUoAUzc6EKzmPK EmMQQmrW1YK8BCaToEAP26S/Ww8zJQ== X-Google-Smtp-Source: ADKCNb7rwdfU16IFMYHjb5kL+JDCgXUPzvLpgiTRu8ESocliKqxR9EacreJhjaJLUb4HcSw3arJIgpypDW7rCeg3g3E= X-Received: by 10.107.134.194 with SMTP id q63mr3288335ioi.237.1504714679036; Wed, 06 Sep 2017 09:17:59 -0700 (PDT) MIME-Version: 1.0 Received: by 10.50.25.131 with HTTP; Wed, 6 Sep 2017 09:17:38 -0700 (PDT) In-Reply-To: References: <1504689214924-0.post@n6.nabble.com> From: Billy Liu Date: Thu, 7 Sep 2017 00:17:38 +0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: build cube step 3 error java.io.IOException Cannot initialize Cluster To: dev Content-Type: multipart/alternative; boundary="001a113f89cceeb16a055887af41" archived-at: Wed, 06 Sep 2017 16:18:02 -0000 --001a113f89cceeb16a055887af41 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 : > https://stackoverflow.com/questions/19642862/cannot- > initialize-cluster-exception-while-running-job-on-hadoop-2 > > > 2017-09-06 17:13 GMT+08:00 gqlxj1987 : > >> Hi=EF=BC=9A >> >> 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=3D6dd6d9d1-7f3d-4d6b-9d >> 58-e8a7a1b1448f-02, name=3DExtract Fact Table Distinct Columns, >> state=3DRUNNING} >> 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.(Cluster.java:82) >> at org.apache.hadoop.mapreduce.Cluster.(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/ >> > > --001a113f89cceeb16a055887af41--