Skip to content

Commit edddf67

Browse files
committed
fix javadoc
1 parent 375abd9 commit edddf67

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/protocol/datatransfer/DataTransferProtocol.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ void blockGroupChecksum(StripedBlockInfo stripedBlockInfo,
248248
* @param targetBlk the block to be writted.
249249
* @param targetBlockToken security token for accessing targetBlk.
250250
* @param targetDatanode the target datnode which sourceBlk will copy to as targetBlk.
251-
* @throws IOException throws IOException
251+
* @throws IOException if an I/O error occurred
252252
*/
253253
void copyBlockCrossNamespace(ExtendedBlock sourceBlk,
254254
Token<BlockTokenIdentifier> sourceBlockToken, ExtendedBlock targetBlk,

hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/DirectoryScanner.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -461,6 +461,7 @@ void shutdown() {
461461

462462
/**
463463
* Reconcile differences between disk and in-memory blocks
464+
* @throws IOException if an I/O error occurred
464465
*/
465466
@VisibleForTesting
466467
public void reconcile() throws IOException {

hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/fsdataset/FsDatasetSpi.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -717,7 +717,7 @@ default void setLastDirScannerFinishTime(long time) {}
717717
* @param dstBlock
718718
* the destination block to which the srcBlock needs to be copied to
719719
* @throws IOException
720-
* throws IOException
720+
* if an I/O error occurred
721721
*/
722722
void hardLinkOneBlock(ExtendedBlock srcBlock, ExtendedBlock dstBlock)
723723
throws IOException;

0 commit comments

Comments
 (0)