Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
2.0.0-alpha
-
None
-
Reviewed
Description
DistributedFileSystem.java: 246 protected HdfsDataOutputStream primitiveCreate(Path f, 247 FsPermission absolutePermission, EnumSet<CreateFlag> flag, int bufferSize, 248 short replication, long blockSize, Progressable progress, 249 int bytesPerChecksum) throws IOException { 250 statistics.incrementReadOps(1);
A create (whether primitive or not) is a write operation, not a read operation.