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/blockmanagement/BlockCollection.java
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -79,7 +79,7 @@ public interface BlockCollection {
79
79
* Convert the last block of the collection to an under-construction block
Copy file name to clipboardExpand all lines: hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/blockmanagement/BlockInfo.java
+13-11Lines changed: 13 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -51,7 +51,7 @@ public abstract class BlockInfo extends Block
51
51
* per replica is 42 bytes (LinkedList#Entry object per replica) versus 16
52
52
* bytes using the triplets.
53
53
*/
54
-
protectedObject[] triplets;
54
+
Object[] triplets;
55
55
56
56
/**
57
57
* Construct an entry for blocksmap
@@ -295,7 +295,7 @@ public BlockInfo moveBlockToHead(BlockInfo head,
295
295
/**
296
296
* BlockInfo represents a block that is not being constructed.
297
297
* In order to start modifying the block, the BlockInfo should be converted
298
-
* to {@link BlockInfoContiguousUnderConstruction}.
298
+
* to {@link BlockInfoUnderConstruction}.
299
299
* @return {@link BlockUCState#COMPLETE}
300
300
*/
301
301
publicBlockUCStategetBlockUCState() {
@@ -312,27 +312,29 @@ public boolean isComplete() {
312
312
}
313
313
314
314
/**
315
-
* Convert a complete block to an under construction block.
315
+
* Convert a block to an under construction block.
316
316
* @return BlockInfoUnderConstruction - an under construction block.
Copy file name to clipboardExpand all lines: hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/blockmanagement/BlockInfoContiguous.java
0 commit comments