Re: Failed to call hadoop API

2012-11-29 Thread Hemanth Yamijala
, ugiwgh wrote: > > I want to code a program to get hadoop job information, such as jobid, > jobname, owner, running nodes. > > ** > > > -- Original -- > *From: * "Mahesh Balija"; > *Date: * Tue, Nov 27, 2012 10:02 PM > *To: *

Re: Failed to call hadoop API

2012-11-27 Thread ugiwgh
I want to code a program to get hadoop job information, such as jobid, jobname, owner, running nodes. -- Original -- From: "Mahesh Balija"; Date: Tue, Nov 27, 2012 10:02 PM To: "user"; Subject: Re: Failed to call

Re: Failed to call hadoop API

2012-11-27 Thread Mahesh Balija
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

Failed to call hadoop API

2012-11-27 Thread GHui
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