----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/58921/#review173925 -----------------------------------------------------------
Looks fine but please remove the trailing whitespace after the if statement. - Colm O hEigeartaigh On May 3, 2017, 8:10 p.m., Madhavi Amirneni wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/58921/ > ----------------------------------------------------------- > > (Updated May 3, 2017, 8:10 p.m.) > > > Review request for ranger, Gautam Borad, Madhan Neethiraj, and Sailaja > Polavarapu. > > > Repository: ranger > > > Description > ------- > > The default communication between Ranger admin and Ranger usersync or Ranger > kms is SSL enabled. When there is an error during the hadoop keystore > creation, there is no exception thrown but there was a non-zeor return code > returned. However, ranger did not check/handle this error return code and > continued, which has caused Ranger usersync to assume the communication to be > normal and continue. > > With this fix, when there is an error during the keystore creation, an error > message is logged and the process will exit. > > > Diffs > ----- > > > credentialbuilder/src/main/java/org/apache/ranger/credentialapi/buildks.java > a7e433f > > > Diff: https://reviews.apache.org/r/58921/diff/1/ > > > Testing > ------- > > Manual unit testing & Automated tests. > > > Thanks, > > Madhavi Amirneni > >
