[ https://issues.apache.org/jira/browse/RANGER-1369?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15859446#comment-15859446 ]
Qiang Zhang edited comment on RANGER-1369 at 4/7/17 9:04 AM: ------------------------------------------------------------- Review Requet: https://reviews.apache.org/r/56490/ Solution patch, please see attachment: [0001-RANGER-1369-To-support-configure-solr-group-when-ins.patch|https://issues.apache.org/jira/secure/attachment/12862464/0001-RANGER-1369-There-is-invalid-group-error-when-instal.patch] was (Author: zhangqiang2): Review Requet: https://reviews.apache.org/r/56490/ Solution patch, please see attachment: [patch|https://issues.apache.org/jira/secure/attachment/12851845/0001-RANGER-1369-To-support-configure-solr-group-when-ins.patch] > There is invalid group error when install Solr for Ranger Audits > ---------------------------------------------------------------- > > Key: RANGER-1369 > URL: https://issues.apache.org/jira/browse/RANGER-1369 > Project: Ranger > Issue Type: Bug > Components: admin > Reporter: Qiang Zhang > Assignee: Qiang Zhang > Labels: patch > Attachments: > 0001-RANGER-1369-There-is-invalid-group-error-when-instal.patch > > Original Estimate: 48h > Remaining Estimate: 48h > > In the following script of > /security-admin/contrib/solr_for_audit_setup/setup.sh, > {code} > sudo chown -R $SOLR_USER:$SOLR_USER $SOLR_INSTALL_FOLDER > set_ownership $SOLR_USER $SOLR_USER $SOLR_INSTALL_FOLDER > {code} > there is logic defects in changing the user and group of SOLR_INSTALL_FOLDER. > Use SOLR_USER as group, which means the user and group of SOLR_INSTALL_FOLDER > must be the same. > But in the case of user and group are diffrent, because the group does not > exist, > would result in the invalid group error. -- This message was sent by Atlassian JIRA (v6.3.15#6346)