[
https://issues.apache.org/jira/browse/HDDS-1422?focusedWorklogId=225907&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-225907
]
ASF GitHub Bot logged work on HDDS-1422:
----------------------------------------
Author: ASF GitHub Bot
Created on: 11/Apr/19 01:35
Start Date: 11/Apr/19 01:35
Worklog Time Spent: 10m
Work Description: bharatviswa504 commented on issue #725: HDDS-1422.
Exception during DataNode shutdown. Contributed by Arpit A…
URL: https://github.com/apache/hadoop/pull/725#issuecomment-481931721
Hi @arp7
Thanks for the fix.
To understand the fix, we have removed the setting of usage to null, so that
even when DN is shut down, and if someone calls volume usage we return old
value, instead of throwing an exception.
Is my understanding correct or am I missing something here?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 225907)
Time Spent: 20m (was: 10m)
> Exception during DataNode shutdown
> ----------------------------------
>
> Key: HDDS-1422
> URL: https://issues.apache.org/jira/browse/HDDS-1422
> Project: Hadoop Distributed Data Store
> Issue Type: Bug
> Reporter: Arpit Agarwal
> Assignee: Arpit Agarwal
> Priority: Major
> Labels: pull-request-available
> Time Spent: 20m
> Remaining Estimate: 0h
>
> The following exception during DN shutdown should be avoided, as it adds
> noise to the logs and is not a real issue.
> {code}
> 2019-04-10 17:48:27,307 WARN volume.VolumeSet
> (VolumeSet.java:getNodeReport(476)) - Failed to get scmUsed and remaining for
> container storage location
> /Users/agarwal/src/hadoop/hadoop-ozone/integration-test/target/test/data/MiniOzoneClusterImpl-f4d89966-146a-4690-8841-36af1993522f/datanode-17/data/containers
> java.io.IOException: Volume Usage thread is not running. This error is
> usually seen during DataNode shutdown.
> at
> org.apache.hadoop.ozone.container.common.volume.VolumeInfo.getScmUsed(VolumeInfo.java:119)
> at
> org.apache.hadoop.ozone.container.common.volume.VolumeSet.getNodeReport(VolumeSet.java:472)
> at
> org.apache.hadoop.ozone.container.ozoneimpl.OzoneContainer.getNodeReport(OzoneContainer.java:238)
> at
> org.apache.hadoop.ozone.container.common.states.endpoint.RegisterEndpointTask.call(RegisterEndpointTask.java:115)
> at
> org.apache.hadoop.ozone.container.common.states.endpoint.RegisterEndpointTask.call(RegisterEndpointTask.java:47)
> at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
> at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
> at java.lang.Thread.run(Thread.java:748)
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]