Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-10439

Yarn Service AM listens on all IP's on the machine

    XMLWordPrintableJSON

Details

    • 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

        1. YARN-10439.001.patch
          5 kB
          D M Murali Krishna Reddy
        2. YARN-10439.002.patch
          9 kB
          D M Murali Krishna Reddy

        Issue Links

          Activity

            People

              dmmkr D M Murali Krishna Reddy
              dmmkr D M Murali Krishna Reddy
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: