You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@pig.apache.org by George Pang <p0...@gmail.com> on 2009/05/15 18:26:05 UTC

Re: Still a question

Thank you, Shubham.

Well, another question is, I got the error message :  "An error has occurred
when activating this view, java.lang.NullPointerException"

I can see the Operator Graph is working, but when I run the pig or hadoop
(by pressing the pig or hadoop icons), this error message comes out.
 Something wrong with an array?  Please help.  Thank you.

One minor question maybe more about Eclipse.  I didn't find the red button
to stop a query running.  Do you know how to stop it?  Thank you!

George

2009/5/14 Shubham Chopra <sh...@yahoo-inc.com>

> Hi George,
>
> I think in that case you might have to move your pig.properties file to the
> hadoop conf directory. Or optionally you can create a temporary directory
> containing both the conf files and use that as the ConfigurationPath.
>
> Thanks,
> Shubham.
>
>
>
> George Pang wrote:
>
>> Hi Shubham,
>>
>> My path for hadoop-site.xml is /usr/share/cloudera/hadoop/conf, while my
>> pig.properties is lo cated in /usr/share/cloudera/pig/conf.  So what's the
>> ConfigurationPath value is for these 2 files?
>>
>> Thanks!
>> Waiting for your reply.
>> George
>>
>
>

Re: Still a question

Posted by George Pang <p0...@gmail.com>.
When I got the error message  "An error has occurred when activating this
view, java.lang.NullPointerException" ,
On my console is:

Connected to map-reduce job tracker at: localhost:9001Connected to hadoop
file system at: hdfs://localhost:9000/
Connected to map-reduce job tracker at: localhost:9001
Connected to hadoop file system at: hdfs://localhost:9000/

and there is nothing shown on "Pig Example Window ",

On the "Progress" is "Synchronizing Task Lists (Sleeping)"
Why sleeping? Is that the reason for a NullPointerException  on Task Lists?


Thank you!
George

2009/5/15 George Pang <p0...@gmail.com>

> Thank you, Shubham.
>
> Well, another question is, I got the error message :  "An error has
> occurred when activating this view, java.lang.NullPointerException"
>
> I can see the Operator Graph is working, but when I run the pig or hadoop
> (by pressing the pig or hadoop icons), this error message comes out.
>  Something wrong with an array?  Please help.  Thank you.
>
> One minor question maybe more about Eclipse.  I didn't find the red button
> to stop a query running.  Do you know how to stop it?  Thank you!
>
> George
>
> 2009/5/14 Shubham Chopra <sh...@yahoo-inc.com>
>
>> Hi George,
>>
>>
>> I think in that case you might have to move your pig.properties file to
>> the hadoop conf directory. Or optionally you can create a temporary
>> directory containing both the conf files and use that as the
>> ConfigurationPath.
>>
>> Thanks,
>> Shubham.
>>
>>
>>
>> George Pang wrote:
>>
>>> Hi Shubham,
>>>
>>> My path for hadoop-site.xml is /usr/share/cloudera/hadoop/conf, while my
>>> pig.properties is lo cated in /usr/share/cloudera/pig/conf.  So what's the
>>> ConfigurationPath value is for these 2 files?
>>>
>>> Thanks!
>>> Waiting for your reply.
>>> George
>>>
>>
>>
>