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

Potential NPE in ZKRMStateStore caused by handling Disconnected event from ZK.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.4.0
    • Fix Version/s: 2.4.1
    • Component/s: resourcemanager
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      For ZK disconnected event , zkClient is set to null. It is very much prone to throw NPE.

              case Disconnected:
                LOG.info("ZKRMStateStore Session disconnected");
                oldZkClient = zkClient;
                zkClient = null;
                break;
      

        Attachments

        1. yarn-1934-0.patch
          6 kB
          Karthik Kambatla
        2. RM.txt
          7 kB
          Rohith Sharma K S

          Activity

            People

            • Assignee:
              kasha Karthik Kambatla
              Reporter:
              rohithsharma Rohith Sharma K S
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: