You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Gabor Bota (Jira)" <ji...@apache.org> on 2019/09/25 09:28:00 UTC

[jira] [Created] (HDFS-14874) Fix TestHDFSCLI and TestDFSShell test break because of logging change in mkdir

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-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org