[ 
https://issues.apache.org/jira/browse/RANGER-1275?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Qiang Zhang updated RANGER-1275:
--------------------------------
    Description: 
1. The judgment logic that the install.properties file exists is wrong. The 
reason for the error is that the author doesn't understand the meaning of the 
"$?" correctly in shell script. 
2. The "/var/run/ranger" path is very important. So the program should 
determine whether the directory to create success.

  was:
1. The judgment logic that the install.properties file exists is wrong in 
security-admin/scripts file. The reason for the error is that the author 
doesn't understand the meaning of the "$?" correctly in shell script. 
2. The "/var/run/ranger" path is very important. So the program should 
determine whether the directory to create success.

        Summary: At the beginning of the security-admin/scripts/setup.sh file 
there are two logical errors.  (was: At the beginning of the 
security-admin/scripts file there are two logical errors.)

> At the beginning of the security-admin/scripts/setup.sh file there are two 
> logical errors.
> ------------------------------------------------------------------------------------------
>
>                 Key: RANGER-1275
>                 URL: https://issues.apache.org/jira/browse/RANGER-1275
>             Project: Ranger
>          Issue Type: Bug
>          Components: admin
>            Reporter: Qiang Zhang
>            Assignee: Qiang Zhang
>              Labels: patch
>
> 1. The judgment logic that the install.properties file exists is wrong. The 
> reason for the error is that the author doesn't understand the meaning of the 
> "$?" correctly in shell script. 
> 2. The "/var/run/ranger" path is very important. So the program should 
> determine whether the directory to create success.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to