You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSNamesystemLock.java
+19-15Lines changed: 19 additions & 15 deletions
Original file line number
Diff line number
Diff line change
@@ -56,7 +56,7 @@
56
56
* to be true, metrics will be emitted into the FSNamesystem metrics registry
57
57
* for each operation which acquires this lock indicating how long the operation
58
58
* held the lock for. These metrics have names of the form
59
-
* FSN(Read|Write)LockNanosOperationName, where OperationName denotes the name
59
+
* ${LockName}(Read|Write)LockNanosOperationName, where OperationName denotes the name
60
60
* of the operation that initiated the lock hold (this will be OTHER for certain
61
61
* uncategorized operations) and they export the hold time values in
62
62
* nanoseconds. Note that if a thread dies, metrics produced after the
Copy file name to clipboardExpand all lines: hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/fgl/FineGrainedFSNamesystemLock.java
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -35,8 +35,8 @@ public class FineGrainedFSNamesystemLock implements FSNLockManager {
Copy file name to clipboardExpand all lines: hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/fgl/GlobalFSNamesystemLock.java
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -29,7 +29,7 @@ public class GlobalFSNamesystemLock implements FSNLockManager {
Copy file name to clipboardExpand all lines: hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/TestFSNamesystemLock.java
+10-10Lines changed: 10 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -57,17 +57,17 @@ public void testFsLockFairness() throws IOException, InterruptedException{
0 commit comments