Repository: hive
Updated Branches:
  refs/heads/branch-1.2 19d70ba83 -> 1bcbda62e


HIVE-10543 : improve error message in MetaStoreAuthzAPIAuthorizerEmbedOnly 
(Thejas M Nair, reviewed by Sushanth Sowmyan)


Project: http://git-wip-us.apache.org/repos/asf/hive/repo
Commit: http://git-wip-us.apache.org/repos/asf/hive/commit/1bcbda62
Tree: http://git-wip-us.apache.org/repos/asf/hive/tree/1bcbda62
Diff: http://git-wip-us.apache.org/repos/asf/hive/diff/1bcbda62

Branch: refs/heads/branch-1.2
Commit: 1bcbda62e1a2e41adbb42df7fd16cd85af745d73
Parents: 19d70ba
Author: Thejas Nair <the...@hortonworks.com>
Authored: Thu Apr 30 16:55:56 2015 -0700
Committer: Thejas Nair <the...@hortonworks.com>
Committed: Thu Apr 30 16:56:28 2015 -0700

----------------------------------------------------------------------
 .../authorization/MetaStoreAuthzAPIAuthorizerEmbedOnly.java       | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hive/blob/1bcbda62/ql/src/java/org/apache/hadoop/hive/ql/security/authorization/MetaStoreAuthzAPIAuthorizerEmbedOnly.java
----------------------------------------------------------------------
diff --git 
a/ql/src/java/org/apache/hadoop/hive/ql/security/authorization/MetaStoreAuthzAPIAuthorizerEmbedOnly.java
 
b/ql/src/java/org/apache/hadoop/hive/ql/security/authorization/MetaStoreAuthzAPIAuthorizerEmbedOnly.java
index 7ad0193..5f1725c 100644
--- 
a/ql/src/java/org/apache/hadoop/hive/ql/security/authorization/MetaStoreAuthzAPIAuthorizerEmbedOnly.java
+++ 
b/ql/src/java/org/apache/hadoop/hive/ql/security/authorization/MetaStoreAuthzAPIAuthorizerEmbedOnly.java
@@ -37,7 +37,8 @@ public class MetaStoreAuthzAPIAuthorizerEmbedOnly extends 
HiveAuthorizationProvi
     implements HiveMetastoreAuthorizationProvider {
 
   public static final String errMsg = "Metastore Authorization api invocation 
for "
-      + "remote metastore is disabled in this configuration.";
+      + "remote metastore is disabled in this configuration. Run commands via 
jdbc/odbc clients "
+      + "via HiveServer2 that is using embedded metastore.";
 
   @Override
   public void init(Configuration conf) throws HiveException {

Reply via email to