Hadoop Common
  1. Hadoop Common
  2. HADOOP-4161

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

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.18.1
    • Component/s: contrib/hod
    • Labels:
      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.

      1. HADOOP-4161
        0.6 kB
        Vinod Kumar Vavilapalli

        Activity

        Nigel Daley made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Nigel Daley made changes -
        Resolution Fixed [ 1 ]
        Fix Version/s 0.19.0 [ 12313211 ]
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Vinod Kumar Vavilapalli made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Vinod Kumar Vavilapalli made changes -
        Attachment HADOOP-4161 [ 12389920 ]
        Vinod Kumar Vavilapalli made changes -
        Assignee Vinod K V [ vinodkv ]
        Vinod Kumar Vavilapalli made changes -
        Field Original Value New Value
        Component/s contrib/hod [ 12312090 ]
        Vinod Kumar Vavilapalli created issue -

          People

          • Assignee:
            Vinod Kumar Vavilapalli
            Reporter:
            Vinod Kumar Vavilapalli
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development