You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2021/09/27 08:16:00 UTC

[jira] [Updated] (HDDS-5782) DatanodeRatisGrpcConfig use wrong type for config keys

     [ https://issues.apache.org/jira/browse/HDDS-5782?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ASF GitHub Bot updated HDDS-5782:
---------------------------------
    Labels: pull-request-available  (was: )

> DatanodeRatisGrpcConfig use wrong type for config keys
> ------------------------------------------------------
>
>                 Key: HDDS-5782
>                 URL: https://issues.apache.org/jira/browse/HDDS-5782
>             Project: Apache Ozone
>          Issue Type: Bug
>            Reporter: Sammi Chen
>            Assignee: Sammi Chen
>            Priority: Major
>              Labels: pull-request-available
>
> When trying to use DatanodeRatisGrpcConfig  in XceiverServerRatis, it reports type error and DN failed to start. 
> 2021-09-23 10:18:57,337 [main] ERROR org.apache.hadoop.ozone.HddsDatanodeService: Exception in HddsDatanodeService.
> java.lang.NumberFormatException: For input string: "32MB"
>         at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
>         at java.lang.Integer.parseInt(Integer.java:580)
>         at java.lang.Integer.parseInt(Integer.java:615)
>         at org.apache.hadoop.hdds.conf.ConfigurationReflectionUtil.injectConfigurationToObject(ConfigurationReflectionUtil.java:86)
>         at org.apache.hadoop.hdds.conf.ConfigurationReflectionUtil.injectConfiguration(ConfigurationReflectionUtil.java:41)
>         at org.apache.hadoop.hdds.conf.ConfigurationSource.getObject(ConfigurationSource.java:143)
>         at org.apache.hadoop.ozone.container.common.transport.server.ratis.XceiverServerRatis.newRaftProperties(XceiverServerRatis.java:347)
>         at org.apache.hadoop.ozone.container.common.transport.server.ratis.XceiverServerRatis.<init>(XceiverServerRatis.java:159)
>         at org.apache.hadoop.ozone.container.common.transport.server.ratis.XceiverServerRatis.newXceiverServerRatis(XceiverServerRatis.java:450)
>         at org.apache.hadoop.ozone.container.ozoneimpl.OzoneContainer.<init>(OzoneContainer.java:172)
>         at org.apache.hadoop.ozone.container.common.statemachine.DatanodeStateMachine.<init>(DatanodeStateMachine.java:150)
>         at org.apache.hadoop.ozone.HddsDatanodeService.start(HddsDatanodeService.java:275)
>         at org.apache.hadoop.ozone.HddsDatanodeService.start(HddsDatanodeService.java:207)
>         at org.apache.hadoop.ozone.HddsDatanodeService.call(HddsDatanodeService.java:175)
>         at org.apache.hadoop.ozone.HddsDatanodeService.call(HddsDatanodeService.java:92)
>         at picocli.CommandLine.executeUserObject(CommandLine.java:1933)
>         at picocli.CommandLine.access$1100(CommandLine.java:145)
>         at picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2332)
>         at picocli.CommandLine$RunLast.handle(CommandLine.java:2326)
>         at picocli.CommandLine$RunLast.handle(CommandLine.java:2291)
>         at picocli.CommandLine$AbstractParseResultHandler.handleParseResult(CommandLine.java:2152)
>         at picocli.CommandLine.parseWithHandlers(CommandLine.java:2530)
>         at picocli.CommandLine.parseWithHandler(CommandLine.java:2465)
>         at org.apache.hadoop.hdds.cli.GenericCli.execute(GenericCli.java:96)
>         at org.apache.hadoop.hdds.cli.GenericCli.run(GenericCli.java:87)
>         at org.apache.hadoop.ozone.HddsDatanodeService.main(HddsDatanodeService.java:158)



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org