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

Pratyush Bhatt updated HDDS-8507:
---------------------------------
    Summary: Ozone Datanode fails with Metrics source path already exists  
(was: Ozone Datanode fails with )

> Ozone Datanode fails with Metrics source path already exists
> ------------------------------------------------------------
>
>                 Key: HDDS-8507
>                 URL: https://issues.apache.org/jira/browse/HDDS-8507
>             Project: Apache Ozone
>          Issue Type: Bug
>          Components: Ozone Datanode
>    Affects Versions: 1.3.0
>            Reporter: Pratyush Bhatt
>            Priority: Major
>
> Ozone Datanode fails with the below error:
> {noformat}
> Exception in HddsDatanodeService.
> org.apache.hadoop.metrics2.MetricsException: Metrics source 
> VolumeInfoMetrics-/grid/2/hadoop-ozone/datanode/data already exists!
>       at 
> org.apache.hadoop.metrics2.lib.DefaultMetricsSystem.newSourceName(DefaultMetricsSystem.java:152)
>       at 
> org.apache.hadoop.metrics2.lib.DefaultMetricsSystem.sourceName(DefaultMetricsSystem.java:125)
>       at 
> org.apache.hadoop.metrics2.impl.MetricsSystemImpl.register(MetricsSystemImpl.java:229)
>       at 
> org.apache.hadoop.ozone.container.common.volume.VolumeInfoMetrics.init(VolumeInfoMetrics.java:50)
>       at 
> org.apache.hadoop.ozone.container.common.volume.VolumeInfoMetrics.<init>(VolumeInfoMetrics.java:45)
>       at 
> org.apache.hadoop.ozone.container.common.volume.HddsVolume.<init>(HddsVolume.java:140)
>       at 
> org.apache.hadoop.ozone.container.common.volume.HddsVolume.<init>(HddsVolume.java:73)
>       at 
> org.apache.hadoop.ozone.container.common.volume.HddsVolume$Builder.build(HddsVolume.java:115)
>       at 
> org.apache.hadoop.ozone.container.common.volume.HddsVolumeFactory.createFailedVolume(HddsVolumeFactory.java:60)
>       at 
> org.apache.hadoop.ozone.container.common.volume.MutableVolumeSet.initializeVolumeSet(MutableVolumeSet.java:187)
>       at 
> org.apache.hadoop.ozone.container.common.volume.MutableVolumeSet.<init>(MutableVolumeSet.java:135)
>       at 
> org.apache.hadoop.ozone.container.common.volume.MutableVolumeSet.<init>(MutableVolumeSet.java:99)
>       at 
> org.apache.hadoop.ozone.container.ozoneimpl.OzoneContainer.<init>(OzoneContainer.java:144)
>       at 
> org.apache.hadoop.ozone.container.common.statemachine.DatanodeStateMachine.<init>(DatanodeStateMachine.java:173)
>       at 
> org.apache.hadoop.ozone.HddsDatanodeService.start(HddsDatanodeService.java:294)
>       at 
> org.apache.hadoop.ozone.HddsDatanodeService.start(HddsDatanodeService.java:222)
>       at 
> org.apache.hadoop.ozone.HddsDatanodeService.call(HddsDatanodeService.java:190)
>       at 
> org.apache.hadoop.ozone.HddsDatanodeService.call(HddsDatanodeService.java:84)
>       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.GenericCli.run(GenericCli.java:91)
>       at 
> org.apache.hadoop.ozone.HddsDatanodeService.main(HddsDatanodeService.java:172){noformat}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to