|
@@ -2270,7 +2270,7 @@ public class FSNamesystem implements Namesystem, FSNamesystemMBean,
|
|
requireEffectiveLayoutVersionForFeature(Feature.TRUNCATE);
|
|
requireEffectiveLayoutVersionForFeature(Feature.TRUNCATE);
|
|
FSDirTruncateOp.TruncateResult r = null;
|
|
FSDirTruncateOp.TruncateResult r = null;
|
|
try {
|
|
try {
|
|
- NameNode.stateChangeLog.debug(
|
|
|
|
|
|
+ NameNode.stateChangeLog.info(
|
|
"DIR* NameSystem.truncate: src={} newLength={}", src, newLength);
|
|
"DIR* NameSystem.truncate: src={} newLength={}", src, newLength);
|
|
if (newLength < 0) {
|
|
if (newLength < 0) {
|
|
throw new HadoopIllegalArgumentException(
|
|
throw new HadoopIllegalArgumentException(
|