2013年7月31日星期三

mapred.jobtracker.plugins not start

In conf / mapred-site.xml about adding content in the system can start HUE provides plug-in, HUE manage JOB.




mapred.jobtracker.plugins <>
org.apache.hadoop.thriftfs.ThriftJobTrackerPlugin <>
Comma-separated list of jobtracker plug-ins to be activated.
<>
<>

jobtracker.thrift.address <>
0.0.0.0:9290 <>
<>

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



mapreduce.jobtracker.plugins <>
org.apache.hadoop.thriftfs.ThriftJobTrackerPlugin <>
Comma-separated list of jobtracker plug-ins to be activated.
<>
<>

jobtracker.thrift.address <>
0.0.0.0:9290 <>
<>

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.

没有评论:

发表评论