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

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

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

JIRA jira@apache.org
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

Reply | Threaded
Open this post in threaded view
|

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

JIRA jira@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

Reply | Threaded
Open this post in threaded view
|

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

JIRA jira@apache.org
In reply to this post by JIRA jira@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

Reply | Threaded
Open this post in threaded view
|

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

JIRA jira@apache.org
In reply to this post by JIRA jira@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