Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-14874

Fix TestHDFSCLI and TestDFSShell test break because of logging change in mkdir

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.3.0
    • 3.3.0
    • hdfs
    • None
    • Reviewed

    Description

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

      -        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()));
             }
      

      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.

      Attachments

        Issue Links

          Activity

            People

              gabor.bota Gabor Bota
              gabor.bota Gabor Bota
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: