瀏覽代碼

HADOOP-18005. Correct log format for LdapGroupsMapping (#3647). Contributed by tomscut.

Signed-off-by: Ayush Saxena <ayushsaxena@apache.org>
litao 3 年之前
父節點
當前提交
7fb1bb8f35

+ 1 - 1
hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/LdapGroupsMapping.java

@@ -849,7 +849,7 @@ public class LdapGroupsMapping
         password = new String(passchars);
         password = new String(passchars);
       }
       }
     } catch (IOException ioe) {
     } catch (IOException ioe) {
-      LOG.warn("Exception while trying to get password for alias {}: {}",
+      LOG.warn("Exception while trying to get password for alias {}: ",
           alias, ioe);
           alias, ioe);
     }
     }
     return password;
     return password;