You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org> on 2009/09/22 00:29:16 UTC
[jira] Created: (HDFS-640) TestHDFSFileContextMainOperations uses
old FileContext.mkdirs(..)
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.
[jira] Updated: (HDFS-640) TestHDFSFileContextMainOperations uses
old FileContext.mkdirs(..)
Posted by "Suresh Srinivas (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-640?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Suresh Srinivas updated HDFS-640:
---------------------------------
Attachment: HDFS-640.patch
Changing TestHDFSFileContextMainOperations to use new {{FileContext.mkdir()}} instead of removed method {{FileContext.mkdirs()}}
> 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
> Assignee: Suresh Srinivas
> Attachments: HDFS-640.patch
>
>
> 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.
[jira] Updated: (HDFS-640) TestHDFSFileContextMainOperations uses
old FileContext.mkdirs(..)
Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-640?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tsz Wo (Nicholas), SZE updated HDFS-640:
----------------------------------------
Hadoop Flags: [Reviewed]
+1 patch looks good.
I tested the patch manually. TestHDFSFileContextMainOperations can be compiled and it ran successfully by "ant test -Dtestcase=TestHDFSFileContextMainOperations".
> 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
> Assignee: Suresh Srinivas
> Attachments: HDFS-640.patch
>
>
> 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.
[jira] Commented: (HDFS-640) TestHDFSFileContextMainOperations uses
old FileContext.mkdirs(..)
Posted by "Hudson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-640?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12760586#action_12760586 ]
Hudson commented on HDFS-640:
-----------------------------
Integrated in Hadoop-Hdfs-trunk #98 (See [http://hudson.zones.apache.org/hudson/job/Hadoop-Hdfs-trunk/98/])
> 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
> Affects Versions: 0.21.0
> Reporter: Tsz Wo (Nicholas), SZE
> Assignee: Suresh Srinivas
> Fix For: 0.21.0
>
> Attachments: HDFS-640.patch
>
>
> 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.
[jira] Assigned: (HDFS-640) TestHDFSFileContextMainOperations uses
old FileContext.mkdirs(..)
Posted by "Suresh Srinivas (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-640?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Suresh Srinivas reassigned HDFS-640:
------------------------------------
Assignee: Suresh Srinivas
> 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
> Assignee: Suresh Srinivas
>
> 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.
[jira] Updated: (HDFS-640) TestHDFSFileContextMainOperations uses
old FileContext.mkdirs(..)
Posted by "Suresh Srinivas (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-640?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Suresh Srinivas updated HDFS-640:
---------------------------------
Status: Patch Available (was: Open)
submitting the patch again to trigger hudson tests
> 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
> Assignee: Suresh Srinivas
> Attachments: HDFS-640.patch
>
>
> 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.
[jira] Updated: (HDFS-640) TestHDFSFileContextMainOperations uses
old FileContext.mkdirs(..)
Posted by "Suresh Srinivas (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-640?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Suresh Srinivas updated HDFS-640:
---------------------------------
Status: Open (was: Patch Available)
> 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
> Assignee: Suresh Srinivas
> Attachments: HDFS-640.patch
>
>
> 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.
[jira] Commented: (HDFS-640) TestHDFSFileContextMainOperations uses
old FileContext.mkdirs(..)
Posted by "Hudson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-640?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12763870#action_12763870 ]
Hudson commented on HDFS-640:
-----------------------------
Integrated in Hdfs-Patch-h2.grid.sp2.yahoo.net #20 (See [http://hudson.zones.apache.org/hudson/job/Hdfs-Patch-h2.grid.sp2.yahoo.net/20/])
> 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
> Affects Versions: 0.21.0
> Reporter: Tsz Wo (Nicholas), SZE
> Assignee: Suresh Srinivas
> Fix For: 0.21.0
>
> Attachments: HDFS-640.patch
>
>
> 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.
[jira] Commented: (HDFS-640) TestHDFSFileContextMainOperations uses
old FileContext.mkdirs(..)
Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-640?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12758072#action_12758072 ]
Tsz Wo (Nicholas), SZE commented on HDFS-640:
---------------------------------------------
Hudson does not seem working. :(
> 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
> Assignee: Suresh Srinivas
> Attachments: HDFS-640.patch
>
>
> 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.
[jira] Updated: (HDFS-640) TestHDFSFileContextMainOperations uses
old FileContext.mkdirs(..)
Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-640?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tsz Wo (Nicholas), SZE updated HDFS-640:
----------------------------------------
Status: Patch Available (was: Open)
> 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
> Assignee: Suresh Srinivas
> Attachments: HDFS-640.patch
>
>
> 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.
[jira] Updated: (HDFS-640) TestHDFSFileContextMainOperations uses
old FileContext.mkdirs(..)
Posted by "Suresh Srinivas (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-640?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Suresh Srinivas updated HDFS-640:
---------------------------------
Resolution: Fixed
Status: Resolved (was: Patch Available)
Committing the to both release 21 and trunk.
> 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
> Affects Versions: 0.21.0
> Reporter: Tsz Wo (Nicholas), SZE
> Assignee: Suresh Srinivas
> Fix For: 0.21.0
>
> Attachments: HDFS-640.patch
>
>
> 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.
[jira] Updated: (HDFS-640) TestHDFSFileContextMainOperations uses
old FileContext.mkdirs(..)
Posted by "Suresh Srinivas (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-640?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Suresh Srinivas updated HDFS-640:
---------------------------------
Affects Version/s: 0.21.0
Fix Version/s: 0.21.0
Cannot run test-patch due to build error (previous build does not compile).
> 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
> Affects Versions: 0.21.0
> Reporter: Tsz Wo (Nicholas), SZE
> Assignee: Suresh Srinivas
> Fix For: 0.21.0
>
> Attachments: HDFS-640.patch
>
>
> 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.