Skip to content

Commit e506b3f

Browse files
committed
fix javadoc
1 parent 40df043 commit e506b3f

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/DistributedFileSystem.java

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -600,10 +600,9 @@ public FSDataOutputStream next(final FileSystem fs, final Path p)
600600
* inherited policy.
601601
*
602602
*/
603-
public HdfsDataOutputStream create(
604-
final Path f, final FsPermission permission,
605-
final EnumSet<CreateFlag> flag, final int bufferSize,
606-
final short replication, final long blockSize,
603+
public HdfsDataOutputStream create(final Path f,
604+
final FsPermission permission, final EnumSet<CreateFlag> flag,
605+
final int bufferSize, final short replication, final long blockSize,
607606
final Progressable progress, final ChecksumOpt checksumOpt,
608607
final InetSocketAddress[] favoredNodes, final String ecPolicyName,
609608
final String storagePolicy)

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -248,6 +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
251252
*/
252253
void copyBlockCrossNamespace(ExtendedBlock sourceBlk,
253254
Token<BlockTokenIdentifier> sourceBlockToken, ExtendedBlock targetBlk,

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -717,6 +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
720721
*/
721722
void hardLinkOneBlock(ExtendedBlock srcBlock, ExtendedBlock dstBlock)
722723
throws IOException;

0 commit comments

Comments
 (0)