Repository: incubator-ranger
Updated Branches:
  refs/heads/master 28439c804 -> 23f540e56


Spelling typos


Project: http://git-wip-us.apache.org/repos/asf/incubator-ranger/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ranger/commit/23f540e5
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ranger/tree/23f540e5
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ranger/diff/23f540e5

Branch: refs/heads/master
Commit: 23f540e56c536e96931071cb3a0e19c39684a703
Parents: 28439c8
Author: Colm O hEigeartaigh <[email protected]>
Authored: Thu Jun 9 10:06:39 2016 +0100
Committer: Colm O hEigeartaigh <[email protected]>
Committed: Thu Jun 9 10:06:39 2016 +0100

----------------------------------------------------------------------
 .../authorization/hive/authorizer/RangerHiveAuthorizer.java      | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ranger/blob/23f540e5/hive-agent/src/main/java/org/apache/ranger/authorization/hive/authorizer/RangerHiveAuthorizer.java
----------------------------------------------------------------------
diff --git 
a/hive-agent/src/main/java/org/apache/ranger/authorization/hive/authorizer/RangerHiveAuthorizer.java
 
b/hive-agent/src/main/java/org/apache/ranger/authorization/hive/authorizer/RangerHiveAuthorizer.java
index b1f312e..3ad4d60 100644
--- 
a/hive-agent/src/main/java/org/apache/ranger/authorization/hive/authorizer/RangerHiveAuthorizer.java
+++ 
b/hive-agent/src/main/java/org/apache/ranger/authorization/hive/authorizer/RangerHiveAuthorizer.java
@@ -842,8 +842,8 @@ public class RangerHiveAuthorizer extends 
RangerHiveAuthorizerBase {
                                        - this would appear in the outputHObjs, 
i.e. accessType == false
                                        - user then must have CREATE permission 
on the database
 
-                                       During IMPORT commnad it is not 
possible for a database to be in inputHObj list. Thus returning SELECT
-                                       when accessType==true is never expacted 
to be hit in practice.
+                                       During IMPORT command it is not 
possible for a database to be in inputHObj list. Thus returning SELECT
+                                       when accessType==true is never expected 
to be hit in practice.
                                         */
                                        accessType = isInput ? 
HiveAccessType.SELECT : HiveAccessType.CREATE;
                                        break;

Reply via email to