hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gabor Bota (Jira)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-14874) Fix TestHDFSCLI and TestDFSShell test break because of logging change in mkdir
Date Wed, 25 Sep 2019 13:21:00 GMT

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


Mime
View raw message