----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/63283/#review189140 -----------------------------------------------------------
Ship it! - Qiang Zhang On Oct. 25, 2017, 2:27 a.m., pengjianhua wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/63283/ > ----------------------------------------------------------- > > (Updated Oct. 25, 2017, 2:27 a.m.) > > > Review request for ranger, Alok Lal, Ankita Sinha, Don Bosco Durai, Colm O > hEigeartaigh, Gautam Borad, Madhan Neethiraj, Ramesh Mani, Selvamohan > Neethiraj, Velmurugan Periasamy, and Qiang Zhang. > > > Bugs: RANGER-1856 > https://issues.apache.org/jira/browse/RANGER-1856 > > > Repository: ranger > > > Description > ------- > > The directory for the kms pid is constant path in installer. > > pidFolderName='/var/run/ranger_kms' > if [ ! -d "${pidFolderName}" ]; then > mkdir -p "${pidFolderName}" > fi > > The directory for the kms pid is configurable in ranger-kms and > ranger-kms-initd. > > if [ -z "${RANGER_KMS_PID_DIR_PATH}" ] > then > RANGER_KMS_PID_DIR_PATH=/var/run/ranger_kms > fi > if [ ! -d "${RANGER_KMS_PID_DIR_PATH}" ] > then > mkdir -p $RANGER_KMS_PID_DIR_PATH > chmod 660 $RANGER_KMS_PID_DIR_PATH > fi > pidf=${RANGER_KMS_PID_DIR_PATH}/${RANGER_KMS_PID_NAME} > > The directory for the kms pid can be configured in install.properties. > > #PID file path > RANGER_KMS_PID_DIR_PATH=/var/run/ranger_kms > > > Diffs > ----- > > kms/scripts/setup.sh 0b13ab4a > > > Diff: https://reviews.apache.org/r/63283/diff/1/ > > > Testing > ------- > > > Thanks, > > pengjianhua > >