hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-3760) primitiveCreate is a write, not a read
Date Wed, 08 Aug 2012 06:29:11 GMT

    [ https://issues.apache.org/jira/browse/HDFS-3760?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13430899#comment-13430899
] 

Hudson commented on HDFS-3760:
------------------------------

Integrated in Hadoop-Hdfs-trunk-Commit #2627 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk-Commit/2627/])
    HDFS-3760. primitiveCreate is a write, not a read. Contributed by Andy Isaacson. (Revision
1370649)

     Result = SUCCESS
atm : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1370649
Files : 
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/DistributedFileSystem.java

                
> primitiveCreate is a write, not a read
> --------------------------------------
>
>                 Key: HDFS-3760
>                 URL: https://issues.apache.org/jira/browse/HDFS-3760
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: hdfs client
>    Affects Versions: 2.0.0-alpha
>            Reporter: Andy Isaacson
>            Assignee: Andy Isaacson
>            Priority: Minor
>             Fix For: 2.2.0-alpha
>
>         Attachments: hdfs-3760.txt
>
>
> {code}
> 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);
> {code}
> A {{create}} (whether primitive or not) is a write operation, not a read operation.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message