hadoop-mapreduce-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Harsh J (JIRA)" <j...@apache.org>
Subject [jira] [Created] (MAPREDUCE-2932) Missing instrumentation plugin class shouldn't crash the TT startup per design
Date Mon, 05 Sep 2011 16:06:09 GMT
Missing instrumentation plugin class shouldn't crash the TT startup per design

                 Key: MAPREDUCE-2932
                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-2932
             Project: Hadoop Map/Reduce
          Issue Type: Bug
          Components: tasktracker
    Affects Versions: 0.20.2
            Reporter: Harsh J
            Assignee: Harsh J
            Priority: Trivial

Per the implementation of the TaskTracker instrumentation plugin implementation (from 2008),
a ClassNotFoundException during loading up of an configured TaskTracker instrumentation class
shouldn't have hampered TT start up at all.

But, there is one class-fetching call outside try/catch, which makes TT fall down with a RuntimeException
if there's a class not found. Would be good to include this line into the try/catch itself.

Strace would appear as:

2011-08-25 11:45:38,470 ERROR org.apache.hadoop.mapred.TaskTracker: Can not start task tracker
because java.lang.RuntimeException: java.lang.RuntimeException: java.lang.ClassNotFoundException:
at org.apache.hadoop.conf.Configuration.getClass(Configuration.java) 
at org.apache.hadoop.mapred.TaskTracker.getInstrumentationClass(TaskTracker.java) 
at org.apache.hadoop.mapred.TaskTracker.initialize(TaskTracker.java) 

This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message