You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Sanjay Radia (JIRA)" <ji...@apache.org> on 2009/10/22 09:38:59 UTC
[jira] Created: (HADOOP-6327) Fix build error for one of the
FileContext errors
Fix build error for one of the FileContext errors
-------------------------------------------------
Key: HADOOP-6327
URL: https://issues.apache.org/jira/browse/HADOOP-6327
Project: Hadoop Common
Issue Type: Bug
Reporter: Sanjay Radia
The build fails in Hudson
org.apache.hadoop.fs.TestLocalFSFileContextMainOperations.testWorkingDirectory (from TestLocalFSFileContextMainOperations)
Failing for the past 5 builds (Since Failed#272 )
Took 88 ms.
add description
Error Message
chmod: changing permissions of `/tmp/existingDir': Operation not permitted
Stacktrace
org.apache.hadoop.util.Shell$ExitCodeException: chmod: changing permissions of `/tmp/existingDir': Operation not permitted
at org.apache.hadoop.util.Shell.runCommand(Shell.java:243)
at org.apache.hadoop.util.Shell.run(Shell.java:170)
at org.apache.hadoop.util.Shell$ShellCommandExecutor.execute(Shell.java:363)
at org.apache.hadoop.util.Shell.execCommand(Shell.java:449)
at org.apache.hadoop.util.Shell.execCommand(Shell.java:432)
at org.apache.hadoop.fs.RawLocalFileSystem.execCommand(RawLocalFileSystem.java:545)
at org.apache.hadoop.fs.RawLocalFileSystem.setPermission(RawLocalFileSystem.java:537)
at org.apache.hadoop.fs.RawLocalFileSystem.mkdirs(RawLocalFileSystem.java:347)
at org.apache.hadoop.fs.FilterFileSystem.mkdirs(FilterFileSystem.java:184)
at org.apache.hadoop.fs.FileSystem.primitiveMkdir(FileSystem.java:769)
at org.apache.hadoop.fs.FileContext.mkdir(FileContext.java:539)
at org.apache.hadoop.fs.FileContextMainOperationsBaseTest.testWorkingDirectory(FileContextMainOperationsBaseTest.java:170)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HADOOP-6327) Fix build error for one of the
FileContext errors
Posted by "Sanjay Radia (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-6327?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12768596#action_12768596 ]
Sanjay Radia commented on HADOOP-6327:
--------------------------------------
The test fails probably because of left over from a previous runs of the same test which does not cleanup /tmp/existingDir
There is another problem with the test. It replies on the system property test.build.data - in its absence it sets the default
test dir to /tmp like many of our other tests.
The default should really be build/test/data relative to the working dir.
The attached patch fixes this and cleans up the testWorkingDir.
While testing this patch I ran into another bug in TEST_X_FILTER which is also fixed in the patch.
This path REQUIRES a minior fix to the HDFS test that uses the same base class.
The attached patch should be followed by patch to HDFS (see attached).
> Fix build error for one of the FileContext errors
> -------------------------------------------------
>
> Key: HADOOP-6327
> URL: https://issues.apache.org/jira/browse/HADOOP-6327
> Project: Hadoop Common
> Issue Type: Bug
> Reporter: Sanjay Radia
> Assignee: Sanjay Radia
> Attachments: buildError-hdfs.patch, buildError.patch
>
>
> The build fails in Hudson
> org.apache.hadoop.fs.TestLocalFSFileContextMainOperations.testWorkingDirectory (from TestLocalFSFileContextMainOperations)
> Failing for the past 5 builds (Since Failed#272 )
> Took 88 ms.
> add description
> Error Message
> chmod: changing permissions of `/tmp/existingDir': Operation not permitted
> Stacktrace
> org.apache.hadoop.util.Shell$ExitCodeException: chmod: changing permissions of `/tmp/existingDir': Operation not permitted
> at org.apache.hadoop.util.Shell.runCommand(Shell.java:243)
> at org.apache.hadoop.util.Shell.run(Shell.java:170)
> at org.apache.hadoop.util.Shell$ShellCommandExecutor.execute(Shell.java:363)
> at org.apache.hadoop.util.Shell.execCommand(Shell.java:449)
> at org.apache.hadoop.util.Shell.execCommand(Shell.java:432)
> at org.apache.hadoop.fs.RawLocalFileSystem.execCommand(RawLocalFileSystem.java:545)
> at org.apache.hadoop.fs.RawLocalFileSystem.setPermission(RawLocalFileSystem.java:537)
> at org.apache.hadoop.fs.RawLocalFileSystem.mkdirs(RawLocalFileSystem.java:347)
> at org.apache.hadoop.fs.FilterFileSystem.mkdirs(FilterFileSystem.java:184)
> at org.apache.hadoop.fs.FileSystem.primitiveMkdir(FileSystem.java:769)
> at org.apache.hadoop.fs.FileContext.mkdir(FileContext.java:539)
> at org.apache.hadoop.fs.FileContextMainOperationsBaseTest.testWorkingDirectory(FileContextMainOperationsBaseTest.java:170)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HADOOP-6327) Fix build error for one of the
FileContext errors
Posted by "Sanjay Radia (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-6327?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sanjay Radia updated HADOOP-6327:
---------------------------------
Attachment: buildError-hdfs.patch
buildError.patch
> Fix build error for one of the FileContext errors
> -------------------------------------------------
>
> Key: HADOOP-6327
> URL: https://issues.apache.org/jira/browse/HADOOP-6327
> Project: Hadoop Common
> Issue Type: Bug
> Reporter: Sanjay Radia
> Assignee: Sanjay Radia
> Attachments: buildError-hdfs.patch, buildError.patch
>
>
> The build fails in Hudson
> org.apache.hadoop.fs.TestLocalFSFileContextMainOperations.testWorkingDirectory (from TestLocalFSFileContextMainOperations)
> Failing for the past 5 builds (Since Failed#272 )
> Took 88 ms.
> add description
> Error Message
> chmod: changing permissions of `/tmp/existingDir': Operation not permitted
> Stacktrace
> org.apache.hadoop.util.Shell$ExitCodeException: chmod: changing permissions of `/tmp/existingDir': Operation not permitted
> at org.apache.hadoop.util.Shell.runCommand(Shell.java:243)
> at org.apache.hadoop.util.Shell.run(Shell.java:170)
> at org.apache.hadoop.util.Shell$ShellCommandExecutor.execute(Shell.java:363)
> at org.apache.hadoop.util.Shell.execCommand(Shell.java:449)
> at org.apache.hadoop.util.Shell.execCommand(Shell.java:432)
> at org.apache.hadoop.fs.RawLocalFileSystem.execCommand(RawLocalFileSystem.java:545)
> at org.apache.hadoop.fs.RawLocalFileSystem.setPermission(RawLocalFileSystem.java:537)
> at org.apache.hadoop.fs.RawLocalFileSystem.mkdirs(RawLocalFileSystem.java:347)
> at org.apache.hadoop.fs.FilterFileSystem.mkdirs(FilterFileSystem.java:184)
> at org.apache.hadoop.fs.FileSystem.primitiveMkdir(FileSystem.java:769)
> at org.apache.hadoop.fs.FileContext.mkdir(FileContext.java:539)
> at org.apache.hadoop.fs.FileContextMainOperationsBaseTest.testWorkingDirectory(FileContextMainOperationsBaseTest.java:170)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HADOOP-6327) Fix build error for one of the
FileContext Tests
Posted by "Hudson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-6327?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12769392#action_12769392 ]
Hudson commented on HADOOP-6327:
--------------------------------
Integrated in Hadoop-Hdfs-trunk-Commit #80 (See [http://hudson.zones.apache.org/hudson/job/Hadoop-Hdfs-trunk-Commit/80/])
HDFS-725. Support the build error fix for . Contributed by Sanjay Radia
> Fix build error for one of the FileContext Tests
> ------------------------------------------------
>
> Key: HADOOP-6327
> URL: https://issues.apache.org/jira/browse/HADOOP-6327
> Project: Hadoop Common
> Issue Type: Bug
> Components: test
> Reporter: Sanjay Radia
> Assignee: Sanjay Radia
> Fix For: 0.21.0, 0.22.0
>
> Attachments: buildError.patch
>
>
> The build fails in Hudson
> org.apache.hadoop.fs.TestLocalFSFileContextMainOperations.testWorkingDirectory (from TestLocalFSFileContextMainOperations)
> Failing for the past 5 builds (Since Failed#272 )
> Took 88 ms.
> add description
> Error Message
> chmod: changing permissions of `/tmp/existingDir': Operation not permitted
> Stacktrace
> org.apache.hadoop.util.Shell$ExitCodeException: chmod: changing permissions of `/tmp/existingDir': Operation not permitted
> at org.apache.hadoop.util.Shell.runCommand(Shell.java:243)
> at org.apache.hadoop.util.Shell.run(Shell.java:170)
> at org.apache.hadoop.util.Shell$ShellCommandExecutor.execute(Shell.java:363)
> at org.apache.hadoop.util.Shell.execCommand(Shell.java:449)
> at org.apache.hadoop.util.Shell.execCommand(Shell.java:432)
> at org.apache.hadoop.fs.RawLocalFileSystem.execCommand(RawLocalFileSystem.java:545)
> at org.apache.hadoop.fs.RawLocalFileSystem.setPermission(RawLocalFileSystem.java:537)
> at org.apache.hadoop.fs.RawLocalFileSystem.mkdirs(RawLocalFileSystem.java:347)
> at org.apache.hadoop.fs.FilterFileSystem.mkdirs(FilterFileSystem.java:184)
> at org.apache.hadoop.fs.FileSystem.primitiveMkdir(FileSystem.java:769)
> at org.apache.hadoop.fs.FileContext.mkdir(FileContext.java:539)
> at org.apache.hadoop.fs.FileContextMainOperationsBaseTest.testWorkingDirectory(FileContextMainOperationsBaseTest.java:170)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HADOOP-6327) Fix build error for one of the
FileContext Tests
Posted by "Hudson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-6327?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12769592#action_12769592 ]
Hudson commented on HADOOP-6327:
--------------------------------
Integrated in Hdfs-Patch-h2.grid.sp2.yahoo.net #59 (See [http://hudson.zones.apache.org/hudson/job/Hdfs-Patch-h2.grid.sp2.yahoo.net/59/])
> Fix build error for one of the FileContext Tests
> ------------------------------------------------
>
> Key: HADOOP-6327
> URL: https://issues.apache.org/jira/browse/HADOOP-6327
> Project: Hadoop Common
> Issue Type: Bug
> Components: test
> Reporter: Sanjay Radia
> Assignee: Sanjay Radia
> Fix For: 0.21.0, 0.22.0
>
> Attachments: buildError.patch
>
>
> The build fails in Hudson
> org.apache.hadoop.fs.TestLocalFSFileContextMainOperations.testWorkingDirectory (from TestLocalFSFileContextMainOperations)
> Failing for the past 5 builds (Since Failed#272 )
> Took 88 ms.
> add description
> Error Message
> chmod: changing permissions of `/tmp/existingDir': Operation not permitted
> Stacktrace
> org.apache.hadoop.util.Shell$ExitCodeException: chmod: changing permissions of `/tmp/existingDir': Operation not permitted
> at org.apache.hadoop.util.Shell.runCommand(Shell.java:243)
> at org.apache.hadoop.util.Shell.run(Shell.java:170)
> at org.apache.hadoop.util.Shell$ShellCommandExecutor.execute(Shell.java:363)
> at org.apache.hadoop.util.Shell.execCommand(Shell.java:449)
> at org.apache.hadoop.util.Shell.execCommand(Shell.java:432)
> at org.apache.hadoop.fs.RawLocalFileSystem.execCommand(RawLocalFileSystem.java:545)
> at org.apache.hadoop.fs.RawLocalFileSystem.setPermission(RawLocalFileSystem.java:537)
> at org.apache.hadoop.fs.RawLocalFileSystem.mkdirs(RawLocalFileSystem.java:347)
> at org.apache.hadoop.fs.FilterFileSystem.mkdirs(FilterFileSystem.java:184)
> at org.apache.hadoop.fs.FileSystem.primitiveMkdir(FileSystem.java:769)
> at org.apache.hadoop.fs.FileContext.mkdir(FileContext.java:539)
> at org.apache.hadoop.fs.FileContextMainOperationsBaseTest.testWorkingDirectory(FileContextMainOperationsBaseTest.java:170)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HADOOP-6327) Fix build error for one of the
FileContext errors
Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-6327?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12768607#action_12768607 ]
Hadoop QA commented on HADOOP-6327:
-----------------------------------
+1 overall. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12422880/buildError.patch
against trunk revision 828181.
+1 @author. The patch does not contain any @author tags.
+1 tests included. The patch appears to include 10 new or modified tests.
+1 javadoc. The javadoc tool did not generate any warning messages.
+1 javac. The applied patch does not increase the total number of javac compiler warnings.
+1 findbugs. The patch does not introduce any new Findbugs warnings.
+1 release audit. The applied patch does not increase the total number of release audit warnings.
+1 core tests. The patch passed core unit tests.
+1 contrib tests. The patch passed contrib unit tests.
Test results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-h4.grid.sp2.yahoo.net/99/testReport/
Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-h4.grid.sp2.yahoo.net/99/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Checkstyle results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-h4.grid.sp2.yahoo.net/99/artifact/trunk/build/test/checkstyle-errors.html
Console output: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-h4.grid.sp2.yahoo.net/99/console
This message is automatically generated.
> Fix build error for one of the FileContext errors
> -------------------------------------------------
>
> Key: HADOOP-6327
> URL: https://issues.apache.org/jira/browse/HADOOP-6327
> Project: Hadoop Common
> Issue Type: Bug
> Reporter: Sanjay Radia
> Assignee: Sanjay Radia
> Attachments: buildError.patch
>
>
> The build fails in Hudson
> org.apache.hadoop.fs.TestLocalFSFileContextMainOperations.testWorkingDirectory (from TestLocalFSFileContextMainOperations)
> Failing for the past 5 builds (Since Failed#272 )
> Took 88 ms.
> add description
> Error Message
> chmod: changing permissions of `/tmp/existingDir': Operation not permitted
> Stacktrace
> org.apache.hadoop.util.Shell$ExitCodeException: chmod: changing permissions of `/tmp/existingDir': Operation not permitted
> at org.apache.hadoop.util.Shell.runCommand(Shell.java:243)
> at org.apache.hadoop.util.Shell.run(Shell.java:170)
> at org.apache.hadoop.util.Shell$ShellCommandExecutor.execute(Shell.java:363)
> at org.apache.hadoop.util.Shell.execCommand(Shell.java:449)
> at org.apache.hadoop.util.Shell.execCommand(Shell.java:432)
> at org.apache.hadoop.fs.RawLocalFileSystem.execCommand(RawLocalFileSystem.java:545)
> at org.apache.hadoop.fs.RawLocalFileSystem.setPermission(RawLocalFileSystem.java:537)
> at org.apache.hadoop.fs.RawLocalFileSystem.mkdirs(RawLocalFileSystem.java:347)
> at org.apache.hadoop.fs.FilterFileSystem.mkdirs(FilterFileSystem.java:184)
> at org.apache.hadoop.fs.FileSystem.primitiveMkdir(FileSystem.java:769)
> at org.apache.hadoop.fs.FileContext.mkdir(FileContext.java:539)
> at org.apache.hadoop.fs.FileContextMainOperationsBaseTest.testWorkingDirectory(FileContextMainOperationsBaseTest.java:170)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HADOOP-6327) Fix build error for one of the
FileContext errors
Posted by "Sanjay Radia (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-6327?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sanjay Radia updated HADOOP-6327:
---------------------------------
Attachment: (was: buildError-hdfs.patch)
> Fix build error for one of the FileContext errors
> -------------------------------------------------
>
> Key: HADOOP-6327
> URL: https://issues.apache.org/jira/browse/HADOOP-6327
> Project: Hadoop Common
> Issue Type: Bug
> Reporter: Sanjay Radia
> Assignee: Sanjay Radia
> Attachments: buildError.patch
>
>
> The build fails in Hudson
> org.apache.hadoop.fs.TestLocalFSFileContextMainOperations.testWorkingDirectory (from TestLocalFSFileContextMainOperations)
> Failing for the past 5 builds (Since Failed#272 )
> Took 88 ms.
> add description
> Error Message
> chmod: changing permissions of `/tmp/existingDir': Operation not permitted
> Stacktrace
> org.apache.hadoop.util.Shell$ExitCodeException: chmod: changing permissions of `/tmp/existingDir': Operation not permitted
> at org.apache.hadoop.util.Shell.runCommand(Shell.java:243)
> at org.apache.hadoop.util.Shell.run(Shell.java:170)
> at org.apache.hadoop.util.Shell$ShellCommandExecutor.execute(Shell.java:363)
> at org.apache.hadoop.util.Shell.execCommand(Shell.java:449)
> at org.apache.hadoop.util.Shell.execCommand(Shell.java:432)
> at org.apache.hadoop.fs.RawLocalFileSystem.execCommand(RawLocalFileSystem.java:545)
> at org.apache.hadoop.fs.RawLocalFileSystem.setPermission(RawLocalFileSystem.java:537)
> at org.apache.hadoop.fs.RawLocalFileSystem.mkdirs(RawLocalFileSystem.java:347)
> at org.apache.hadoop.fs.FilterFileSystem.mkdirs(FilterFileSystem.java:184)
> at org.apache.hadoop.fs.FileSystem.primitiveMkdir(FileSystem.java:769)
> at org.apache.hadoop.fs.FileContext.mkdir(FileContext.java:539)
> at org.apache.hadoop.fs.FileContextMainOperationsBaseTest.testWorkingDirectory(FileContextMainOperationsBaseTest.java:170)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HADOOP-6327) Fix build error for one of the
FileContext Tests
Posted by "Hudson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-6327?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12769179#action_12769179 ]
Hudson commented on HADOOP-6327:
--------------------------------
Integrated in Hadoop-Common-trunk #136 (See [http://hudson.zones.apache.org/hudson/job/Hadoop-Common-trunk/136/])
. FileContext tests should not use /tmp and should clean up files. Contributed by Sanjay Radia
> Fix build error for one of the FileContext Tests
> ------------------------------------------------
>
> Key: HADOOP-6327
> URL: https://issues.apache.org/jira/browse/HADOOP-6327
> Project: Hadoop Common
> Issue Type: Bug
> Components: test
> Reporter: Sanjay Radia
> Assignee: Sanjay Radia
> Fix For: 0.21.0, 0.22.0
>
> Attachments: buildError.patch
>
>
> The build fails in Hudson
> org.apache.hadoop.fs.TestLocalFSFileContextMainOperations.testWorkingDirectory (from TestLocalFSFileContextMainOperations)
> Failing for the past 5 builds (Since Failed#272 )
> Took 88 ms.
> add description
> Error Message
> chmod: changing permissions of `/tmp/existingDir': Operation not permitted
> Stacktrace
> org.apache.hadoop.util.Shell$ExitCodeException: chmod: changing permissions of `/tmp/existingDir': Operation not permitted
> at org.apache.hadoop.util.Shell.runCommand(Shell.java:243)
> at org.apache.hadoop.util.Shell.run(Shell.java:170)
> at org.apache.hadoop.util.Shell$ShellCommandExecutor.execute(Shell.java:363)
> at org.apache.hadoop.util.Shell.execCommand(Shell.java:449)
> at org.apache.hadoop.util.Shell.execCommand(Shell.java:432)
> at org.apache.hadoop.fs.RawLocalFileSystem.execCommand(RawLocalFileSystem.java:545)
> at org.apache.hadoop.fs.RawLocalFileSystem.setPermission(RawLocalFileSystem.java:537)
> at org.apache.hadoop.fs.RawLocalFileSystem.mkdirs(RawLocalFileSystem.java:347)
> at org.apache.hadoop.fs.FilterFileSystem.mkdirs(FilterFileSystem.java:184)
> at org.apache.hadoop.fs.FileSystem.primitiveMkdir(FileSystem.java:769)
> at org.apache.hadoop.fs.FileContext.mkdir(FileContext.java:539)
> at org.apache.hadoop.fs.FileContextMainOperationsBaseTest.testWorkingDirectory(FileContextMainOperationsBaseTest.java:170)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HADOOP-6327) Fix build error for one of the
FileContext Tests
Posted by "Hudson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-6327?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12769807#action_12769807 ]
Hudson commented on HADOOP-6327:
--------------------------------
Integrated in Hadoop-Hdfs-trunk #120 (See [http://hudson.zones.apache.org/hudson/job/Hadoop-Hdfs-trunk/120/])
> Fix build error for one of the FileContext Tests
> ------------------------------------------------
>
> Key: HADOOP-6327
> URL: https://issues.apache.org/jira/browse/HADOOP-6327
> Project: Hadoop Common
> Issue Type: Bug
> Components: test
> Reporter: Sanjay Radia
> Assignee: Sanjay Radia
> Fix For: 0.21.0, 0.22.0
>
> Attachments: buildError.patch
>
>
> The build fails in Hudson
> org.apache.hadoop.fs.TestLocalFSFileContextMainOperations.testWorkingDirectory (from TestLocalFSFileContextMainOperations)
> Failing for the past 5 builds (Since Failed#272 )
> Took 88 ms.
> add description
> Error Message
> chmod: changing permissions of `/tmp/existingDir': Operation not permitted
> Stacktrace
> org.apache.hadoop.util.Shell$ExitCodeException: chmod: changing permissions of `/tmp/existingDir': Operation not permitted
> at org.apache.hadoop.util.Shell.runCommand(Shell.java:243)
> at org.apache.hadoop.util.Shell.run(Shell.java:170)
> at org.apache.hadoop.util.Shell$ShellCommandExecutor.execute(Shell.java:363)
> at org.apache.hadoop.util.Shell.execCommand(Shell.java:449)
> at org.apache.hadoop.util.Shell.execCommand(Shell.java:432)
> at org.apache.hadoop.fs.RawLocalFileSystem.execCommand(RawLocalFileSystem.java:545)
> at org.apache.hadoop.fs.RawLocalFileSystem.setPermission(RawLocalFileSystem.java:537)
> at org.apache.hadoop.fs.RawLocalFileSystem.mkdirs(RawLocalFileSystem.java:347)
> at org.apache.hadoop.fs.FilterFileSystem.mkdirs(FilterFileSystem.java:184)
> at org.apache.hadoop.fs.FileSystem.primitiveMkdir(FileSystem.java:769)
> at org.apache.hadoop.fs.FileContext.mkdir(FileContext.java:539)
> at org.apache.hadoop.fs.FileContextMainOperationsBaseTest.testWorkingDirectory(FileContextMainOperationsBaseTest.java:170)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (HADOOP-6327) Fix build error for one of the
FileContext errors
Posted by "Sanjay Radia (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-6327?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sanjay Radia reassigned HADOOP-6327:
------------------------------------
Assignee: Sanjay Radia
> Fix build error for one of the FileContext errors
> -------------------------------------------------
>
> Key: HADOOP-6327
> URL: https://issues.apache.org/jira/browse/HADOOP-6327
> Project: Hadoop Common
> Issue Type: Bug
> Reporter: Sanjay Radia
> Assignee: Sanjay Radia
>
> The build fails in Hudson
> org.apache.hadoop.fs.TestLocalFSFileContextMainOperations.testWorkingDirectory (from TestLocalFSFileContextMainOperations)
> Failing for the past 5 builds (Since Failed#272 )
> Took 88 ms.
> add description
> Error Message
> chmod: changing permissions of `/tmp/existingDir': Operation not permitted
> Stacktrace
> org.apache.hadoop.util.Shell$ExitCodeException: chmod: changing permissions of `/tmp/existingDir': Operation not permitted
> at org.apache.hadoop.util.Shell.runCommand(Shell.java:243)
> at org.apache.hadoop.util.Shell.run(Shell.java:170)
> at org.apache.hadoop.util.Shell$ShellCommandExecutor.execute(Shell.java:363)
> at org.apache.hadoop.util.Shell.execCommand(Shell.java:449)
> at org.apache.hadoop.util.Shell.execCommand(Shell.java:432)
> at org.apache.hadoop.fs.RawLocalFileSystem.execCommand(RawLocalFileSystem.java:545)
> at org.apache.hadoop.fs.RawLocalFileSystem.setPermission(RawLocalFileSystem.java:537)
> at org.apache.hadoop.fs.RawLocalFileSystem.mkdirs(RawLocalFileSystem.java:347)
> at org.apache.hadoop.fs.FilterFileSystem.mkdirs(FilterFileSystem.java:184)
> at org.apache.hadoop.fs.FileSystem.primitiveMkdir(FileSystem.java:769)
> at org.apache.hadoop.fs.FileContext.mkdir(FileContext.java:539)
> at org.apache.hadoop.fs.FileContextMainOperationsBaseTest.testWorkingDirectory(FileContextMainOperationsBaseTest.java:170)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HADOOP-6327) Fix build error for one of the
FileContext Tests
Posted by "Hudson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-6327?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12770262#action_12770262 ]
Hudson commented on HADOOP-6327:
--------------------------------
Integrated in Hdfs-Patch-h5.grid.sp2.yahoo.net #78 (See [http://hudson.zones.apache.org/hudson/job/Hdfs-Patch-h5.grid.sp2.yahoo.net/78/])
> Fix build error for one of the FileContext Tests
> ------------------------------------------------
>
> Key: HADOOP-6327
> URL: https://issues.apache.org/jira/browse/HADOOP-6327
> Project: Hadoop Common
> Issue Type: Bug
> Components: test
> Reporter: Sanjay Radia
> Assignee: Sanjay Radia
> Fix For: 0.21.0, 0.22.0
>
> Attachments: buildError.patch
>
>
> The build fails in Hudson
> org.apache.hadoop.fs.TestLocalFSFileContextMainOperations.testWorkingDirectory (from TestLocalFSFileContextMainOperations)
> Failing for the past 5 builds (Since Failed#272 )
> Took 88 ms.
> add description
> Error Message
> chmod: changing permissions of `/tmp/existingDir': Operation not permitted
> Stacktrace
> org.apache.hadoop.util.Shell$ExitCodeException: chmod: changing permissions of `/tmp/existingDir': Operation not permitted
> at org.apache.hadoop.util.Shell.runCommand(Shell.java:243)
> at org.apache.hadoop.util.Shell.run(Shell.java:170)
> at org.apache.hadoop.util.Shell$ShellCommandExecutor.execute(Shell.java:363)
> at org.apache.hadoop.util.Shell.execCommand(Shell.java:449)
> at org.apache.hadoop.util.Shell.execCommand(Shell.java:432)
> at org.apache.hadoop.fs.RawLocalFileSystem.execCommand(RawLocalFileSystem.java:545)
> at org.apache.hadoop.fs.RawLocalFileSystem.setPermission(RawLocalFileSystem.java:537)
> at org.apache.hadoop.fs.RawLocalFileSystem.mkdirs(RawLocalFileSystem.java:347)
> at org.apache.hadoop.fs.FilterFileSystem.mkdirs(FilterFileSystem.java:184)
> at org.apache.hadoop.fs.FileSystem.primitiveMkdir(FileSystem.java:769)
> at org.apache.hadoop.fs.FileContext.mkdir(FileContext.java:539)
> at org.apache.hadoop.fs.FileContextMainOperationsBaseTest.testWorkingDirectory(FileContextMainOperationsBaseTest.java:170)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HADOOP-6327) Fix build error for one of the
FileContext Tests
Posted by "Hudson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-6327?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12768957#action_12768957 ]
Hudson commented on HADOOP-6327:
--------------------------------
Integrated in Hadoop-Common-trunk-Commit #68 (See [http://hudson.zones.apache.org/hudson/job/Hadoop-Common-trunk-Commit/68/])
. FileContext tests should not use /tmp and should clean up files. Contributed by Sanjay Radia
> Fix build error for one of the FileContext Tests
> ------------------------------------------------
>
> Key: HADOOP-6327
> URL: https://issues.apache.org/jira/browse/HADOOP-6327
> Project: Hadoop Common
> Issue Type: Bug
> Components: test
> Reporter: Sanjay Radia
> Assignee: Sanjay Radia
> Fix For: 0.21.0, 0.22.0
>
> Attachments: buildError.patch
>
>
> The build fails in Hudson
> org.apache.hadoop.fs.TestLocalFSFileContextMainOperations.testWorkingDirectory (from TestLocalFSFileContextMainOperations)
> Failing for the past 5 builds (Since Failed#272 )
> Took 88 ms.
> add description
> Error Message
> chmod: changing permissions of `/tmp/existingDir': Operation not permitted
> Stacktrace
> org.apache.hadoop.util.Shell$ExitCodeException: chmod: changing permissions of `/tmp/existingDir': Operation not permitted
> at org.apache.hadoop.util.Shell.runCommand(Shell.java:243)
> at org.apache.hadoop.util.Shell.run(Shell.java:170)
> at org.apache.hadoop.util.Shell$ShellCommandExecutor.execute(Shell.java:363)
> at org.apache.hadoop.util.Shell.execCommand(Shell.java:449)
> at org.apache.hadoop.util.Shell.execCommand(Shell.java:432)
> at org.apache.hadoop.fs.RawLocalFileSystem.execCommand(RawLocalFileSystem.java:545)
> at org.apache.hadoop.fs.RawLocalFileSystem.setPermission(RawLocalFileSystem.java:537)
> at org.apache.hadoop.fs.RawLocalFileSystem.mkdirs(RawLocalFileSystem.java:347)
> at org.apache.hadoop.fs.FilterFileSystem.mkdirs(FilterFileSystem.java:184)
> at org.apache.hadoop.fs.FileSystem.primitiveMkdir(FileSystem.java:769)
> at org.apache.hadoop.fs.FileContext.mkdir(FileContext.java:539)
> at org.apache.hadoop.fs.FileContextMainOperationsBaseTest.testWorkingDirectory(FileContextMainOperationsBaseTest.java:170)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HADOOP-6327) Fix build error for one of the
FileContext errors
Posted by "Sanjay Radia (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-6327?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sanjay Radia updated HADOOP-6327:
---------------------------------
Status: Patch Available (was: Open)
> Fix build error for one of the FileContext errors
> -------------------------------------------------
>
> Key: HADOOP-6327
> URL: https://issues.apache.org/jira/browse/HADOOP-6327
> Project: Hadoop Common
> Issue Type: Bug
> Reporter: Sanjay Radia
> Assignee: Sanjay Radia
> Attachments: buildError.patch
>
>
> The build fails in Hudson
> org.apache.hadoop.fs.TestLocalFSFileContextMainOperations.testWorkingDirectory (from TestLocalFSFileContextMainOperations)
> Failing for the past 5 builds (Since Failed#272 )
> Took 88 ms.
> add description
> Error Message
> chmod: changing permissions of `/tmp/existingDir': Operation not permitted
> Stacktrace
> org.apache.hadoop.util.Shell$ExitCodeException: chmod: changing permissions of `/tmp/existingDir': Operation not permitted
> at org.apache.hadoop.util.Shell.runCommand(Shell.java:243)
> at org.apache.hadoop.util.Shell.run(Shell.java:170)
> at org.apache.hadoop.util.Shell$ShellCommandExecutor.execute(Shell.java:363)
> at org.apache.hadoop.util.Shell.execCommand(Shell.java:449)
> at org.apache.hadoop.util.Shell.execCommand(Shell.java:432)
> at org.apache.hadoop.fs.RawLocalFileSystem.execCommand(RawLocalFileSystem.java:545)
> at org.apache.hadoop.fs.RawLocalFileSystem.setPermission(RawLocalFileSystem.java:537)
> at org.apache.hadoop.fs.RawLocalFileSystem.mkdirs(RawLocalFileSystem.java:347)
> at org.apache.hadoop.fs.FilterFileSystem.mkdirs(FilterFileSystem.java:184)
> at org.apache.hadoop.fs.FileSystem.primitiveMkdir(FileSystem.java:769)
> at org.apache.hadoop.fs.FileContext.mkdir(FileContext.java:539)
> at org.apache.hadoop.fs.FileContextMainOperationsBaseTest.testWorkingDirectory(FileContextMainOperationsBaseTest.java:170)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HADOOP-6327) Fix build error for one of the
FileContext Tests
Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-6327?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tsz Wo (Nicholas), SZE updated HADOOP-6327:
-------------------------------------------
Component/s: test
Hadoop Flags: [Reviewed]
+1 patch looks good.
> Fix build error for one of the FileContext Tests
> ------------------------------------------------
>
> Key: HADOOP-6327
> URL: https://issues.apache.org/jira/browse/HADOOP-6327
> Project: Hadoop Common
> Issue Type: Bug
> Components: test
> Reporter: Sanjay Radia
> Assignee: Sanjay Radia
> Attachments: buildError.patch
>
>
> The build fails in Hudson
> org.apache.hadoop.fs.TestLocalFSFileContextMainOperations.testWorkingDirectory (from TestLocalFSFileContextMainOperations)
> Failing for the past 5 builds (Since Failed#272 )
> Took 88 ms.
> add description
> Error Message
> chmod: changing permissions of `/tmp/existingDir': Operation not permitted
> Stacktrace
> org.apache.hadoop.util.Shell$ExitCodeException: chmod: changing permissions of `/tmp/existingDir': Operation not permitted
> at org.apache.hadoop.util.Shell.runCommand(Shell.java:243)
> at org.apache.hadoop.util.Shell.run(Shell.java:170)
> at org.apache.hadoop.util.Shell$ShellCommandExecutor.execute(Shell.java:363)
> at org.apache.hadoop.util.Shell.execCommand(Shell.java:449)
> at org.apache.hadoop.util.Shell.execCommand(Shell.java:432)
> at org.apache.hadoop.fs.RawLocalFileSystem.execCommand(RawLocalFileSystem.java:545)
> at org.apache.hadoop.fs.RawLocalFileSystem.setPermission(RawLocalFileSystem.java:537)
> at org.apache.hadoop.fs.RawLocalFileSystem.mkdirs(RawLocalFileSystem.java:347)
> at org.apache.hadoop.fs.FilterFileSystem.mkdirs(FilterFileSystem.java:184)
> at org.apache.hadoop.fs.FileSystem.primitiveMkdir(FileSystem.java:769)
> at org.apache.hadoop.fs.FileContext.mkdir(FileContext.java:539)
> at org.apache.hadoop.fs.FileContextMainOperationsBaseTest.testWorkingDirectory(FileContextMainOperationsBaseTest.java:170)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HADOOP-6327) Fix build error for one of the
FileContext Tests
Posted by "Sanjay Radia (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-6327?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sanjay Radia updated HADOOP-6327:
---------------------------------
Summary: Fix build error for one of the FileContext Tests (was: Fix build error for one of the FileContext errors)
> Fix build error for one of the FileContext Tests
> ------------------------------------------------
>
> Key: HADOOP-6327
> URL: https://issues.apache.org/jira/browse/HADOOP-6327
> Project: Hadoop Common
> Issue Type: Bug
> Reporter: Sanjay Radia
> Assignee: Sanjay Radia
> Attachments: buildError.patch
>
>
> The build fails in Hudson
> org.apache.hadoop.fs.TestLocalFSFileContextMainOperations.testWorkingDirectory (from TestLocalFSFileContextMainOperations)
> Failing for the past 5 builds (Since Failed#272 )
> Took 88 ms.
> add description
> Error Message
> chmod: changing permissions of `/tmp/existingDir': Operation not permitted
> Stacktrace
> org.apache.hadoop.util.Shell$ExitCodeException: chmod: changing permissions of `/tmp/existingDir': Operation not permitted
> at org.apache.hadoop.util.Shell.runCommand(Shell.java:243)
> at org.apache.hadoop.util.Shell.run(Shell.java:170)
> at org.apache.hadoop.util.Shell$ShellCommandExecutor.execute(Shell.java:363)
> at org.apache.hadoop.util.Shell.execCommand(Shell.java:449)
> at org.apache.hadoop.util.Shell.execCommand(Shell.java:432)
> at org.apache.hadoop.fs.RawLocalFileSystem.execCommand(RawLocalFileSystem.java:545)
> at org.apache.hadoop.fs.RawLocalFileSystem.setPermission(RawLocalFileSystem.java:537)
> at org.apache.hadoop.fs.RawLocalFileSystem.mkdirs(RawLocalFileSystem.java:347)
> at org.apache.hadoop.fs.FilterFileSystem.mkdirs(FilterFileSystem.java:184)
> at org.apache.hadoop.fs.FileSystem.primitiveMkdir(FileSystem.java:769)
> at org.apache.hadoop.fs.FileContext.mkdir(FileContext.java:539)
> at org.apache.hadoop.fs.FileContextMainOperationsBaseTest.testWorkingDirectory(FileContextMainOperationsBaseTest.java:170)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HADOOP-6327) Fix build error for one of the
FileContext Tests
Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-6327?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tsz Wo (Nicholas), SZE updated HADOOP-6327:
-------------------------------------------
Resolution: Fixed
Fix Version/s: 0.22.0
0.21.0
Status: Resolved (was: Patch Available)
I have committed this to 0.21 and above. Thanks, Sanjay!
> Fix build error for one of the FileContext Tests
> ------------------------------------------------
>
> Key: HADOOP-6327
> URL: https://issues.apache.org/jira/browse/HADOOP-6327
> Project: Hadoop Common
> Issue Type: Bug
> Components: test
> Reporter: Sanjay Radia
> Assignee: Sanjay Radia
> Fix For: 0.21.0, 0.22.0
>
> Attachments: buildError.patch
>
>
> The build fails in Hudson
> org.apache.hadoop.fs.TestLocalFSFileContextMainOperations.testWorkingDirectory (from TestLocalFSFileContextMainOperations)
> Failing for the past 5 builds (Since Failed#272 )
> Took 88 ms.
> add description
> Error Message
> chmod: changing permissions of `/tmp/existingDir': Operation not permitted
> Stacktrace
> org.apache.hadoop.util.Shell$ExitCodeException: chmod: changing permissions of `/tmp/existingDir': Operation not permitted
> at org.apache.hadoop.util.Shell.runCommand(Shell.java:243)
> at org.apache.hadoop.util.Shell.run(Shell.java:170)
> at org.apache.hadoop.util.Shell$ShellCommandExecutor.execute(Shell.java:363)
> at org.apache.hadoop.util.Shell.execCommand(Shell.java:449)
> at org.apache.hadoop.util.Shell.execCommand(Shell.java:432)
> at org.apache.hadoop.fs.RawLocalFileSystem.execCommand(RawLocalFileSystem.java:545)
> at org.apache.hadoop.fs.RawLocalFileSystem.setPermission(RawLocalFileSystem.java:537)
> at org.apache.hadoop.fs.RawLocalFileSystem.mkdirs(RawLocalFileSystem.java:347)
> at org.apache.hadoop.fs.FilterFileSystem.mkdirs(FilterFileSystem.java:184)
> at org.apache.hadoop.fs.FileSystem.primitiveMkdir(FileSystem.java:769)
> at org.apache.hadoop.fs.FileContext.mkdir(FileContext.java:539)
> at org.apache.hadoop.fs.FileContextMainOperationsBaseTest.testWorkingDirectory(FileContextMainOperationsBaseTest.java:170)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.