Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-2823 SCM HA Support
  3. HDDS-4949

NullPointerException during SCM init

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.2.0
    • Component/s: None

      Description

      scm1_1       | java.lang.NullPointerException
      scm1_1       | 	at org.apache.hadoop.hdds.scm.ha.SCMStateMachine.close(SCMStateMachine.java:297)
      scm1_1       | 	at org.apache.ratis.server.impl.StateMachineUpdater.stop(StateMachineUpdater.java:130)
      scm1_1       | 	at org.apache.ratis.server.impl.StateMachineUpdater.run(StateMachineUpdater.java:184)
      scm1_1       | 	at java.base/java.lang.Thread.run(Thread.java:834)
      

      This is due to during SCM init, RatisServer is started with StateMachine initialized false.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                bharat Bharat Viswanadham
                Reporter:
                bharat Bharat Viswanadham
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: