You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by "Qiang Zhang (JIRA)" <ji...@apache.org> on 2017/02/06 08:22:41 UTC
[jira] [Reopened] (RANGER-1323) The program can not get the correct
version when we installed Ranger KMS based on the latest version
[ https://issues.apache.org/jira/browse/RANGER-1323?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Qiang Zhang reopened RANGER-1323:
---------------------------------
> The program can not get the correct version when we installed Ranger KMS based on the latest version
> ----------------------------------------------------------------------------------------------------
>
> Key: RANGER-1323
> URL: https://issues.apache.org/jira/browse/RANGER-1323
> Project: Ranger
> Issue Type: Bug
> Components: kms
> Reporter: Qiang Zhang
> Assignee: Qiang Zhang
> Priority: Minor
> Labels: patch
> Attachments: 0001-RANGER-1323-An-incorrect-rollback-point-was-created-.patch
>
>
> The program can not get the correct version when we installed Ranger KMS based on the latest version. The code logical is as follows:
> if [ -f ${PWD}/version ]
> then
> VERSION=`cat ${PWD}/version`
> else
> VERSION="0.5.0"
> fi
> There are two logical errors in above code.
> 1. The version file does not exist. VERSION can only be equal to 0.5.0.
> 2. VERSION=`cat ${PWD}/version` clause can only get version information from file with unapproved license. However, the ranger project does not support file of this format.
> We should add version file into kms install path. The current version should be written in the version file.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)