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

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

> 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
>              Labels: pull-request-available
>         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=750,height=240!
> !image-2022-11-07-19-18-41-408.png|width=750,height=250!
> !image-2022-11-07-19-19-30-448.png|width=750,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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to