TestHDFSFileContextMainOperations uses old FileContext.mkdirs(..)
-----------------------------------------------------------------
Key: HDFS-640
URL: https://issues.apache.org/jira/browse/HDFS-640
Project: Hadoop HDFS
Issue Type: Bug
Components: test
Reporter: Tsz Wo (Nicholas), SZE
TestHDFSFileContextMainOperations cannot be compiled:
{noformat}
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
{noformat}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.