FAQ
NPE in heartbeat when the configured topology script doesn't exist
------------------------------------------------------------------

Key: HADOOP-5336
URL: https://issues.apache.org/jira/browse/HADOOP-5336
Project: Hadoop Core
Issue Type: Bug
Components: mapred
Reporter: Vinod K V




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

Search Discussions

  • Vinod K V (JIRA) at Feb 26, 2009 at 11:17 am
    [ https://issues.apache.org/jira/browse/HADOOP-5336?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12676961#action_12676961 ]

    Vinod K V commented on HADOOP-5336:
    -----------------------------------


    Here's the trace:
    {code}
    2009-02-26 10:41:31,975 WARN org.apache.hadoop.net.ScriptBasedMapping: java.io.IOException: Cannot run program "<myPath>/topologyProgram" (in directory "<my-hadoop-home>"): java.io.IOException: error=13, Permission denied
    at java.lang.ProcessBuilder.start(ProcessBuilder.java:459)
    at org.apache.hadoop.util.Shell.runCommand(Shell.java:149)
    at org.apache.hadoop.util.Shell.run(Shell.java:134)
    at org.apache.hadoop.util.Shell$ShellCommandExecutor.execute(Shell.java:286)
    at org.apache.hadoop.net.ScriptBasedMapping$RawScriptBasedMapping.runResolveCommand(ScriptBasedMapping.java:148)
    at org.apache.hadoop.net.ScriptBasedMapping$RawScriptBasedMapping.resolve(ScriptBasedMapping.java:94)
    at org.apache.hadoop.net.CachedDNSToSwitchMapping.resolve(CachedDNSToSwitchMapping.java:59)
    at org.apache.hadoop.mapred.JobTracker.resolveAndAddToTopology(JobTracker.java:2120)
    at org.apache.hadoop.mapred.JobTracker.addNewTracker(JobTracker.java:2113)
    at org.apache.hadoop.mapred.JobTracker.processHeartbeat(JobTracker.java:2489)
    at org.apache.hadoop.mapred.JobTracker.heartbeat(JobTracker.java:2289)
    at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:508)
    at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:959)
    at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:955)
    at java.security.AccessController.doPrivileged(Native Method)
    at javax.security.auth.Subject.doAs(Subject.java:396)
    at org.apache.hadoop.ipc.Server$Handler.run(Server.java:953)
    Caused by: java.io.IOException: java.io.IOException: error=13, Permission denied
    at java.lang.UNIXProcess.(ProcessImpl.java:65)
    at java.lang.ProcessBuilder.start(ProcessBuilder.java:452)
    ... 19 more
    {code}

    {code}
    2009-02-26 10:41:31,975 INFO org.apache.hadoop.ipc.Server: IPC Server handler 62 on 52000, call heartbeat(org.apache.hadoop.mapred.TaskTrackerStatus@1b79c945, true, true, true, -1) from
    98.137.102.152:47264: error: java.io.IOException: java.lang.NullPointerException
    java.io.IOException: java.lang.NullPointerException
    at org.apache.hadoop.mapred.JobTracker.resolveAndAddToTopology(JobTracker.java:2121)
    at org.apache.hadoop.mapred.JobTracker.addNewTracker(JobTracker.java:2113)
    at org.apache.hadoop.mapred.JobTracker.processHeartbeat(JobTracker.java:2489)
    at org.apache.hadoop.mapred.JobTracker.heartbeat(JobTracker.java:2289)
    at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:508)
    at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:959)
    at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:955)
    at java.security.AccessController.doPrivileged(Native Method)
    at javax.security.auth.Subject.doAs(Subject.java:396)
    at org.apache.hadoop.ipc.Server$Handler.run(Server.java:953)
    {code}

    JT is alive all along, returning NPEs in TTs heartbeats.
    NPE in heartbeat when the configured topology script doesn't exist
    ------------------------------------------------------------------

    Key: HADOOP-5336
    URL: https://issues.apache.org/jira/browse/HADOOP-5336
    Project: Hadoop Core
    Issue Type: Bug
    Components: mapred
    Reporter: Vinod K V

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

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupcommon-dev @
categorieshadoop
postedFeb 26, '09 at 11:13a
activeFeb 26, '09 at 11:17a
posts2
users1
websitehadoop.apache.org...
irc#hadoop

1 user in discussion

Vinod K V (JIRA): 2 posts

People

Translate

site design / logo © 2022 Grokbase