Sumit Agrawal created HDDS-7463:
-----------------------------------

             Summary: 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
         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! 

 !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



--
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