ZanderXu opened a new pull request, #7232:
URL: https://github.com/apache/hadoop/pull/7232

   ```
   package org.apache.hadoop.hdfs.util;
   
   import org.apache.hadoop.hdfs.server.namenode.fgl.FSNamesystemLockMode;
   
   /** Read-write lock interface for FSNamesystem. */
   public interface RwLock {
     /** Acquire read lock. */
     default void readLock() {
       readLock(FSNamesystemLockMode.GLOBAL);
     }
    ...
   } 
   ```
   
   This dependency is not ideal. The `FSNamesystemLockMode` should be relocated 
to the same package as `RwLock`.
   


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