I want to code a program to get hadoop job information, such as jobid, jobname, owner, running nodes.
------------------ Original ------------------ From: "Mahesh Balija"<balijamahesh....@gmail.com>; Date: Tue, Nov 27, 2012 10:02 PM To: "user"<user@hadoop.apache.org>; Subject: Re: Failed to call hadoop API Hi Hui, JobID constructor is not a public constructor it has default visibility so you have to create the instance within the same package. Usually you cannot create a JobID rather you can get one from the JOB instance by invoking getJobID(). If this doesnot works for you, please tell what you are trying to do? Thanks, Mahesh Balija, Calsoft Labs. On Tue, Nov 27, 2012 at 5:37 PM, GHui <ugi...@gmail.com> wrote: I call the sentence "JobID id = new JobID()" of hadoop API with JNI. But when my program run to this sentence, it exits. And no errors output. I don't make any sense of this. The hadoop is hadoop-core-1.0.3.jar. The Java sdk is jdk1.6.0-34. Any help will be appreciated. -GHui