amahussein opened a new pull request #3196:
URL: https://github.com/apache/hadoop/pull/3196


   …and various FsDatasetImpl methods should use datanode readlock. Contributed 
By Stephen O'Donnell and Ahmed Hussein
   
   
   Backporting HDFS-15160 ReplicaMap, Disk Balancer, Directory Scanner and 
various FsDatasetImpl methods should use datanode readlock.
   
   Also backported the two jiras that fix unit tests:
   - HDFS-15818
   - HDFS-15457
   
   The main Conflicts were as follow:
   
     - main conflicts caused by [HDFS-10636. Modify ReplicaInfo to remove the 
assumption that replica metadata and data are stored in 
java.io.File.](https://issues.apache.org/jira/browse/HDFS-10636)
       - `FsDatasetImpl.java#validateBlockFile` due to HDFS-10636
       - `FsDatasetImpl.java#getFile` only exists in branch-2.10 and was 
removed in HDFS-10636
       - `DiskBalancer` does not exist in branch-2.10
       - `FsDatasetImpl.java#moveBlockAcrossStorage` is different in branch-2.10


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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to