HADOOP-16431. Remove useless log in IOUtils.java and ExceptionDiags.java.
This closes #1091 Signed-off-by: Akira Ajisaka <aajisaka@apache.org>
This commit is contained in:
parent
ecb9f817ac
commit
a1251addff
|
@ -508,8 +508,6 @@ public class IOUtils {
|
|||
Throwable t = ctor.newInstance(msg);
|
||||
return (T) (t.initCause(exception));
|
||||
} catch (Throwable e) {
|
||||
LOG.warn("Unable to wrap exception of type " +
|
||||
clazz + ": it has no (String) constructor", e);
|
||||
throw exception;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -91,8 +91,6 @@ public class ExceptionDiags {
|
|||
Throwable t = ctor.newInstance(msg);
|
||||
return (T) (t.initCause(exception));
|
||||
} catch (Throwable e) {
|
||||
LOG.warn("Unable to wrap exception of type " +
|
||||
clazz + ": it has no (String) constructor", e);
|
||||
return exception;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue