Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0.0-alpha
    • Fix Version/s: 2.0.2-alpha
    • Component/s: hdfs-client
    • Labels:
      None
    • Hadoop Flags:
      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.

      1. hdfs-3760.txt
        1 kB
        Andy Isaacson

        Activity

        Arun C Murthy made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Aaron T. Myers made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Hadoop Flags Reviewed [ 10343 ]
        Fix Version/s 2.2.0-alpha [ 12322472 ]
        Resolution Fixed [ 1 ]
        Andy Isaacson made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Andy Isaacson made changes -
        Field Original Value New Value
        Attachment hdfs-3760.txt [ 12539094 ]
        Andy Isaacson created issue -

          People

          • Assignee:
            Andy Isaacson
            Reporter:
            Andy Isaacson
          • Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development