Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-11749

HttpServer2 thread pool is set to daemon

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      In many cases, it is not the problem because the rpc protocol will bock the process from exit. However, if the process only has a web server, since the thread pool is set to daemon, the process will immediately exit after starting it, but not stay and listen to the incoming requests.

      It's possible for us to work around to make the main thread being blocked, but I'm wondering if we can resolve it within HttpServer2.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              zjshen Zhijie Shen
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: