Return-Path: X-Original-To: apmail-hbase-commits-archive@www.apache.org Delivered-To: apmail-hbase-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 92A0911519 for ; Tue, 8 Jul 2014 22:09:23 +0000 (UTC) Received: (qmail 31366 invoked by uid 500); 8 Jul 2014 22:09:23 -0000 Delivered-To: apmail-hbase-commits-archive@hbase.apache.org Received: (qmail 31322 invoked by uid 500); 8 Jul 2014 22:09:23 -0000 Mailing-List: contact commits-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hbase.apache.org Delivered-To: mailing list commits@hbase.apache.org Received: (qmail 31310 invoked by uid 99); 8 Jul 2014 22:09:23 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Jul 2014 22:09:23 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 2BEDA9A8654; Tue, 8 Jul 2014 22:09:23 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: apurtell@apache.org To: commits@hbase.apache.org Message-Id: <62eb203db14444e28df90bc3d8283db4@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: git commit: HBASE-11481 TableSnapshotInputFormat javadoc wrongly claims HBase 'enforces security' Date: Tue, 8 Jul 2014 22:09:23 +0000 (UTC) Repository: hbase Updated Branches: refs/heads/master ed9ab7018 -> f0b9b6bbf HBASE-11481 TableSnapshotInputFormat javadoc wrongly claims HBase 'enforces security' Project: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/f0b9b6bb Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/f0b9b6bb Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/f0b9b6bb Branch: refs/heads/master Commit: f0b9b6bbf253bb0dc8a22a4d07e8ba9a1059478c Parents: ed9ab70 Author: Andrew Purtell Authored: Tue Jul 8 15:09:09 2014 -0700 Committer: Andrew Purtell Committed: Tue Jul 8 15:09:09 2014 -0700 ---------------------------------------------------------------------- .../apache/hadoop/hbase/mapreduce/TableSnapshotInputFormat.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hbase/blob/f0b9b6bb/hbase-server/src/main/java/org/apache/hadoop/hbase/mapreduce/TableSnapshotInputFormat.java ---------------------------------------------------------------------- diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/mapreduce/TableSnapshotInputFormat.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/mapreduce/TableSnapshotInputFormat.java index 8071c56..d3b8173 100644 --- a/hbase-server/src/main/java/org/apache/hadoop/hbase/mapreduce/TableSnapshotInputFormat.java +++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/mapreduce/TableSnapshotInputFormat.java @@ -74,9 +74,8 @@ import com.google.common.annotations.VisibleForTesting; * from each RecordReader. An internal RegionScanner is used to execute the {@link Scan} obtained * from the user. *

- * HBase owns all the data and snapshot files on the filesystem. Only the HBase user can read from - * snapshot files and data files. HBase also enforces security because all the requests are handled - * by the server layer, and the user cannot read from the data files directly. + * HBase owns all the data and snapshot files on the filesystem. Only the 'hbase' user can read from + * snapshot files and data files. * To read from snapshot files directly from the file system, the user who is running the MR job * must have sufficient permissions to access snapshot and reference files. * This means that to run mapreduce over snapshot files, the MR job has to be run as the HBase