Return-Path: X-Original-To: apmail-hadoop-hdfs-dev-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id AB494CA6D for ; Fri, 3 Aug 2012 20:39:03 +0000 (UTC) Received: (qmail 69456 invoked by uid 500); 3 Aug 2012 20:39:02 -0000 Delivered-To: apmail-hadoop-hdfs-dev-archive@hadoop.apache.org Received: (qmail 69176 invoked by uid 500); 3 Aug 2012 20:39:02 -0000 Mailing-List: contact hdfs-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-dev@hadoop.apache.org Delivered-To: mailing list hdfs-dev@hadoop.apache.org Received: (qmail 68900 invoked by uid 99); 3 Aug 2012 20:39:02 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Aug 2012 20:39:02 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id 5DD61142855 for ; Fri, 3 Aug 2012 20:39:02 +0000 (UTC) Date: Fri, 3 Aug 2012 20:39:02 +0000 (UTC) From: "Andy Isaacson (JIRA)" To: hdfs-dev@hadoop.apache.org Message-ID: <1699843438.11984.1344026342386.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Created] (HDFS-3760) primitiveCreate is a write, not a read MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Andy Isaacson created HDFS-3760: ----------------------------------- Summary: 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 {code} DistributedFileSystem.java: 246 protected HdfsDataOutputStream primitiveCreate(Path f, 247 FsPermission absolutePermission, EnumSet 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