[jira] Created: (NUTCH-197) NullPointerException in TaskRunner if application jar does not have "lib" directory

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[jira] Created: (NUTCH-197) NullPointerException in TaskRunner if application jar does not have "lib" directory

Michael Gibney (Jira)
NullPointerException in TaskRunner if application jar does not have "lib" directory
-----------------------------------------------------------------------------------

         Key: NUTCH-197
         URL: http://issues.apache.org/jira/browse/NUTCH-197
     Project: Nutch
        Type: Bug
    Versions: 0.8-dev    
 Environment: linux 2.6, java 1.4.2
    Reporter: Owen O'Malley
    Priority: Minor


When running a map/reduce application from a jar file, if the jar file does not have a "lib" directory the job dies with a NullPointerException.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply | Threaded
Open this post in threaded view
|

[jira] Updated: (NUTCH-197) NullPointerException in TaskRunner if application jar does not have "lib" directory

Michael Gibney (Jira)
     [ http://issues.apache.org/jira/browse/NUTCH-197?page=all ]

Owen O'Malley updated NUTCH-197:
--------------------------------

    Attachment: mapred_jar.patch

This patch fixes the problem by checking for a null pointer before dereferencing.

> NullPointerException in TaskRunner if application jar does not have "lib" directory
> -----------------------------------------------------------------------------------
>
>          Key: NUTCH-197
>          URL: http://issues.apache.org/jira/browse/NUTCH-197
>      Project: Nutch
>         Type: Bug
>     Versions: 0.8-dev
>  Environment: linux 2.6, java 1.4.2
>     Reporter: Owen O'Malley
>     Priority: Minor
>  Attachments: mapred_jar.patch
>
> When running a map/reduce application from a jar file, if the jar file does not have a "lib" directory the job dies with a NullPointerException.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply | Threaded
Open this post in threaded view
|

[jira] Resolved: (NUTCH-197) NullPointerException in TaskRunner if application jar does not have "lib" directory

Michael Gibney (Jira)
In reply to this post by Michael Gibney (Jira)
     [ http://issues.apache.org/jira/browse/NUTCH-197?page=all ]
     
Doug Cutting resolved NUTCH-197:
--------------------------------

    Fix Version: 0.8-dev
     Resolution: Fixed

I just committed this.  Thanks, Owen!

> NullPointerException in TaskRunner if application jar does not have "lib" directory
> -----------------------------------------------------------------------------------
>
>          Key: NUTCH-197
>          URL: http://issues.apache.org/jira/browse/NUTCH-197
>      Project: Nutch
>         Type: Bug
>     Versions: 0.8-dev
>  Environment: linux 2.6, java 1.4.2
>     Reporter: Owen O'Malley
>     Priority: Minor
>      Fix For: 0.8-dev
>  Attachments: mapred_jar.patch
>
> When running a map/reduce application from a jar file, if the jar file does not have a "lib" directory the job dies with a NullPointerException.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira