什么hadoop jar我需要获得WeightAdjuster界面

时间:2014-09-30 20:02:39

标签: java maven hadoop jar gradle

org.apache.hadoop.mapred.WeightAdjuster

org.apache.hadoop.mapred.NewJobWeightBooster

我已经添加了几乎可以在Maven上找到的所有罐子。这是我目前的build.gradle:

dependencies {
    compile group: 'org.apache.hadoop', name: 'hadoop-core', version: '1.2.1'
    compile group: 'org.apache.hadoop', name: 'hadoop-common', version: '2.5.1'
    compile group: 'org.apache.hadoop', name: 'hadoop-yarn-common', version: '2.5.1'
    compile group: 'org.apache.hadoop', name: 'hadoop-yarn-server-common', version: '2.5.1'
    compile group: 'org.apache.hadoop', name: 'hadoop-mapreduce-client-core', version: '2.5.1'
    compile group: 'org.apache.hadoop', name: 'hadoop-mapreduce-client-common', version: '2.5.1'
    compile group: 'org.apache.hadoop', name: 'hadoop-mapreduce-client-jobclient', version: '2.5.1'
    compile group: 'org.apache.hadoop', name: 'hadoop-mapreduce-client-app', version: '2.5.1'
    compile group: 'org.apache.hadoop', name: 'hadoop-tools', version: '1.2.1'
}

我应该抓住哪个罐子? This link给出了部分说明。

1 个答案:

答案 0 :(得分:0)

在Maven上添加每个hadoop jar之后,我找到了它:

compile group: 'org.apache.hadoop', name: 'hadoop-yarn-server-resourcemanager', version: '2.5.1'