Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-14327

Make RPC server inside Hive on Spark port range configuration

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 2.0.1
    • None
    • Spark
    • None

    Description

      Currently the RPC server inside the hive on spark binds to a random port, which causes the issue in production environment that firewall is enabled and certain ports are enabled. Make the range configurable so the admin can control it.

       .option(ChannelOption.SO_BACKLOG, 1)
            .option(ChannelOption.SO_REUSEADDR, true)
            .childOption(ChannelOption.SO_KEEPALIVE, true)
            .bind(0)
            .sync()
            .channel();
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              aihuaxu Aihua Xu
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: