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

[HOD] Uncaught exceptions can potentially hang hod-client.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.18.1
    • contrib/hod
    • None

    Description

      In hod-client, we have

      sys.exit(hod.operation())
      sys.exit(hod.script())
      

      sys.exit(opCode) makes sure that the client is truly cleaned up, killing unjoined threads etc. So, exceptions not caught by hodRunner.operation() or hodRunner.script(), will by-pass sys.exit method and thus can potentially hang hod-client.

      For e.g., when hod allocate fails after allocation and before service-registry thread is cleaned up, hod client will hang.

      Attachments

        1. HADOOP-4161
          0.6 kB
          Vinod Kumar Vavilapalli

        Activity

          People

            vinodkv Vinod Kumar Vavilapalli
            vinodkv Vinod Kumar Vavilapalli
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: