You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Sumit Agrawal (Jira)" <ji...@apache.org> on 2022/11/07 13:55:00 UTC
[jira] [Updated] (HDDS-7463) SCM Pipeline scrubber never able to cleanup allocated pipeline
[ https://issues.apache.org/jira/browse/HDDS-7463?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sumit Agrawal updated HDDS-7463:
--------------------------------
Description:
Pipeline is created and remains in allocated state, never able to remove from SCM. This is stuck as time library used are different and never able to work.
1. Time compared with current is always negative. as clock used is from hadoop time package which make use of System.nanoTime(), while java.util time package make use of different function. Both can not be used together.
!image-2022-11-07-19-17-20-807.png|width=240,height=240!
!image-2022-11-07-19-18-41-408.png|width=250,height=250!
!image-2022-11-07-19-19-30-448.png|width=250,height=250!
As per below link, System.nanoTime() is used to measure elapsed time, so can be useful for time taken by method, but not as part of time of system.
[https://stackoverflow.com/questions/32443254/how-can-i-convert-the-result-of-system-nanotime-to-a-date-in-java]
was:
Pipeline is created and remains in allocated state, never able to remove from SCM. This is stuck as time library used are different and never able to work.
1. Time compared with current is always negative. as clock used is from hadoop time package which make use of System.nanoTime(), while java.util time package make use of different function. Both can not be used together.
!image-2022-11-07-19-17-20-807.png!
!image-2022-11-07-19-18-41-408.png!
!image-2022-11-07-19-19-30-448.png!
As per below link, System.nanoTime() is used to measure elapsed time, so can be useful for time taken by method, but not as part of time of system.
https://stackoverflow.com/questions/32443254/how-can-i-convert-the-result-of-system-nanotime-to-a-date-in-java
> SCM Pipeline scrubber never able to cleanup allocated pipeline
> --------------------------------------------------------------
>
> Key: HDDS-7463
> URL: https://issues.apache.org/jira/browse/HDDS-7463
> Project: Apache Ozone
> Issue Type: Bug
> Components: SCM
> Reporter: Sumit Agrawal
> Assignee: Sumit Agrawal
> Priority: Major
> Attachments: image-2022-11-07-19-17-20-807.png, image-2022-11-07-19-18-41-408.png, image-2022-11-07-19-19-30-448.png
>
>
> Pipeline is created and remains in allocated state, never able to remove from SCM. This is stuck as time library used are different and never able to work.
> 1. Time compared with current is always negative. as clock used is from hadoop time package which make use of System.nanoTime(), while java.util time package make use of different function. Both can not be used together.
> !image-2022-11-07-19-17-20-807.png|width=240,height=240!
> !image-2022-11-07-19-18-41-408.png|width=250,height=250!
> !image-2022-11-07-19-19-30-448.png|width=250,height=250!
> As per below link, System.nanoTime() is used to measure elapsed time, so can be useful for time taken by method, but not as part of time of system.
> [https://stackoverflow.com/questions/32443254/how-can-i-convert-the-result-of-system-nanotime-to-a-date-in-java]
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org