Repository: ranger
Updated Branches:
  refs/heads/master 16353c268 -> b096802be


RANGER-1503: Add tips to make jdbc.url parameter easy for users to use when 
create hive-plugin service

Signed-off-by: peng.jianhua <[email protected]>


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

Branch: refs/heads/master
Commit: b096802bec6fa59142ae924ed09419be5ad719e5
Parents: 16353c2
Author: zhangqiang2 <[email protected]>
Authored: Fri Jun 30 11:40:43 2017 +0800
Committer: peng.jianhua <[email protected]>
Committed: Mon Jul 3 02:49:27 2017 -0400

----------------------------------------------------------------------
 .../src/main/webapp/scripts/models/BackboneFormDataType.js        | 3 +++
 .../src/main/webapp/scripts/modules/globalize/message/en.js       | 3 ++-
 2 files changed, 5 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ranger/blob/b096802b/security-admin/src/main/webapp/scripts/models/BackboneFormDataType.js
----------------------------------------------------------------------
diff --git 
a/security-admin/src/main/webapp/scripts/models/BackboneFormDataType.js 
b/security-admin/src/main/webapp/scripts/models/BackboneFormDataType.js
index a074146..3f8697e 100644
--- a/security-admin/src/main/webapp/scripts/models/BackboneFormDataType.js
+++ b/security-admin/src/main/webapp/scripts/models/BackboneFormDataType.js
@@ -82,6 +82,9 @@ define(function(require) {
                                                                if(v.name == 
'yarn.url'){
                                                                        
formObj.type = 'TextFiledWithIcon';
                                                                        
formObj.errorMsg = localization.tt("hintMsg.yarnRestUrl");
+                                                               }else if(v.name 
== 'jdbc.url'){
+                                                                       
formObj.type = 'TextFiledWithIcon';
+                                                                       
formObj.errorMsg = localization.tt("hintMsg.hiveJDBCUrl");
                                                                }else{
                                                                        
formObj.type = 'Text';
                                                                }

http://git-wip-us.apache.org/repos/asf/ranger/blob/b096802b/security-admin/src/main/webapp/scripts/modules/globalize/message/en.js
----------------------------------------------------------------------
diff --git 
a/security-admin/src/main/webapp/scripts/modules/globalize/message/en.js 
b/security-admin/src/main/webapp/scripts/modules/globalize/message/en.js
index a21170d..af7bdfe 100644
--- a/security-admin/src/main/webapp/scripts/modules/globalize/message/en.js
+++ b/security-admin/src/main/webapp/scripts/modules/globalize/message/en.js
@@ -445,7 +445,8 @@ define(function(require) {
                                
                        },
                        hintMsg : {
-                               yarnRestUrl            :"1.For one url, 
eg.<br>'http or https://&lt;ipaddr&gt;:8088'<br>2.For multiple urls (use , or ; 
delimiter), eg.<br>'http://&lt;ipaddr1&gt;:8088,http://&lt;ipaddr2&gt;:8088'"
+                               yarnRestUrl            :"1.For one url, 
eg.<br>'http or https://&lt;ipaddr&gt;:8088'<br>2.For multiple urls (use , or ; 
delimiter), eg.<br>'http://&lt;ipaddr1&gt;:8088,http://&lt;ipaddr2&gt;:8088'",
+                               hiveJDBCUrl            :"1.For Remote Mode, 
eg.<br>jdbc:hive2://&lt;host&gt;:&lt;port&gt;<br>2.For Embedded Mode (no host 
or port), eg.<br>jdbc:hive2:///;initFile=&lt;file&gt;<br>3.For HTTP Mode, 
eg.<br>jdbc:hive2://&lt;host&gt;:&lt;port&gt;/;<br>transportMode=http;httpPath=&lt;httpPath&gt;<br>4.For
 SSL Mode, 
eg.<br>jdbc:hive2://&lt;host&gt;:&lt;port&gt;/;ssl=true;<br>sslTrustStore=tStore;trustStorePassword=pw<br>5.For
 ZooKeeper Mode, 
eg.<br>jdbc:hive2://&lt;host&gt;/;serviceDiscoveryMode=<br>zooKeeper;zooKeeperNamespace=hiveserver2<br>6.For
 Kerberos Mode, 
eg.<br>jdbc:hive2://&lt;host&gt;:&lt;port&gt;/;<br>principal=hive/[email protected]<br>"
                        }
                        
 

Reply via email to