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

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 2.4.0
    • 2.4.1
    • resourcemanager
    • None
    • 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. RM.txt
          7 kB
          Rohith Sharma K S
        2. yarn-1934-0.patch
          6 kB
          Karthik Kambatla

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: