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

TestHDFSFileContextMainOperations uses old FileContext.mkdirs(..)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.21.0
    • 0.21.0
    • test
    • None
    • 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

            sureshms Suresh Srinivas
            szetszwo Tsz-wo Sze
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: