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

NPE while decommissioning an OM node

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Not A Bug
    • 1.3.0
    • None
    • OM HA
    • None

    Description

      OM decommission may with an NPE:

      java.lang.NullPointerException
      	at org.apache.hadoop.ozone.admin.om.DecommissionOMSubcommand.checkOMConfig(DecommissionOMSubcommand.java:201)
      	at org.apache.hadoop.ozone.admin.om.DecommissionOMSubcommand.verifyConfigUpdatedOnAllOMs(DecommissionOMSubcommand.java:178)
      	at org.apache.hadoop.ozone.admin.om.DecommissionOMSubcommand.call(DecommissionOMSubcommand.java:104)
      	at org.apache.hadoop.ozone.admin.om.DecommissionOMSubcommand.call(DecommissionOMSubcommand.java:45)
      	at picocli.CommandLine.executeUserObject(CommandLine.java:1953)
      	at picocli.CommandLine.access$1300(CommandLine.java:145)
      	at picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2352)
      	at picocli.CommandLine$RunLast.handle(CommandLine.java:2346)
      	at picocli.CommandLine$RunLast.handle(CommandLine.java:2311)
      	at picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:2179)
      	at picocli.CommandLine.execute(CommandLine.java:2078)
      	at org.apache.hadoop.hdds.cli.GenericCli.execute(GenericCli.java:100)
      	at org.apache.hadoop.hdds.cli.OzoneAdmin.lambda$execute$0(OzoneAdmin.java:93)
      	at org.apache.hadoop.hdds.tracing.TracingUtil.executeInNewSpan(TracingUtil.java:162)
      	at org.apache.hadoop.hdds.cli.OzoneAdmin.execute(OzoneAdmin.java:92)
      	at org.apache.hadoop.hdds.cli.GenericCli.run(GenericCli.java:91)
      	at org.apache.hadoop.hdds.cli.OzoneAdmin.main(OzoneAdmin.java:86)
      
      

      Attachments

        Issue Links

          Activity

            People

              aryangupta1998 Aryan Gupta
              Siberian Sky Kirill Sizov
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: