Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-6649

SCM start failed NullPointerException when meta/db directories changed

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • SCM HA
    • None

    Description

      steps taken :

      1)Modified Datanode ID Directory, Datanode Data Directory

      2) Modified Storage Container Manager Data Directory, Storage Container Manager Metadata Directory

      3) Modified Ozone Manager Data Directory, Ozone Manager Metadata Directory, Ozone Manager Ratis Storage Directory

      4) Modified Datanode Ratis Metadata Directory, Datanode Metadata Directory

      5) restarted Ozone

      2022-04-26 11:04:47,813 ERROR org.apache.ratis.statemachine.StateMachine: Terminating with exit status 1: null
      java.lang.NullPointerException
              at org.apache.hadoop.hdds.scm.ha.SCMStateMachine.process(SCMStateMachine.java:159)
              at org.apache.hadoop.hdds.scm.ha.SCMStateMachine.applyTransaction(SCMStateMachine.java:139)
              at org.apache.ratis.server.impl.RaftServerImpl.applyLogToStateMachine(RaftServerImpl.java:1723)
              at org.apache.ratis.server.impl.StateMachineUpdater.applyLog(StateMachineUpdater.java:234)
              at org.apache.ratis.server.impl.StateMachineUpdater.run(StateMachineUpdater.java:179)
              at java.base/java.lang.Thread.run(Thread.java:834)
      2022-04-26 11:04:47,822 INFO org.apache.hadoop.hdds.scm.server.StorageContainerManagerStarter: SHUTDOWN_MSG:
      /************************************************************

      Attachments

        Activity

          People

            Unassigned Unassigned
            nilotpalnandi Nilotpal Nandi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: