[ 
https://issues.apache.org/jira/browse/HDFS-16650?focusedWorklogId=788488&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-788488
 ]

ASF GitHub Bot logged work on HDFS-16650:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 07/Jul/22 05:58
            Start Date: 07/Jul/22 05:58
    Worklog Time Spent: 10m 
      Work Description: jianghuazhu commented on PR #4528:
URL: https://github.com/apache/hadoop/pull/4528#issuecomment-1177118981

   Here are some of my local tests.
   TestReconstructStripedFileWithValidator:
   
![image](https://user-images.githubusercontent.com/6416939/177702049-d941efe7-2026-4f5a-9d2d-59ac1758360e.png)
   
   TestMover:
   
![image](https://user-images.githubusercontent.com/6416939/177702079-32026f95-f2c7-4266-a491-2f1c401b7732.png)
   
   TestUpdatePipelineWithSnapshots:
   
![image](https://user-images.githubusercontent.com/6416939/177702104-72c35471-0c40-4174-bbb1-f8b96fb84e4a.png)
   
   It seems that the failure of TestExternalStoragePolicySatisfier is related 
to SPS, and the failure of TestPipelinesFailover is related to the 
initialization of MiniDFSCluster.




Issue Time Tracking
-------------------

    Worklog Id:     (was: 788488)
    Time Spent: 1h  (was: 50m)

> Optimize the cost of obtaining timestamps in Centralized cache management
> -------------------------------------------------------------------------
>
>                 Key: HDFS-16650
>                 URL: https://issues.apache.org/jira/browse/HDFS-16650
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: caching
>    Affects Versions: 2.9.2
>            Reporter: JiangHua Zhu
>            Assignee: JiangHua Zhu
>            Priority: Minor
>              Labels: pull-request-available
>          Time Spent: 1h
>  Remaining Estimate: 0h
>
> Getting timestamps in Centralized cache management is done in the following 
> ways:
> {code:java}
> long now = new Date().getTime();
> {code}
> This approach doesn't seem to be optimal since we only use it once here.
> It might be better to use the tool Time to get the timestamp. E.g:
> {code:java}
> long now = Time.now();
> {code}



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