hadoop-pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alan Gates (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (PIG-69) NullPointerException in setJobtrackerLocation() in PigContext.java:68
Date Tue, 29 Jan 2008 01:27:41 GMT

     [ https://issues.apache.org/jira/browse/PIG-69?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Alan Gates resolved PIG-69.
---------------------------

       Resolution: Fixed
    Fix Version/s: 0.1.0

Fix provided by francisoud checked in (thanks).

> NullPointerException in setJobtrackerLocation() in PigContext.java:68
> ---------------------------------------------------------------------
>
>                 Key: PIG-69
>                 URL: https://issues.apache.org/jira/browse/PIG-69
>             Project: Pig
>          Issue Type: Bug
>          Components: impl
>    Affects Versions: 0.1.0
>            Reporter: Benjamin Francisoud
>             Fix For: 0.1.0
>
>         Attachments: PigContext-PIG-69-v01.patch, PigContext-PIG-69-v02.patch
>
>
> {noformat}
> java.lang.NullPointerException
>     at org.apache.pig.impl.PigContext.setJobtrackerLocation(PigContext.java:425)
>     ... (the rest of the stacktrace is my own servlet code)
> {noformat}
> The code:
> {code:java}
> final PigContext pigContext = new PigContext(ExecType.MAPREDUCE);
> pigContext.setJobtrackerLocation(configuration.get("mapred.job.tracker"));
> pigContext.setFilesystemLocation(configuration.get("fs.default.name"));
>         
> final PigServer pigServer = new PigServer(pigContext);
> {code}
> Where configuration is a org.apache.hadoop.conf.Configuration object initialized with
spring framework.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message