HADOOP-8189. LdapGroupsMapping shouldn't throw away IOException. Contributed by Jonathan Natkins.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-0.23@1302784 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
4ab173a9d4
commit
7b538d690b
|
@ -143,6 +143,8 @@ Release 0.23.3 - UNRELEASED
|
|||
|
||||
HADOOP-8167. Configuration deprecation logic breaks backwards compatibility (tucu)
|
||||
|
||||
HADOOP-8189. LdapGroupsMapping shouldn't throw away IOException. (Jonathan Natkins via atm)
|
||||
|
||||
BREAKDOWN OF HADOOP-7454 SUBTASKS
|
||||
|
||||
HADOOP-7455. HA: Introduce HA Service Protocol Interface. (suresh)
|
||||
|
|
|
@ -314,8 +314,8 @@ public class LdapGroupsMapping
|
|||
}
|
||||
reader.close();
|
||||
return password.toString();
|
||||
} catch (IOException ex) {
|
||||
throw new RuntimeException("Could not read password file: " + pwFile);
|
||||
} catch (IOException ioe) {
|
||||
throw new RuntimeException("Could not read password file: " + pwFile, ioe);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue