Gabor Bota created HDFS-14874:
---------------------------------

             Summary: Fix TestHDFSCLI and TestDFSShell test break because of 
logging change in mkdir
                 Key: HDFS-14874
                 URL: https://issues.apache.org/jira/browse/HDFS-14874
             Project: Hadoop HDFS
          Issue Type: Bug
          Components: hdfs
    Affects Versions: 3.3.0
            Reporter: Gabor Bota
            Assignee: Gabor Bota


The change HADOOP-16138 breaks TestHDFSCLI and TestDFSShell
Since it changed the text in the exception :


{code:java}
-        throw new PathNotFoundException(itemParentPath.toString());
+        throw new PathNotFoundException(String.format(
+            "mkdir failed for path: %s. Item parent path not found: %s.",
+        itemPath.toString(), itemParentPath.toString()));
       }
{code}

For reference :
https://builds.apache.org/job/PreCommit-HDFS-Build/27958/testReport/

The way I plan to fix it: create this jira where I `revert` this change in the 
sense that I will create a PR with the original log. No need for the additional 
logging what we added


Thanks [~ayushtkn] for finding this issue.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-dev-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-h...@hadoop.apache.org

Reply via email to