[
https://issues.apache.org/jira/browse/HDFS-14874?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gabor Bota updated HDFS-14874:
------------------------------
Status: Patch Available (was: Open)
> 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
> Priority: Major
>
> The change in 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: [email protected]
For additional commands, e-mail: [email protected]