Re: Review Request 62325: The logical of the policy details for Ranger Hive Plugin is error.

2017-09-15 Thread pengjianhua
ld be better to seek a generic solution. Ok. Very nice advice, I had fixed it. Thanks a lots. - pengjianhua --- This is an automatically generated e-mail. To reply, visit: https://r

Re: Review Request 62325: The logical of the policy details for Ranger Hive Plugin is error.

2017-09-15 Thread pengjianhua
/main/webapp/scripts/views/policies/PermissionList.js bb649840 security-admin/src/main/webapp/scripts/views/policies/RangerPolicyForm.js 9a8d82db Diff: https://reviews.apache.org/r/62325/diff/3/ Changes: https://reviews.apache.org/r/62325/diff/2-3/ Testing --- Thanks, pengjianhua

Re: Review Request 62325: The logical of the policy details for Ranger Hive Plugin is error.

2017-09-14 Thread pengjianhua
/src/main/webapp/scripts/views/policies/RangerPolicyForm.js 9a8d82db Diff: https://reviews.apache.org/r/62325/diff/2/ Changes: https://reviews.apache.org/r/62325/diff/1-2/ Testing --- Thanks, pengjianhua

Review Request 62325: The logical of the policy details for Ranger Hive Plugin is error.

2017-09-14 Thread pengjianhua
ot; and "url". Please refer to https://community.hortonworks.com/questions/135781/ranger-hive-read-and-write-permissions.html Diffs - security-admin/src/main/webapp/scripts/views/policies/PermissionList.js bb649840 security-admin/src/main/webapp/scripts/views/policies/RangerPolicyForm.js 9a8d82db Diff: https://reviews.apache.org/r/62325/diff/1/ Testing --- Thanks, pengjianhua

Re: Review Request 62264: RANGER-1776:ranger-plugin-audit always show error.

2017-09-13 Thread pengjianhua
171e9 Diff: https://reviews.apache.org/r/62264/diff/1/ Testing --- Thanks, pengjianhua

Re: Review Request 62269: The Ranger can not refresh screen and hide child menu when user clicks menu

2017-09-13 Thread pengjianhua
d modify the control logic of Ranger menu to keep consistent with https://issues.apache.org/jira/projects/RANGER. Diffs - security-admin/src/main/webapp/scripts/views/common/TopNav.js bc5d17c4 Diff: https://reviews.apache.org/r/62269/diff/1/ Testing --- Thanks, pengjianhua

Review Request 62269: A button problem

2017-09-12 Thread pengjianhua
/scripts/views/common/TopNav.js bc5d17c4 Diff: https://reviews.apache.org/r/62269/diff/1/ Testing --- Thanks, pengjianhua

Review Request 62264: RANGER-1776 ranger-plugin-audit show log error.

2017-09-12 Thread pengjianhua
return false; } Here should return ret . Diffs - agents-audit/src/main/java/org/apache/ranger/audit/provider/BufferedAuditProvider.java 31b171e9 Diff: https://reviews.apache.org/r/62264/diff/1/ Testing --- Thanks, pengjianhua

Re: Review Request 62233: Collection added to itself

2017-09-12 Thread pengjianhua
e/ranger/plugin/audit/RangerMultiResourceAuditHandler.java 9990dd4c Diff: https://reviews.apache.org/r/62233/diff/1/ Testing --- Thanks, pengjianhua

Review Request 62233: Collection added to itself

2017-09-11 Thread pengjianhua
andler.java 9990dd4c Diff: https://reviews.apache.org/r/62233/diff/1/ Testing --- Thanks, pengjianhua

Review Request 62156: The update_property.py should exit the loop to improve execution efficiency once the attribute value is set.

2017-09-07 Thread pengjianhua
hould exit the loop to improve execution efficiency once the attribute value is set. Diffs - security-admin/scripts/update_property.py 80ccdb8f Diff: https://reviews.apache.org/r/62156/diff/1/ Testing --- Thanks, pengjianhua

Re: Review Request 62076: Execute "grant all" command failure in beeline mode when user used Ranger hive plugin.

2017-09-06 Thread pengjianhua
(hiveObj.getType() == null){ > > if(databaseorUrl == null){ Ok. I had fixed it. Thanks. - pengjianhua --- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/62076/#review184697

Re: Review Request 62076: Execute "grant all" command failure in beeline mode when user used Ranger hive plugin.

2017-09-06 Thread pengjianhua
Testing --- Thanks, pengjianhua

Re: Review Request 61909: RANGER-1752 When "dfs.nameservices" configures multiple nameservice id and then test hdfs connection, verifying "dfs.client.failover.proxy.provider.[dfs.nameservices]" is inc

2017-09-06 Thread pengjianhua
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/61909/#review184763 --- Ship it! Ship It! - pengjianhua On 八月 25, 2017, 3:09 a.m

Re: Review Request 62111: Created a service and input right value in "create service" screen of hive. A error message was returned when clicked "Test connectionl" button.

2017-09-06 Thread pengjianhua
urity-admin/src/main/webapp/scripts/views/service/ServiceForm.js 079ce00a Diff: https://reviews.apache.org/r/62111/diff/1/ Testing --- Thanks, pengjianhua

Review Request 62111: hivedev Test Connection failed

2017-09-06 Thread pengjianhua
tps://reviews.apache.org/r/62111/diff/1/ Testing --- Thanks, pengjianhua

Re: Review Request 62076: Execute "grant all" command failure in beeline mode when user used Ranger hive plugin.

2017-09-05 Thread pengjianhua
/ranger/authorization/hive/authorizer/RangerHiveAuthorizer.java 1c7a9d08 hive-agent/src/main/java/org/apache/ranger/authorization/hive/authorizer/RangerHiveResource.java d04d3bfa Diff: https://reviews.apache.org/r/62076/diff/1/ Testing --- Thanks, pengjianhua

Re: Review Request 62076: Execute "grant all" command failure in beeline mode when user used Ranger hive plugin.

2017-09-05 Thread pengjianhua
gent/src/main/java/org/apache/ranger/authorization/hive/authorizer/RangerHiveResource.java d04d3bfa Diff: https://reviews.apache.org/r/62076/diff/1/ Testing --- Thanks, pengjianhua

Re: Review Request 62062: RANGER-1763:The logic of the expansion button in the Edit Policy page is error. The user must click twice to collapse Conditions.

2017-09-05 Thread pengjianhua
js 6f27d5db Diff: https://reviews.apache.org/r/62062/diff/2/ Testing --- Thanks, pengjianhua

Re: Review Request 62062: RANGER-1763:The logic of the expansion button in the Edit Policy page is error. The user must click twice to collapse Conditions.

2017-09-05 Thread pengjianhua
as expanded. Diffs - security-admin/src/main/webapp/scripts/views/policies/RangerPolicyForm.js 6f27d5db Diff: https://reviews.apache.org/r/62062/diff/2/ Testing --- Thanks, pengjianhua

Re: Review Request 62076: ranger hive-plugin should support "grant all"

2017-09-05 Thread pengjianhua
t/src/main/java/org/apache/ranger/authorization/hive/authorizer/RangerHiveResource.java d04d3bfa Diff: https://reviews.apache.org/r/62076/diff/1/ Testing --- Thanks, pengjianhua

Review Request 62076: ranger hive-plugin should not throw NullPointerException

2017-09-05 Thread pengjianhua
g/r/62076/diff/1/ Testing --- Thanks, pengjianhua

Review Request 62062: RANGER-1763 On the Edit Policy page, Conditions is expanded by default, so the expansion button shuold be "hide" instead of "show".

2017-09-04 Thread pengjianhua
62/diff/1/ Testing --- Thanks, pengjianhua

Re: Review Request 62010: hbase system tablename is old version in ranger-hbase-plugin

2017-08-31 Thread pengjianhua
pache.org/r/62010/diff/2/ Changes: https://reviews.apache.org/r/62010/diff/1-2/ Testing --- Thanks, pengjianhua

Review Request 62010: hbase system tablename is old version in ranger-hbase-plugin

2017-08-30 Thread pengjianhua
} } return false; } Activity Diffs - hbase-agent/src/main/java/org/apache/ranger/authorization/hbase/RangerAuthorizationCoprocessor.java da73c677 Diff: https://reviews.apache.org/r/62010/diff/1/ Testing --- Thanks, pengjianhua

Re: Review Request 61909: RANGER-1752 When "dfs.nameservices" configures multiple nameservice id and then test hdfs connection, verifying "dfs.client.failover.proxy.provider.[dfs.nameservices]" is inc

2017-08-29 Thread pengjianhua
> > > Can you explain why this patch is required? In case of HA enabled > > namenode, linking both core-site.xml and hdfs-site.xml under > > /etc/ranger/admin/conf should get test connection feature working fine. > > pengjianhua wrote: > 1.It will prompt &

Re: Review Request 61909: RANGER-1752 When "dfs.nameservices" configures multiple nameservice id and then test hdfs connection, verifying "dfs.client.failover.proxy.provider.[dfs.nameservices]" is inc

2017-08-27 Thread pengjianhua
not a valid configuration item. 2.We need to configure multiple hdfs services when ranger manages multiple clusters of hdfs. How to distinguish hdfs clusters , if I link both core-site.xml and hdfs-site.xml under /etc/ranger/admin/conf. Whether we can only configure on the page - pengjianhua

Review Request 61909: RANGER-1752 When "dfs.nameservices" configures multiple nameservice id and then test hdfs connection, verifying "dfs.client.failover.proxy.provider.[dfs.nameservices]" is incorre

2017-08-24 Thread pengjianhua
HdfsClient.java cab1b52e Diff: https://reviews.apache.org/r/61909/diff/1/ Testing --- Thanks, pengjianhua

Review Request 61879: The importJCEKSKeys.sh and DBMK2HSM.sh will throw an exception when the JAVA_HOME is equal to null.

2017-08-24 Thread pengjianhua
/ Testing --- Thanks, pengjianhua

Review Request 61836: RANGER-1746 The prompt message is incorrect when test hdfs connection and check 'dfs.ha.namenodes.[nameservice ID]' to be mandatory.

2017-08-22 Thread pengjianhua
nodes.[nameservice ID] not specified". Diffs - hdfs-agent/src/main/java/org/apache/ranger/services/hdfs/client/HdfsClient.java cab1b52e Diff: https://reviews.apache.org/r/61836/diff/1/ Testing --- Thanks, pengjianhua

Re: Review Request 61771: Comment lines have not been filtered out when the populate_global_dict function parsed install.properties in security-admin/scripts/restrict_permissions.py. Like RANGER-1284,

2017-08-22 Thread pengjianhua
iews.apache.org/r/61771/diff/1/ Testing --- Thanks, pengjianhua

Review Request 61771: Comment lines have not been filtered out when the populate_global_dict function parsed install.properties in security-admin/scripts/restrict_permissions.py. Like RANGER-1284, we

2017-08-20 Thread pengjianhua
attribute values in globalDict variable. 2. Invalid parsing will degrade the performance of program. Diffs - security-admin/scripts/restrict_permissions.py a4998be Diff: https://reviews.apache.org/r/61771/diff/1/ Testing --- Thanks, pengjianhua

Review Request 61770: Like setup.sh, the set_globals.sh should check whether the user group exists before created user group in security admin.

2017-08-20 Thread pengjianhua
group exists before created user group in security admin. Diffs - security-admin/scripts/set_globals.sh 5e985e2 Diff: https://reviews.apache.org/r/61770/diff/1/ Testing --- Thanks, pengjianhua

Review Request 61769: The initd ran repeatedly when ranger-usersync-services.sh was running

2017-08-20 Thread pengjianhua
with the logic of pidf is not the same. The result is that the initd will run repeatedly when ranger-usersync-services.sh was running. Diffs - unixauthservice/scripts/initd a1062af Diff: https://reviews.apache.org/r/61769/diff/1/ Testing --- Thanks, pengjianhua

Review Request 61768: There is a exception when the ranger_credential_helper.py was executed.

2017-08-19 Thread pengjianhua
. Diffs - security-admin/scripts/ranger_credential_helper.py 940dbf1 Diff: https://reviews.apache.org/r/61768/diff/1/ Testing --- Thanks, pengjianhua

Re: Review Request 61202: New Defects reported by Coverity Scan for Apache Ranger

2017-08-10 Thread pengjianhua
://reviews.apache.org/r/61202/diff/7-8/ Testing --- tested it Thanks, pengjianhua

Re: Review Request 61202: New Defects reported by Coverity Scan for Apache Ranger

2017-08-10 Thread pengjianhua
> On 八月 10, 2017, 10:48 a.m., Colm O hEigeartaigh wrote: > > There's a whitespace error at the end of the test. Fixed it ,and update the patch ,it's my failure ,thanks again. - pengjianhua --- This is an automatical

Re: Review Request 61202: New Defects reported by Coverity Scan for Apache Ranger

2017-08-09 Thread pengjianhua
://reviews.apache.org/r/61202/diff/6-7/ Testing --- tested it Thanks, pengjianhua

Re: Review Request 61202: New Defects reported by Coverity Scan for Apache Ranger

2017-08-09 Thread pengjianhua
gt; [INFO] Hi .The test case includes two sub-test cases, The second sub-test case is to test that the user does not exist. you are right, it may May mislead you I removed second sub-test case. thanks. - pengjianhua --- This is an a

Re: Review Request 61202: New Defects reported by Coverity Scan for Apache Ranger

2017-08-08 Thread pengjianhua
://reviews.apache.org/r/61202/diff/5-6/ Testing --- tested it Thanks, pengjianhua

Re: Review Request 61452: RANGER-1725: It is incorrect to judge whether you need to create a RangerServiceDef object for a given service

2017-08-08 Thread pengjianhua
c09f6 Diff: https://reviews.apache.org/r/61452/diff/2/ Changes: https://reviews.apache.org/r/61452/diff/1-2/ Testing --- Thanks, pengjianhua

Re: Review Request 61202: New Defects reported by Coverity Scan for Apache Ranger

2017-08-08 Thread pengjianhua
or loop to > > avoid creating unnecessary objects. > > 2) Also in the if statement it references "msObjRef.getObjectType()", > > whereas just above we have the definition of "objectType" that could be > > used instead. Yes, you a

Re: Review Request 61202: New Defects reported by Coverity Scan for Apache Ranger

2017-08-08 Thread pengjianhua
uot;); Diffs (updated) - hive-agent/src/main/java/org/apache/ranger/authorization/hive/authorizer/RangerHiveAuthorizer.java 6872e50 Diff: https://reviews.apache.org/r/61202/diff/5/ Changes: https://reviews.apache.org/r/61202/diff/4-5/ Testing --- tested it Thanks, pengjianhua

Re: Review Request 61452: RANGER-1725: It is incorrect to judge whether you need to create a RangerServiceDef object for a given service

2017-08-07 Thread pengjianhua
/EmbeddedServiceDefsUtil.java 0bc09f6 Diff: https://reviews.apache.org/r/61452/diff/1/ Testing --- Thanks, pengjianhua

Review Request 61452: RANGER-1725: It is incorrect to judge whether you need to create a RangerServiceDef object for a given service

2017-08-07 Thread pengjianhua
specified service will be created, but I think this judge is incorrect. Diffs - agents-common/src/main/java/org/apache/ranger/plugin/store/EmbeddedServiceDefsUtil.java 0bc09f6 Diff: https://reviews.apache.org/r/61452/diff/1/ Testing --- Thanks, pengjianhua

Re: Review Request 61202: New Defects reported by Coverity Scan for Apache Ranger

2017-08-04 Thread pengjianhua
> On 八月 4, 2017, 10:15 a.m., Colm O hEigeartaigh wrote: > > The indentation is still incorrect in RangerHiveAuthorizer starting line > > 1473... Hi?May be my code templates and your advantages of different, I changed another code template? I modify the patch ?Thanks.

Re: Review Request 61202: New Defects reported by Coverity Scan for Apache Ranger

2017-08-04 Thread pengjianhua
://reviews.apache.org/r/61202/diff/3-4/ Testing --- tested it Thanks, pengjianhua

Re: Review Request 61202: New Defects reported by Coverity Scan for Apache Ranger

2017-08-04 Thread pengjianhua
atch again? Please review again. - pengjianhua --- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/61202/#review182122 --- On 八月 4, 201

Re: Review Request 61202: New Defects reported by Coverity Scan for Apache Ranger

2017-08-04 Thread pengjianhua
che.org/r/61202/diff/3/ Changes: https://reviews.apache.org/r/61202/diff/2-3/ Testing --- tested it Thanks, pengjianhua

Review Request 61395: RANGER-1723 The Ranger doesn't support solr6. In the HttpSolrClient class of solr6, the setMaxRetries function has been removed, which causes ranger to fail to compile.

2017-08-02 Thread pengjianhua
/apache/ranger/patch/cliutil/DbToSolrMigrationUtil.java 89d5f4d security-admin/src/main/java/org/apache/ranger/solr/SolrMgr.java b1f0be4 Diff: https://reviews.apache.org/r/61395/diff/1/ Testing --- Thanks, pengjianhua

Re: Review Request 61202: New Defects reported by Coverity Scan for Apache Ranger

2017-08-02 Thread pengjianhua
is is not the case. If the output is > > nothing to do with Ranger policies, then I'm wondering what the use-case is > > here for supporting this functionality with the Ranger authorizer? > > pengjianhua wrote: > The hive plugin effected the hive function after used t

Re: Review Request 61202: New Defects reported by Coverity Scan for Apache Ranger

2017-08-02 Thread pengjianhua
is is not the case. If the output is > > nothing to do with Ranger policies, then I'm wondering what the use-case is > > here for supporting this functionality with the Ranger authorizer? > > pengjianhua wrote: > The hive plugin effected the hive function after used t

Re: Review Request 61202: New Defects reported by Coverity Scan for Apache Ranger

2017-08-01 Thread pengjianhua
thorizerTest.java 011d2c3 Diff: https://reviews.apache.org/r/61202/diff/2/ Testing --- tested it Thanks, pengjianhua

Re: Review Request 61202: Fixed-RANGER-1669:We need to support the original functionality of hive.show grant user usernam

2017-07-31 Thread pengjianhua
ger. This issue affected the hive's functions which are ok if user doesn't use our hive plugin. - pengjianhua --- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/61202/#review181803 ----

Re: Review Request 61202: Fixed-RANGER-1669:We need to support the original functionality of hive.show grant user usernam

2017-07-30 Thread pengjianhua
> On 七月 28, 2017, 4:03 p.m., Colm O hEigeartaigh wrote: > > The "else" after the initial "if (principal == null) {" is not necessary. Thanks for you advise ,I had modify the code and add test for this feature ,Please

Re: Review Request 61202: Fixed-RANGER-1669:We need to support the original functionality of hive.show grant user usernam

2017-07-30 Thread pengjianhua
uthorization/hive/authorizer/RangerHiveAuthorizer.java 6872e50 hive-agent/src/test/java/org/apache/ranger/services/hive/HIVERangerAuthorizerTest.java 011d2c3 Diff: https://reviews.apache.org/r/61202/diff/2/ Changes: https://reviews.apache.org/r/61202/diff/1-2/ Testing --- tested it Thanks, pengjianhua

Re: Review Request 61202: Fixed-RANGER-1669:We need to support the original functionality of hive.show grant user usernam

2017-07-28 Thread pengjianhua
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/61202/#review181650 --- Ship it! Ship It! - pengjianhua On 七月 28, 2017, 3:32 a.m

Review Request 61202: Fixed-RANGER-1669:We need to support the original functionality of hive.show grant user usernam

2017-07-27 Thread pengjianhua
rg/r/61202/diff/1/ Testing --- tested it Thanks, pengjianhua

Re: Review Request 61106: kms test case write logs to log file

2017-07-25 Thread pengjianhua
> On 七月 25, 2017, 2:13 p.m., Colm O hEigeartaigh wrote: > > The log output ends up in src/test/resources for me - instead it should be > > somewhere in the target directory: > > > > src/test/resources/kms/kms-audit-localhost-autotest.log Ok

Re: Review Request 61106: kms test case write logs to log file

2017-07-25 Thread pengjianhua
://reviews.apache.org/r/61106/diff/2/ Changes: https://reviews.apache.org/r/61106/diff/1-2/ Testing --- Thanks, pengjianhua

Review Request 61106: kms test case write logs to log file

2017-07-25 Thread pengjianhua
--- Thanks, pengjianhua

Re: Review Request 60997: Write audit log to solr failure.

2017-07-25 Thread pengjianhua
That includes the noggit jar in the plugins without having to add a > dependency in the poms. We should also do the same for: > > 'com.google.protobuf:protobuf-java:jar:${protobuf-java.version} Ok. I rebuilt the patch after carefully checked and verified it. Thanks. -

Re: Review Request 60997: Write audit log to solr failure.

2017-07-25 Thread pengjianhua
://reviews.apache.org/r/60997/diff/2-3/ Testing --- Thanks, pengjianhua

Re: Review Request 60997: Write audit log to solr failure.

2017-07-24 Thread pengjianhua
/2/ Changes: https://reviews.apache.org/r/60997/diff/1-2/ Testing --- Thanks, pengjianhua

Review Request 60997: Write audit log to solr failure.

2017-07-20 Thread pengjianhua
--- Thanks, pengjianhua

Re: Review Request 60454: RANGER-1669:We need to support the original functionality of hive.show grant user username

2017-07-14 Thread pengjianhua
s: https://reviews.apache.org/r/60454/diff/2-3/ Testing --- tested it Thanks, pengjianhua

Re: Review Request 60454: RANGER-1669:We need to support the original functionality of hive.show grant user username

2017-07-14 Thread pengjianhua
s: https://reviews.apache.org/r/60454/diff/1-2/ Testing --- tested it Thanks, pengjianhua

Re: Review Request 60454: RANGER-1669:We need to support the original functionality of hive.show grant user username

2017-07-14 Thread pengjianhua
t; > > Falling back to Native SQLStdHiveAccessControler is not a ideal way to > > resolve this. HiveAuthorizer should provide the necessary implementation > > for showPrivileges(). This has to be discussed with Hive comitter also. > > pengjianhua wrote: > Ok. I

Review Request 60837: The pidf's assignment logic in ranger-kms-initd should be consistent with the pidf's assignment logic in ranger-kms

2017-07-13 Thread pengjianhua
https://reviews.apache.org/r/60837/diff/1/ Testing --- Thanks, pengjianhua

Re: Review Request 60801: Similar to RANGER-1540, the Ranger kms should also support the same new feature.

2017-07-12 Thread pengjianhua
- kms/config/kms-webapp/kms-log4j.properties 479b5b4 kms/scripts/ranger-kms e902509 Diff: https://reviews.apache.org/r/60801/diff/1/ Testing --- Thanks, pengjianhua

Review Request 60801: Similar to RANGER-1540, the Ranger kms should also support the same new feature.

2017-07-12 Thread pengjianhua
479b5b4 kms/scripts/ranger-kms e902509 Diff: https://reviews.apache.org/r/60801/diff/1/ Testing --- Thanks, pengjianhua

Re: Review Request 60789: Ranger usersync created error users. Ranger usersync got System Virtual User Group Name instead of real group name when built the unix user list.

2017-07-12 Thread pengjianhua
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/60789/#review180288 --- Ship it! Ship It! - pengjianhua On 七月 12, 2017, 2:42 a.m

Review Request 60795: Ranger usersync created error users. Ranger usersync got System Virtual User Group Name instead of real group name when built the unix user list.

2017-07-12 Thread pengjianhua
ing --- Thanks, pengjianhua

Re: Review Request 60789: Ranger usersync created error users. Ranger usersync got System Virtual User Group Name instead of real group name when built the unix user list.

2017-07-11 Thread pengjianhua
tps://reviews.apache.org/r/60789/diff/1/ Testing --- Thanks, pengjianhua

Review Request 60789: Ranger usersync created error users. Ranger usersync got System Virtual User Group Name instead of real group name when built the unix user list.

2017-07-11 Thread pengjianhua
pts/install.properties 13ae1e5 unixauthservice/scripts/templates/installprop2xml.properties 1a9bf36 unixauthservice/scripts/templates/ranger-ugsync-template.xml 0025dc8 Diff: https://reviews.apache.org/r/60789/diff/1/ Testing --- Thanks, pengjianhua

Review Request 60772: The version file did not exist in ranger-1.0.0-SNAPSHOT-kms.tar.gz. The result was that the VERSION variable can only get a fixed 0.5.0 value when installed ranger kms.

2017-07-11 Thread pengjianhua
-kms.tar.gz. The result was that the VERSION variable can only get a fixed 0.5.0 value when installed ranger kms. Diffs - src/main/assembly/kms.xml e26dd33 Diff: https://reviews.apache.org/r/60772/diff/1/ Testing --- Thanks, pengjianhua

Review Request 60759: Log file name format of usersync and security admin should be consistent.

2017-07-11 Thread pengjianhua
}-${user}.log Diffs - unixauthservice/src/main/resources/log4j.properties dbad541 Diff: https://reviews.apache.org/r/60759/diff/1/ Testing --- Thanks, pengjianhua

Re: Review Request 60733: RANGER-1681:Now ranger's kerberos configuration item relies directly on the configuration of the hadoop component. When the HDFS opens other functions such as HA, the test co

2017-07-10 Thread pengjianhua
g folder. > > > > My suggestion is to not include this patch. Ok. I will close the issue. Thanks. - pengjianhua --- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/60733/#revie

Re: Review Request 60454: RANGER-1669:We need to support the original functionality of hive.show grant user username

2017-07-10 Thread pengjianhua
t; > > Falling back to Native SQLStdHiveAccessControler is not a ideal way to > > resolve this. HiveAuthorizer should provide the necessary implementation > > for showPrivileges(). This has to be discussed with Hive comitter also. Ok. I will rebuild the pat

Re: Review Request 60696: In different places to achieve the same function using repeat codes, new issue is perhaps generated when these functions are modified.

2017-07-10 Thread pengjianhua
agents-audit/src/main/java/org/apache/ranger/audit/utils/SolrAppUtil.java PRE-CREATION Diff: https://reviews.apache.org/r/60696/diff/3/ Changes: https://reviews.apache.org/r/60696/diff/2-3/ Testing --- Thanks, pengjianhua

Re: Review Request 60696: In different places to achieve the same function using repeat codes, new issue is perhaps generated when these functions are modified.

2017-07-10 Thread pengjianhua
- Thanks, pengjianhua

Review Request 60733: RANGER-1681:Now ranger's kerberos configuration item relies directly on the configuration of the hadoop component. When the HDFS opens other functions such as HA, the test connec

2017-07-10 Thread pengjianhua
ecurity-admin/src/main/resources/conf.dist/core-site.xml PRE-CREATION Diff: https://reviews.apache.org/r/60733/diff/1/ Testing --- Thanks, pengjianhua

Re: Review Request 60733: RANGER-1681:Now ranger's kerberos configuration item relies directly on the configuration of the hadoop component. When the HDFS opens other functions such as HA, the test co

2017-07-10 Thread pengjianhua
y-admin/scripts/setup.sh 1630684 security-admin/src/main/resources/conf.dist/core-site.xml PRE-CREATION Diff: https://reviews.apache.org/r/60733/diff/1/ Testing (updated) --- test it! Thanks, pengjianhua

Review Request 60696: In different places to achieve the same function using repeat codes, new issue is perhaps generated when these functions are modified.

2017-07-06 Thread pengjianhua
n/java/org/apache/ranger/audit/utils/SolrAppUtil.java PRE-CREATION Diff: https://reviews.apache.org/r/60696/diff/1/ Testing --- Thanks, pengjianhua

Review Request 60680: Unable to login to Hadoop environment after opened Kerberos.

2017-07-06 Thread pengjianhua
igHolder.java fd925aa Diff: https://reviews.apache.org/r/60680/diff/1/ Testing --- Thanks, pengjianhua

Re: Review Request 60260: Similar to RANGER-1599, Different developers use different log directories in the kms installation script. Its processing logic is chaotic. We should optimize this logic.

2017-06-27 Thread pengjianhua
://reviews.apache.org/r/60260/diff/1-2/ Testing --- Thanks, pengjianhua

Re: Review Request 60260: Similar to RANGER-1599, Different developers use different log directories in the kms installation script. Its processing logic is chaotic. We should optimize this logic.

2017-06-27 Thread pengjianhua
> On 六月 21, 2017, 9:38 a.m., Colm O hEigeartaigh wrote: > > With the patch, the $LOGFILES property is not actually used at all. Do we > > know what $LOGFILES is meant to do, and why we have both $LOGFILE and > > $LOGFILES? > > pengjianhua wrote: > I also no

Re: Review Request 60454: RANGER-1669:We need to support the original functionality of hive.show grant user username

2017-06-27 Thread pengjianhua
Testing --- tested it Thanks, pengjianhua

Re: Review Request 60454: RANGER-1669?We need to support the original functionality of hive?show grant user username

2017-06-26 Thread pengjianhua
Testing --- tested it Thanks, pengjianhua

Review Request 60454: We need to support the original functionality of hive?show grant user username

2017-06-26 Thread pengjianhua
e/ranger/authorization/hive/authorizer/RangerHiveAuthorizerBase.java c313870 Diff: https://reviews.apache.org/r/60454/diff/1/ Testing --- tested it Thanks, pengjianhua

Re: Review Request 60452: RANGER-1668:Do some code improvement in setup.sh of security-admin

2017-06-26 Thread pengjianhua
uot;" > ${WEBAPP_ROOT}/WEB-INF/classes/conf/core-site.xml fi fi fi Diffs - security-admin/scripts/setup.sh f49bb13 Diff: https://reviews.apache.org/r/60452/diff/1/ Testing --- Thanks, pengjianhua

Review Request 60452: RANGER-1668:Do some code improvement in setup.sh of security-admin

2017-06-26 Thread pengjianhua
echo "" > ${WEBAPP_ROOT}/WEB-INF/classes/conf/core-site.xml fi fi fi Diffs - security-admin/scripts/setup.sh f49bb13 Diff: https://reviews.apache.org/r/60452/diff/1/ Testing --- Thanks, pengjianhua

Re: Review Request 60260: Similar to RANGER-1599, Different developers use different log directories in the kms installation script. Its processing logic is chaotic. We should optimize this logic.

2017-06-23 Thread pengjianhua
> On 六月 21, 2017, 9:38 a.m., Colm O hEigeartaigh wrote: > > With the patch, the $LOGFILES property is not actually used at all. Do we > > know what $LOGFILES is meant to do, and why we have both $LOGFILE and > > $LOGFILES? > > pengjianhua wrote: > I also no

Re: Review Request 60359: The user is easy to configure the wrong format's data for 'YARN REST URL' property when adding a new yarn service. It will cause testconnection fail.

2017-06-22 Thread pengjianhua
> On 六月 22, 2017, 9:04 a.m., Colm O hEigeartaigh wrote: > > Looks fine, but change it to "For multiple urls" Thanks, I have changed and updated the patch. - pengjianhua --- This is an automatically generated e-ma

Re: Review Request 60359: The user is easy to configure the wrong format's data for 'YARN REST URL' property when adding a new yarn service. It will cause testconnection fail.

2017-06-22 Thread pengjianhua
Diff: https://reviews.apache.org/r/60359/diff/2/ Changes: https://reviews.apache.org/r/60359/diff/1-2/ Testing --- test? Thanks, pengjianhua

Review Request 60359: The user is easy to configure the wrong format's data for 'YARN REST URL' property when adding a new yarn service. It will cause testconnection fail.

2017-06-22 Thread pengjianhua
iff/1/ Testing --- test? Thanks, pengjianhua

Re: Review Request 60260: Similar to RANGER-1599, Different developers use different log directories in the kms installation script. Its processing logic is chaotic. We should optimize this logic.

2017-06-21 Thread pengjianhua
ould not be needed in current context. I have been thinking, why the orignal developer added it? Do I think we should remove it, your opinion? - pengjianhua --- This is an automatically generated e-mail. To reply, visit: https://revie

Re: Review Request 60262: Similar to RANGER-1575, the kms should also support the same new feature.

2017-06-20 Thread pengjianhua
case of compatibility with existing logic. When running ranger, users can set the pid file to meet their own needs. Diffs - kms/scripts/ranger-kms 11dc4ff Diff: https://reviews.apache.org/r/60262/diff/1/ Testing --- Thanks, pengjianhua

Review Request 60262: Similar to RANGER-1575, the kms should also support the same new feature. 1 of 49

2017-06-20 Thread pengjianhua
/ranger-kms 11dc4ff Diff: https://reviews.apache.org/r/60262/diff/1/ Testing --- Thanks, pengjianhua

Review Request 60260: Similar to RANGER-1599, Different developers use different log directories in the kms installation script. Its processing logic is chaotic. We should optimize this logic.

2017-06-20 Thread pengjianhua
installation script. Its processing logic is chaotic. We should optimize this logic. Diffs - kms/scripts/setup.sh 77d8e80 Diff: https://reviews.apache.org/r/60260/diff/1/ Testing --- Thanks, pengjianhua

<    1   2   3   4   >