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

Datanode fails to start with invalid checksum size setting

    XMLWordPrintableJSON

Details

    Description

      datanode_3  | 2024-02-26 15:11:29,651 [main] ERROR ozone.HddsDatanodeService: Exception in HddsDatanodeService.
      datanode_3  | org.apache.hadoop.hdds.conf.ConfigurationException: Failed to inject configuration to OzoneClientConfig.bytesPerChecksum
      datanode_3  | 	at org.apache.hadoop.hdds.conf.ConfigurationReflectionUtil.setField(ConfigurationReflectionUtil.java:146)
      datanode_3  | 	at org.apache.hadoop.hdds.conf.ConfigurationReflectionUtil.injectConfigurationToObject(ConfigurationReflectionUtil.java:103)
      datanode_3  | 	at org.apache.hadoop.hdds.conf.ConfigurationReflectionUtil.injectConfiguration(ConfigurationReflectionUtil.java:73)
      datanode_3  | 	at org.apache.hadoop.hdds.conf.ConfigurationSource.getObject(ConfigurationSource.java:177)
      datanode_3  | 	at org.apache.hadoop.ozone.container.ec.reconstruction.ECReconstructionCoordinator.<init>(ECReconstructionCoordinator.java:128)
      datanode_3  | 	at org.apache.hadoop.ozone.container.common.statemachine.DatanodeStateMachine.<init>(DatanodeStateMachine.java:223)
      datanode_3  | 	at org.apache.hadoop.ozone.HddsDatanodeService.start(HddsDatanodeService.java:299)
      datanode_3  | 	at org.apache.hadoop.ozone.HddsDatanodeService.start(HddsDatanodeService.java:213)
      datanode_3  | 	at org.apache.hadoop.ozone.HddsDatanodeService.call(HddsDatanodeService.java:181)
      datanode_3  | 	at org.apache.hadoop.ozone.HddsDatanodeService.call(HddsDatanodeService.java:98)
      datanode_3  | 	at picocli.CommandLine.executeUserObject(CommandLine.java:2041)
      datanode_3  | 	at picocli.CommandLine.access$1500(CommandLine.java:148)
      datanode_3  | 	at picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2461)
      datanode_3  | 	at picocli.CommandLine$RunLast.handle(CommandLine.java:2453)
      datanode_3  | 	at picocli.CommandLine$RunLast.handle(CommandLine.java:2415)
      datanode_3  | 	at picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:2273)
      datanode_3  | 	at picocli.CommandLine$RunLast.execute(CommandLine.java:2417)
      datanode_3  | 	at picocli.CommandLine.execute(CommandLine.java:2170)
      datanode_3  | 	at org.apache.hadoop.hdds.cli.GenericCli.execute(GenericCli.java:100)
      datanode_3  | 	at org.apache.hadoop.hdds.cli.GenericCli.run(GenericCli.java:91)
      datanode_3  | 	at org.apache.hadoop.ozone.HddsDatanodeService.main(HddsDatanodeService.java:163)
      datanode_3  | Caused by: java.lang.IllegalArgumentException: 1024 is not in expected format.Expected format is <number><unit>. e.g. 1000MB
      datanode_3  | 	at org.apache.hadoop.hdds.conf.StorageSize.parse(StorageSize.java:61)
      datanode_3  | 	at org.apache.hadoop.hdds.conf.ConfigType$7.parse(ConfigType.java:121)
      datanode_3  | 	at org.apache.hadoop.hdds.conf.ConfigurationReflectionUtil.setField(ConfigurationReflectionUtil.java:142)
      datanode_3  | 	... 20 more
      

      Attachments

        Issue Links

          Activity

            People

              adoroszlai Attila Doroszlai
              Sammi Sammi Chen
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: