|
@@ -1004,9 +1004,9 @@ public class FSDirectory implements Closeable {
|
|
final int count = parent.getChildrenList(CURRENT_STATE_ID).size();
|
|
final int count = parent.getChildrenList(CURRENT_STATE_ID).size();
|
|
if (count >= maxDirItems) {
|
|
if (count >= maxDirItems) {
|
|
final MaxDirectoryItemsExceededException e
|
|
final MaxDirectoryItemsExceededException e
|
|
- = new MaxDirectoryItemsExceededException(maxDirItems, count);
|
|
|
|
|
|
+ = new MaxDirectoryItemsExceededException(parentPath, maxDirItems,
|
|
|
|
+ count);
|
|
if (namesystem.isImageLoaded()) {
|
|
if (namesystem.isImageLoaded()) {
|
|
- e.setPathName(parentPath);
|
|
|
|
throw e;
|
|
throw e;
|
|
} else {
|
|
} else {
|
|
// Do not throw if edits log is still being processed
|
|
// Do not throw if edits log is still being processed
|