<>
<>
<>
but the setting, the plug did not always start properly. Please enlighten master! Thank you!
------ For reference only -------------------------------------- -
depressed for a few days! Please help us to see.
------ For reference only -------------------------------------- -
resolved, as follows:
1, operating environment hadoop1.2.0, HUE 2.5.0
2, set the conf / mapred-site.xml
<>
<>
<>
3, hue-plugins-2.5.0-SNAPSHOT.jar copied to $ HADOOP_HOME / lib
will be prompted to start jobtracker lack org.apache.hadoop.mapred.JobTrackerPlugin.
JobTrackerPlugin at Cloudera / com.cloudera.hadoop / hadoop-core / 0.20.2-320 exists, the code is as follows
============================================== =================
package org.apache.hadoop.mapred;
import org.apache.hadoop.util.ServicePlugin;
/ **
* JobTrackerPlugins are found in mapred.jobtracker.plugins, and are started
* and stopped by a PluginDispatcher during JobTracker start-up.
* /
abstract public class JobTrackerPlugin implements ServicePlugin {
abstract public void start (Object service);
abstract public void stop ();
}
============================================== =================
http://grepcode.com/file/repository.cloudera.com/content/repositories/releases/com.cloudera.hadoop/hadoop-core/0.20.2-320/org/apache/hadoop/mapred/ JobTrackerPlugin.java can download
copy to hadoop the src directory, compile HADOOP, in the build directory where you can get the new hadoop-core.jar, midterm will contain the missing JobTrackerPlugin.
没有评论:
发表评论