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

TestHDFSFileContextMainOperations uses old FileContext.mkdirs(..)

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment