hadoop-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mahesh Balija <balijamahesh....@gmail.com>
Subject Re: Failed to call hadoop API
Date Tue, 27 Nov 2012 13:32:39 GMT
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 <ugiwgh@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
>

Mime
View raw message