You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Ben Slusky (JIRA)" <ji...@apache.org> on 2008/07/18 21:36:31 UTC
[jira] Created: (HADOOP-3792) exit code from "hadoop dfs -test ..."
is wrong for Unix shell
exit code from "hadoop dfs -test ..." is wrong for Unix shell
-------------------------------------------------------------
Key: HADOOP-3792
URL: https://issues.apache.org/jira/browse/HADOOP-3792
Project: Hadoop Core
Issue Type: Bug
Components: fs
Affects Versions: 0.17.1
Environment: any Bourne-derived shell
Reporter: Ben Slusky
Assignee: Ben Slusky
Priority: Minor
Attachments: fsshell-test.patch
The exit code for the "test" command in hadoop.fs.FsShell is backwards relative to the Unix shell, which interprets an exit code of 0 as true and anything else as false.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HADOOP-3792) exit code from "hadoop dfs -test ..."
is wrong for Unix shell
Posted by "Chris Douglas (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-3792?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chris Douglas updated HADOOP-3792:
----------------------------------
Resolution: Fixed
Fix Version/s: 0.19.0
Hadoop Flags: [Incompatible change, Reviewed]
Status: Resolved (was: Patch Available)
I just committed this. Thanks, Ben
> exit code from "hadoop dfs -test ..." is wrong for Unix shell
> -------------------------------------------------------------
>
> Key: HADOOP-3792
> URL: https://issues.apache.org/jira/browse/HADOOP-3792
> Project: Hadoop Core
> Issue Type: Bug
> Components: fs
> Affects Versions: 0.17.1
> Environment: any Bourne-derived shell
> Reporter: Ben Slusky
> Assignee: Ben Slusky
> Priority: Minor
> Fix For: 0.19.0
>
> Attachments: fsshell-test.patch
>
>
> The exit code for the "test" command in hadoop.fs.FsShell is backwards relative to the Unix shell, which interprets an exit code of 0 as true and anything else as false.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HADOOP-3792) exit code from "hadoop dfs -test ..."
is wrong for Unix shell
Posted by "Ben Slusky (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-3792?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ben Slusky updated HADOOP-3792:
-------------------------------
Attachment: fsshell-test.patch
> exit code from "hadoop dfs -test ..." is wrong for Unix shell
> -------------------------------------------------------------
>
> Key: HADOOP-3792
> URL: https://issues.apache.org/jira/browse/HADOOP-3792
> Project: Hadoop Core
> Issue Type: Bug
> Components: fs
> Affects Versions: 0.17.1
> Environment: any Bourne-derived shell
> Reporter: Ben Slusky
> Assignee: Ben Slusky
> Priority: Minor
> Attachments: fsshell-test.patch
>
>
> The exit code for the "test" command in hadoop.fs.FsShell is backwards relative to the Unix shell, which interprets an exit code of 0 as true and anything else as false.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HADOOP-3792) exit code from "hadoop dfs -test ..."
is wrong for Unix shell
Posted by "Robert Chansler (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-3792?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robert Chansler updated HADOOP-3792:
------------------------------------
Release Note: Changed exit code from hadoop.fs.FsShell -test to match the usual Unix convention.
Hadoop Flags: [Incompatible change, Reviewed] (was: [Reviewed, Incompatible change])
> exit code from "hadoop dfs -test ..." is wrong for Unix shell
> -------------------------------------------------------------
>
> Key: HADOOP-3792
> URL: https://issues.apache.org/jira/browse/HADOOP-3792
> Project: Hadoop Core
> Issue Type: Bug
> Components: fs
> Affects Versions: 0.17.1
> Environment: any Bourne-derived shell
> Reporter: Ben Slusky
> Assignee: Ben Slusky
> Priority: Minor
> Fix For: 0.19.0
>
> Attachments: fsshell-test.patch
>
>
> The exit code for the "test" command in hadoop.fs.FsShell is backwards relative to the Unix shell, which interprets an exit code of 0 as true and anything else as false.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HADOOP-3792) exit code from "hadoop dfs -test
..." is wrong for Unix shell
Posted by "Chris Douglas (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-3792?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12618904#action_12618904 ]
Chris Douglas commented on HADOOP-3792:
---------------------------------------
This should also update DfsTask, which assumes a return value of 0 is false.
> exit code from "hadoop dfs -test ..." is wrong for Unix shell
> -------------------------------------------------------------
>
> Key: HADOOP-3792
> URL: https://issues.apache.org/jira/browse/HADOOP-3792
> Project: Hadoop Core
> Issue Type: Bug
> Components: fs
> Affects Versions: 0.17.1
> Environment: any Bourne-derived shell
> Reporter: Ben Slusky
> Assignee: Ben Slusky
> Priority: Minor
> Attachments: fsshell-test.patch
>
>
> The exit code for the "test" command in hadoop.fs.FsShell is backwards relative to the Unix shell, which interprets an exit code of 0 as true and anything else as false.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HADOOP-3792) exit code from "hadoop dfs -test ..."
is wrong for Unix shell
Posted by "Ben Slusky (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-3792?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ben Slusky updated HADOOP-3792:
-------------------------------
Attachment: fsshell-test.patch
> exit code from "hadoop dfs -test ..." is wrong for Unix shell
> -------------------------------------------------------------
>
> Key: HADOOP-3792
> URL: https://issues.apache.org/jira/browse/HADOOP-3792
> Project: Hadoop Core
> Issue Type: Bug
> Components: fs
> Affects Versions: 0.17.1
> Environment: any Bourne-derived shell
> Reporter: Ben Slusky
> Assignee: Ben Slusky
> Priority: Minor
> Attachments: fsshell-test.patch
>
>
> The exit code for the "test" command in hadoop.fs.FsShell is backwards relative to the Unix shell, which interprets an exit code of 0 as true and anything else as false.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HADOOP-3792) exit code from "hadoop dfs -test ..."
is wrong for Unix shell
Posted by "Ben Slusky (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-3792?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ben Slusky updated HADOOP-3792:
-------------------------------
Affects Version/s: (was: 0.17.1)
Status: Open (was: Patch Available)
> exit code from "hadoop dfs -test ..." is wrong for Unix shell
> -------------------------------------------------------------
>
> Key: HADOOP-3792
> URL: https://issues.apache.org/jira/browse/HADOOP-3792
> Project: Hadoop Core
> Issue Type: Bug
> Components: fs
> Environment: any Bourne-derived shell
> Reporter: Ben Slusky
> Assignee: Ben Slusky
> Priority: Minor
> Attachments: fsshell-test.patch, fsshell-test.patch
>
>
> The exit code for the "test" command in hadoop.fs.FsShell is backwards relative to the Unix shell, which interprets an exit code of 0 as true and anything else as false.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HADOOP-3792) exit code from "hadoop dfs -test
..." is wrong for Unix shell
Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-3792?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12620449#action_12620449 ]
Hadoop QA commented on HADOOP-3792:
-----------------------------------
+1 overall. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12387648/fsshell-test.patch
against trunk revision 683392.
+1 @author. The patch does not contain any @author tags.
+1 tests included. The patch appears to include 4 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/3023/testReport/
Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/3023/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Checkstyle results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/3023/artifact/trunk/build/test/checkstyle-errors.html
Console output: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/3023/console
This message is automatically generated.
> exit code from "hadoop dfs -test ..." is wrong for Unix shell
> -------------------------------------------------------------
>
> Key: HADOOP-3792
> URL: https://issues.apache.org/jira/browse/HADOOP-3792
> Project: Hadoop Core
> Issue Type: Bug
> Components: fs
> Affects Versions: 0.17.1
> Environment: any Bourne-derived shell
> Reporter: Ben Slusky
> Assignee: Ben Slusky
> Priority: Minor
> Attachments: fsshell-test.patch
>
>
> The exit code for the "test" command in hadoop.fs.FsShell is backwards relative to the Unix shell, which interprets an exit code of 0 as true and anything else as false.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HADOOP-3792) exit code from "hadoop dfs -test
..." is wrong for Unix shell
Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-3792?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12620267#action_12620267 ]
Hadoop QA commented on HADOOP-3792:
-----------------------------------
-1 overall. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12387571/fsshell-test.patch
against trunk revision 682978.
+1 @author. The patch does not contain any @author tags.
+1 tests included. The patch appears to include 4 new or modified tests.
-1 patch. The patch command could not apply the patch.
Console output: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/3017/console
This message is automatically generated.
> exit code from "hadoop dfs -test ..." is wrong for Unix shell
> -------------------------------------------------------------
>
> Key: HADOOP-3792
> URL: https://issues.apache.org/jira/browse/HADOOP-3792
> Project: Hadoop Core
> Issue Type: Bug
> Components: fs
> Affects Versions: 0.17.1
> Environment: any Bourne-derived shell
> Reporter: Ben Slusky
> Assignee: Ben Slusky
> Priority: Minor
> Attachments: fsshell-test.patch, fsshell-test.patch
>
>
> The exit code for the "test" command in hadoop.fs.FsShell is backwards relative to the Unix shell, which interprets an exit code of 0 as true and anything else as false.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HADOOP-3792) exit code from "hadoop dfs -test ..."
is wrong for Unix shell
Posted by "Ben Slusky (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-3792?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ben Slusky updated HADOOP-3792:
-------------------------------
Affects Version/s: 0.17.1
Status: Patch Available (was: Open)
> exit code from "hadoop dfs -test ..." is wrong for Unix shell
> -------------------------------------------------------------
>
> Key: HADOOP-3792
> URL: https://issues.apache.org/jira/browse/HADOOP-3792
> Project: Hadoop Core
> Issue Type: Bug
> Components: fs
> Affects Versions: 0.17.1
> Environment: any Bourne-derived shell
> Reporter: Ben Slusky
> Assignee: Ben Slusky
> Priority: Minor
> Attachments: fsshell-test.patch, fsshell-test.patch
>
>
> The exit code for the "test" command in hadoop.fs.FsShell is backwards relative to the Unix shell, which interprets an exit code of 0 as true and anything else as false.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HADOOP-3792) exit code from "hadoop dfs -test
..." is wrong for Unix shell
Posted by "Hudson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-3792?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12624777#action_12624777 ]
Hudson commented on HADOOP-3792:
--------------------------------
Integrated in Hadoop-trunk #581 (See [http://hudson.zones.apache.org/hudson/job/Hadoop-trunk/581/])
> exit code from "hadoop dfs -test ..." is wrong for Unix shell
> -------------------------------------------------------------
>
> Key: HADOOP-3792
> URL: https://issues.apache.org/jira/browse/HADOOP-3792
> Project: Hadoop Core
> Issue Type: Bug
> Components: fs
> Affects Versions: 0.17.1
> Environment: any Bourne-derived shell
> Reporter: Ben Slusky
> Assignee: Ben Slusky
> Priority: Minor
> Fix For: 0.19.0
>
> Attachments: fsshell-test.patch
>
>
> The exit code for the "test" command in hadoop.fs.FsShell is backwards relative to the Unix shell, which interprets an exit code of 0 as true and anything else as false.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HADOOP-3792) exit code from "hadoop dfs -test
..." is wrong for Unix shell
Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-3792?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12614937#action_12614937 ]
Hadoop QA commented on HADOOP-3792:
-----------------------------------
+1 overall. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12386428/fsshell-test.patch
against trunk revision 678080.
+1 @author. The patch does not contain any @author tags.
+1 tests included. The patch appears to include 4 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/2907/testReport/
Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/2907/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Checkstyle results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/2907/artifact/trunk/build/test/checkstyle-errors.html
Console output: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/2907/console
This message is automatically generated.
> exit code from "hadoop dfs -test ..." is wrong for Unix shell
> -------------------------------------------------------------
>
> Key: HADOOP-3792
> URL: https://issues.apache.org/jira/browse/HADOOP-3792
> Project: Hadoop Core
> Issue Type: Bug
> Components: fs
> Affects Versions: 0.17.1
> Environment: any Bourne-derived shell
> Reporter: Ben Slusky
> Assignee: Ben Slusky
> Priority: Minor
> Attachments: fsshell-test.patch
>
>
> The exit code for the "test" command in hadoop.fs.FsShell is backwards relative to the Unix shell, which interprets an exit code of 0 as true and anything else as false.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HADOOP-3792) exit code from "hadoop dfs -test ..."
is wrong for Unix shell
Posted by "Ben Slusky (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-3792?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ben Slusky updated HADOOP-3792:
-------------------------------
Attachment: (was: fsshell-test.patch)
> exit code from "hadoop dfs -test ..." is wrong for Unix shell
> -------------------------------------------------------------
>
> Key: HADOOP-3792
> URL: https://issues.apache.org/jira/browse/HADOOP-3792
> Project: Hadoop Core
> Issue Type: Bug
> Components: fs
> Affects Versions: 0.17.1
> Environment: any Bourne-derived shell
> Reporter: Ben Slusky
> Assignee: Ben Slusky
> Priority: Minor
> Attachments: fsshell-test.patch
>
>
> The exit code for the "test" command in hadoop.fs.FsShell is backwards relative to the Unix shell, which interprets an exit code of 0 as true and anything else as false.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HADOOP-3792) exit code from "hadoop dfs -test ..."
is wrong for Unix shell
Posted by "Ben Slusky (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-3792?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ben Slusky updated HADOOP-3792:
-------------------------------
Status: Patch Available (was: Open)
> exit code from "hadoop dfs -test ..." is wrong for Unix shell
> -------------------------------------------------------------
>
> Key: HADOOP-3792
> URL: https://issues.apache.org/jira/browse/HADOOP-3792
> Project: Hadoop Core
> Issue Type: Bug
> Components: fs
> Affects Versions: 0.17.1
> Environment: any Bourne-derived shell
> Reporter: Ben Slusky
> Assignee: Ben Slusky
> Priority: Minor
> Attachments: fsshell-test.patch
>
>
> The exit code for the "test" command in hadoop.fs.FsShell is backwards relative to the Unix shell, which interprets an exit code of 0 as true and anything else as false.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HADOOP-3792) exit code from "hadoop dfs -test ..."
is wrong for Unix shell
Posted by "Ben Slusky (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-3792?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ben Slusky updated HADOOP-3792:
-------------------------------
Attachment: fsshell-test.patch
DfsTask updated to reflect the change to FsShell.
> exit code from "hadoop dfs -test ..." is wrong for Unix shell
> -------------------------------------------------------------
>
> Key: HADOOP-3792
> URL: https://issues.apache.org/jira/browse/HADOOP-3792
> Project: Hadoop Core
> Issue Type: Bug
> Components: fs
> Affects Versions: 0.17.1
> Environment: any Bourne-derived shell
> Reporter: Ben Slusky
> Assignee: Ben Slusky
> Priority: Minor
> Attachments: fsshell-test.patch, fsshell-test.patch
>
>
> The exit code for the "test" command in hadoop.fs.FsShell is backwards relative to the Unix shell, which interprets an exit code of 0 as true and anything else as false.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HADOOP-3792) exit code from "hadoop dfs -test ..."
is wrong for Unix shell
Posted by "Ben Slusky (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-3792?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ben Slusky updated HADOOP-3792:
-------------------------------
Attachment: (was: fsshell-test.patch)
> exit code from "hadoop dfs -test ..." is wrong for Unix shell
> -------------------------------------------------------------
>
> Key: HADOOP-3792
> URL: https://issues.apache.org/jira/browse/HADOOP-3792
> Project: Hadoop Core
> Issue Type: Bug
> Components: fs
> Affects Versions: 0.17.1
> Environment: any Bourne-derived shell
> Reporter: Ben Slusky
> Assignee: Ben Slusky
> Priority: Minor
> Attachments: fsshell-test.patch
>
>
> The exit code for the "test" command in hadoop.fs.FsShell is backwards relative to the Unix shell, which interprets an exit code of 0 as true and anything else as false.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HADOOP-3792) exit code from "hadoop dfs -test ..."
is wrong for Unix shell
Posted by "Ben Slusky (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-3792?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ben Slusky updated HADOOP-3792:
-------------------------------
Status: Patch Available (was: Open)
This time for sure!
> exit code from "hadoop dfs -test ..." is wrong for Unix shell
> -------------------------------------------------------------
>
> Key: HADOOP-3792
> URL: https://issues.apache.org/jira/browse/HADOOP-3792
> Project: Hadoop Core
> Issue Type: Bug
> Components: fs
> Affects Versions: 0.17.1
> Environment: any Bourne-derived shell
> Reporter: Ben Slusky
> Assignee: Ben Slusky
> Priority: Minor
> Attachments: fsshell-test.patch
>
>
> The exit code for the "test" command in hadoop.fs.FsShell is backwards relative to the Unix shell, which interprets an exit code of 0 as true and anything else as false.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HADOOP-3792) exit code from "hadoop dfs -test ..."
is wrong for Unix shell
Posted by "Ben Slusky (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-3792?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ben Slusky updated HADOOP-3792:
-------------------------------
Status: Open (was: Patch Available)
> exit code from "hadoop dfs -test ..." is wrong for Unix shell
> -------------------------------------------------------------
>
> Key: HADOOP-3792
> URL: https://issues.apache.org/jira/browse/HADOOP-3792
> Project: Hadoop Core
> Issue Type: Bug
> Components: fs
> Affects Versions: 0.17.1
> Environment: any Bourne-derived shell
> Reporter: Ben Slusky
> Assignee: Ben Slusky
> Priority: Minor
> Attachments: fsshell-test.patch
>
>
> The exit code for the "test" command in hadoop.fs.FsShell is backwards relative to the Unix shell, which interprets an exit code of 0 as true and anything else as false.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.