Return-Path: X-Original-To: apmail-hadoop-common-commits-archive@www.apache.org Delivered-To: apmail-hadoop-common-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 85D56189FB for ; Thu, 16 Jul 2015 17:36:49 +0000 (UTC) Received: (qmail 18533 invoked by uid 500); 16 Jul 2015 17:36:47 -0000 Delivered-To: apmail-hadoop-common-commits-archive@hadoop.apache.org Received: (qmail 18061 invoked by uid 500); 16 Jul 2015 17:36:47 -0000 Mailing-List: contact common-commits-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-dev@hadoop.apache.org Delivered-To: mailing list common-commits@hadoop.apache.org Received: (qmail 17064 invoked by uid 99); 16 Jul 2015 17:36:46 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Jul 2015 17:36:46 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 8E7E9E682E; Thu, 16 Jul 2015 17:36:46 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: aw@apache.org To: common-commits@hadoop.apache.org Date: Thu, 16 Jul 2015 17:36:58 -0000 Message-Id: In-Reply-To: <73331f571a9e4867be8f749480915880@git.apache.org> References: <73331f571a9e4867be8f749480915880@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [13/21] hadoop git commit: HADOOP-12153. ByteBufferReadable doesn't declare @InterfaceAudience and @InterfaceStability. Contributed by Brahma Reddy Battula. HADOOP-12153. ByteBufferReadable doesn't declare @InterfaceAudience and @InterfaceStability. Contributed by Brahma Reddy Battula. Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/cec1d43d Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/cec1d43d Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/cec1d43d Branch: refs/heads/HADOOP-12111 Commit: cec1d43db026e66a9e84b5c3e8476dfd33f17ecb Parents: 0a16ee6 Author: Tsuyoshi Ozawa Authored: Wed Jul 15 14:18:12 2015 +0900 Committer: Tsuyoshi Ozawa Committed: Wed Jul 15 14:19:17 2015 +0900 ---------------------------------------------------------------------- hadoop-common-project/hadoop-common/CHANGES.txt | 3 +++ .../src/main/java/org/apache/hadoop/fs/ByteBufferReadable.java | 4 ++++ 2 files changed, 7 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hadoop/blob/cec1d43d/hadoop-common-project/hadoop-common/CHANGES.txt ---------------------------------------------------------------------- diff --git a/hadoop-common-project/hadoop-common/CHANGES.txt b/hadoop-common-project/hadoop-common/CHANGES.txt index a807d12..3d64156 100644 --- a/hadoop-common-project/hadoop-common/CHANGES.txt +++ b/hadoop-common-project/hadoop-common/CHANGES.txt @@ -697,6 +697,9 @@ Release 2.8.0 - UNRELEASED HADOOP-12211. Collect disk usage on the node (Robert Grandl via cdouglas) + HADOOP-12153. ByteBufferReadable doesn't declare @InterfaceAudience and + @InterfaceStability. (Brahma Reddy Battula via ozawa) + OPTIMIZATIONS HADOOP-11785. Reduce the number of listStatus operation in distcp http://git-wip-us.apache.org/repos/asf/hadoop/blob/cec1d43d/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/ByteBufferReadable.java ---------------------------------------------------------------------- diff --git a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/ByteBufferReadable.java b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/ByteBufferReadable.java index aa6e85e..20f7224 100644 --- a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/ByteBufferReadable.java +++ b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/ByteBufferReadable.java @@ -19,11 +19,15 @@ package org.apache.hadoop.fs; import java.io.IOException; import java.nio.ByteBuffer; +import org.apache.hadoop.classification.InterfaceAudience; +import org.apache.hadoop.classification.InterfaceStability; /** * Implementers of this interface provide a read API that writes to a * ByteBuffer, not a byte[]. */ +@InterfaceAudience.Public +@InterfaceStability.Evolving public interface ByteBufferReadable { /** * Reads up to buf.remaining() bytes into buf. Callers should use