Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-3760

primitiveCreate is a write, not a read

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.0.0-alpha
    • 2.0.2-alpha
    • hdfs-client
    • 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.

      Attachments

        1. hdfs-3760.txt
          1 kB
          Andy Isaacson

        Activity

          People

            adi2 Andy Isaacson
            adi2 Andy Isaacson
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: