From f0b9b6bbf253bb0dc8a22a4d07e8ba9a1059478c Mon Sep 17 00:00:00 2001 From: Andrew Purtell Date: Tue, 8 Jul 2014 15:09:09 -0700 Subject: [PATCH] HBASE-11481 TableSnapshotInputFormat javadoc wrongly claims HBase 'enforces security' --- .../hadoop/hbase/mapreduce/TableSnapshotInputFormat.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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 8071c5648b6..d3b81732a46 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