Hi, hongbin Yes. After debugged into the code, I found the URL reponse is the following xml pattern :
This XML file does not appear to have any style information associated with it. The document tree is shown below. <RemoteException> <exception>NumberFormatException</exception> <message>For input string: "local2013102403"</message> <javaClassName>java.lang.NumberFormatException</javaClassName> </RemoteException> Our job_id is "job_local2013102403_0001" I cannot see any clue for the numberformat exception. Please help on this. Best, Sun. [email protected] From: hongbin ma Date: 2015-11-27 10:34 To: dev Subject: Re: NPE throws doing status check the release correspond to branch: v1.1-release, you can checkout the code. the HadoopStatusChecker visits a URL which contains job status in json, and parse the text to get the values. The pattern of URL is: http(s)://${yarn.resourcemanager.webapp.address}/ws/v1/cluster/apps/${job_id}?anonymous=true (check MapReduceExecutable:177) My guess is that the text returned from your cluster's resource manager is not as expected, which causes NPE in HadoopStatusGetter.java:56 can you check what is returned from the URL? for the real URL you can either check backend log(in tomcat/log/kylin.log) or the log icon for each cubing step. On Thu, Nov 26, 2015 at 10:53 AM, [email protected] <[email protected]> wrote: > Hi , > > When running job of step 2 , the following exception can be seen. Using > the 1.1-incubating release version, with > hadoop 2.7.1, hbase 0.98.10-hadoop2, hive 1.2 > > [pool-5-thread-2]:[2015-11-25 > 19:31:38,805][ERROR][org.apache.kylin.job.tools.HadoopStatusChecker.checkStatus(HadoopStatusChecker.java:91)] > - error check status > java.lang.NullPointerException > at > org.apache.kylin.job.tools.HadoopStatusGetter.get(HadoopStatusGetter.java:56) > at > org.apache.kylin.job.tools.HadoopStatusChecker.checkStatus(HadoopStatusChecker.java:56) > at > org.apache.kylin.job.common.MapReduceExecutable.doWork(MapReduceExecutable.java:137) > at > org.apache.kylin.job.execution.AbstractExecutable.execute(AbstractExecutable.java:107) > at > org.apache.kylin.job.execution.DefaultChainedExecutable.doWork(DefaultChainedExecutable.java:51) > at > org.apache.kylin.job.execution.AbstractExecutable.execute(AbstractExecutable.java:107) > at > org.apache.kylin.job.impl.threadpool.DefaultScheduler$JobRunner.run(DefaultScheduler.java:130) > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) > at java.lang.Thread.run(Thread.java:745) > > What could be the root cause ? > > Best, > Sun. > > > [email protected] > -- Regards, *Bin Mahone | 马洪宾* Apache Kylin: http://kylin.io Github: https://github.com/binmahone
