HADOOP-8189. LdapGroupsMapping shouldn't throw away IOException. Contributed by Jonathan Natkins.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1302783 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Aaron Myers 2012-03-20 06:32:49 +00:00
parent 04a47dea74
commit 12fca4cf33
2 changed files with 4 additions and 2 deletions

View File

@ -251,6 +251,8 @@ Release 0.23.3 - UNRELEASED
HADOOP-8167. Configuration deprecation logic breaks backwards compatibility (tucu) 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 BREAKDOWN OF HADOOP-7454 SUBTASKS
HADOOP-7455. HA: Introduce HA Service Protocol Interface. (suresh) HADOOP-7455. HA: Introduce HA Service Protocol Interface. (suresh)

View File

@ -314,8 +314,8 @@ public class LdapGroupsMapping
} }
reader.close(); reader.close();
return password.toString(); return password.toString();
} catch (IOException ex) { } catch (IOException ioe) {
throw new RuntimeException("Could not read password file: " + pwFile); throw new RuntimeException("Could not read password file: " + pwFile, ioe);
} }
} }
} }