Skip to content

Commit 5840bfa

Browse files
committed
fix doc for DistributedFileSystem.create() in jdk11
1 parent ac54fc1 commit 5840bfa

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

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

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -599,6 +599,21 @@ public FSDataOutputStream next(final FileSystem fs, final Path p)
599599
* specifies an explicit storage policy for this file, overriding the
600600
* inherited policy.
601601
*
602+
* @param f the file name to open
603+
* @param permission file permission
604+
* @param flag {@link CreateFlag}s to use for this stream
605+
* @param bufferSize the size of the buffer to be used
606+
* @param replication required block replication for the file
607+
* @param blockSize block size
608+
* @param progress the progress reporter
609+
* @param checksumOpt checksum parameter. If null, the values
610+
* found in conf will be used
611+
* @param favoredNodes favored nodes address list
612+
* @param ecPolicyName file ecPolicyName
613+
* @param storagePolicy file storage policy
614+
* @throws IOException IO failure
615+
* @see #setPermission(Path, FsPermission)
616+
* @return output stream
602617
*/
603618
public HdfsDataOutputStream create(final Path f,
604619
final FsPermission permission, final EnumSet<CreateFlag> flag,

0 commit comments

Comments
 (0)