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

TestHDFSFileContextMainOperations uses old FileContext.mkdirs(..)

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.21.0
    • Fix Version/s: 0.21.0
    • Component/s: test
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      TestHDFSFileContextMainOperations cannot be compiled:

      compile-hdfs-test:
          [javac] Compiling 119 source files to d:\@sze\hadoop\hdfs\h1\build\test\classes
          [javac] d:\@sze\hadoop\hdfs\h1\src\test\hdfs\org\apache\hadoop\fs\TestHDFSFileContextMainOperations.java:47: cannot find symbol
          [javac] symbol  : method mkdirs(org.apache.hadoop.fs.Path,org.apache.hadoop.fs.permission.FsPermission)
          [javac] location: class org.apache.hadoop.fs.FileContext
          [javac]     fc.mkdirs(defaultWorkingDirectory, FileContext.DEFAULT_PERM);
          [javac]       ^
          [javac] Note: Some input files use or override a deprecated API.
          [javac] Note: Recompile with -Xlint:deprecation for details.
          [javac] 1 error
      

        Attachments

        1. HDFS-640.patch
          0.7 kB
          Suresh Srinivas

          Activity

            People

            • Assignee:
              sureshms Suresh Srinivas
              Reporter:
              szetszwo Tsz Wo Nicholas Sze
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: