fix(yarn-query): 修复 mapper 没有使用 spring boot 提供的 mapper
This commit is contained in:
@@ -32,12 +32,12 @@ public class QueueResponseParseTest {
|
||||
}
|
||||
});*/
|
||||
|
||||
YarnConfiguration configuration = new YarnConfiguration();
|
||||
/*YarnConfiguration configuration = new YarnConfiguration();
|
||||
configuration.setCluster("b5");
|
||||
configuration.setWebUrl("http://b5m2.hdp.dc:8088");
|
||||
QueueServiceImpl service = new QueueServiceImpl(mapper, configuration);
|
||||
for (YarnQueue yarnQueue : service.list()) {
|
||||
System.out.println(yarnQueue.getQueueName());
|
||||
}
|
||||
}*/
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user