hi, there
When I try to use the distributed shell on yarn. client failed to connect
to resourcemanager.
From the source code, the Client is constructed by default construction:
public Client() throws Exception {
this(new Configuration());
}
So that resourcemanager's address in yarn-site.xml will not be loaded.
I change the code in Client$main():
from
Ln162 Client client = new Client();
to Client client = new Client(new YarnConfiguration());
And it works.
Is this an issue or because I did some wrong configuration??
Thanks,
Wei