Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
None
-
Reviewed
Description
In ClientAMService.java, rpc server is created without passing hostname, due to which the client listens on 0.0.0.0, which is a bad practise.
InetSocketAddress address = new InetSocketAddress(0);
server = rpc.getServer(ClientAMProtocol.class, this, address, conf, context.secretManager, 1);
Also, a new configuration must be added similar to "yarn.app.mapreduce.am.job.client.port-range", so that client can configure port range for yarn service AM to bind.
Attachments
Attachments
Issue Links
- duplicates
-
YARN-9907 Make YARN Service AM RPC port configurable
- Resolved