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给出了部分说明。
答案 0 :(得分:0)
在Maven上添加每个hadoop jar之后,我找到了它:
compile group: 'org.apache.hadoop', name: 'hadoop-yarn-server-resourcemanager', version: '2.5.1'