AnsweredAssumed Answered

mapr4: optaining resourcemanager + history server address from installed mapr-client

Question asked by oae on Mar 10, 2015
Cheers,

i'm having a fully configured mapr-client installed and a java program on the same machine.
Now i want to access maprfs and submit a yarn map-reduce job from that java program.

MapRFs is easy, just need to configure fs.default.name=maprfs:/// and it uses the proper address configured in /opt/mapr/conf/mapr-clusters.conf .

Now whats with things like resource-manager & history-server addresses which i need to submit a job.
Is there an easy way obtaining them from the client as well ? Or do i need to read the site xml's ?

best
Johannes

Outcomes