You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nutch.apache.org by "Stefan Groschupf (JIRA)" <ji...@apache.org> on 2005/09/30 15:43:48 UTC

[jira] Created: (NUTCH-102) jobtracker does not start when webapps is in src

jobtracker does not start when webapps is in src
------------------------------------------------

         Key: NUTCH-102
         URL: http://issues.apache.org/jira/browse/NUTCH-102
     Project: Nutch
        Type: Bug
    Versions: 0.8-dev    
    Reporter: Stefan Groschupf
    Priority: Minor
     Fix For: 0.8-dev


When starting the jobtracker from NUTCH_HOME by 
bin/nutch-daemon.sh start jobtracker
The jobtracker search for the webapps folder in NUTCH_HOME, but it is under src/

When manually copy the webapps folder into NUTCH_HOME jobtracker starts without any problems. 

Exception in thread "main" java.lang.NullPointerException
        at org.apache.nutch.mapred.JobTrackerInfoServer.<init>(JobTrackerInfoServer.java:67)
        at org.apache.nutch.mapred.JobTracker.<init>(JobTracker.java:232)
        at org.apache.nutch.mapred.JobTracker.startTracker(JobTracker.java:43)
        at org.apache.nutch.mapred.JobTracker.main(JobTracker.java:1043)

-- 
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


[jira] Updated: (NUTCH-102) jobtracker does not start when webapps is in src

Posted by "Owen O'Malley (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/NUTCH-102?page=all ]

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

    Attachment: webapps.patch

Fixes build.xml to include webapps directory in package (and therefor tar file).

> jobtracker does not start when webapps is in src
> ------------------------------------------------
>
>          Key: NUTCH-102
>          URL: http://issues.apache.org/jira/browse/NUTCH-102
>      Project: Nutch
>         Type: Bug
>     Versions: 0.8-dev
>     Reporter: Stefan Groschupf
>     Priority: Minor
>      Fix For: 0.8-dev
>  Attachments: webapps.patch
>
> When starting the jobtracker from NUTCH_HOME by 
> bin/nutch-daemon.sh start jobtracker
> The jobtracker search for the webapps folder in NUTCH_HOME, but it is under src/
> When manually copy the webapps folder into NUTCH_HOME jobtracker starts without any problems. 
> Exception in thread "main" java.lang.NullPointerException
>         at org.apache.nutch.mapred.JobTrackerInfoServer.<init>(JobTrackerInfoServer.java:67)
>         at org.apache.nutch.mapred.JobTracker.<init>(JobTracker.java:232)
>         at org.apache.nutch.mapred.JobTracker.startTracker(JobTracker.java:43)
>         at org.apache.nutch.mapred.JobTracker.main(JobTracker.java:1043)

-- 
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


[jira] Commented: (NUTCH-102) jobtracker does not start when webapps is in src

Posted by "Owen O'Malley (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/NUTCH-102?page=comments#action_12363168 ] 

Owen O'Malley commented on NUTCH-102:
-------------------------------------

The problem was that the webapps directory was not being copied to the dist directory in the package target. I uploaded a patch against the trunk that fixes the problem.

> jobtracker does not start when webapps is in src
> ------------------------------------------------
>
>          Key: NUTCH-102
>          URL: http://issues.apache.org/jira/browse/NUTCH-102
>      Project: Nutch
>         Type: Bug
>     Versions: 0.8-dev
>     Reporter: Stefan Groschupf
>     Priority: Minor
>      Fix For: 0.8-dev
>  Attachments: webapps.patch
>
> When starting the jobtracker from NUTCH_HOME by 
> bin/nutch-daemon.sh start jobtracker
> The jobtracker search for the webapps folder in NUTCH_HOME, but it is under src/
> When manually copy the webapps folder into NUTCH_HOME jobtracker starts without any problems. 
> Exception in thread "main" java.lang.NullPointerException
>         at org.apache.nutch.mapred.JobTrackerInfoServer.<init>(JobTrackerInfoServer.java:67)
>         at org.apache.nutch.mapred.JobTracker.<init>(JobTracker.java:232)
>         at org.apache.nutch.mapred.JobTracker.startTracker(JobTracker.java:43)
>         at org.apache.nutch.mapred.JobTracker.main(JobTracker.java:1043)

-- 
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


[jira] Resolved: (NUTCH-102) jobtracker does not start when webapps is in src

Posted by "Doug Cutting (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/NUTCH-102?page=all ]
     
Doug Cutting resolved NUTCH-102:
--------------------------------

    Resolution: Fixed

I just applied this patch.  Thanks, Owen.

> jobtracker does not start when webapps is in src
> ------------------------------------------------
>
>          Key: NUTCH-102
>          URL: http://issues.apache.org/jira/browse/NUTCH-102
>      Project: Nutch
>         Type: Bug
>     Versions: 0.8-dev
>     Reporter: Stefan Groschupf
>     Priority: Minor
>      Fix For: 0.8-dev
>  Attachments: webapps.patch
>
> When starting the jobtracker from NUTCH_HOME by 
> bin/nutch-daemon.sh start jobtracker
> The jobtracker search for the webapps folder in NUTCH_HOME, but it is under src/
> When manually copy the webapps folder into NUTCH_HOME jobtracker starts without any problems. 
> Exception in thread "main" java.lang.NullPointerException
>         at org.apache.nutch.mapred.JobTrackerInfoServer.<init>(JobTrackerInfoServer.java:67)
>         at org.apache.nutch.mapred.JobTracker.<init>(JobTracker.java:232)
>         at org.apache.nutch.mapred.JobTracker.startTracker(JobTracker.java:43)
>         at org.apache.nutch.mapred.JobTracker.main(JobTracker.java:1043)

-- 
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