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 "Vinay Kumar Thota (JIRA)" <ji...@apache.org> on 2010/06/11 07:12:14 UTC

[jira] Created: (HADOOP-6819) [Herriot] Shell command for getting the new exceptions in the logs returning exitcode 1 after executing successfully.

[Herriot] Shell command for getting the new exceptions in the logs returning exitcode 1 after executing successfully.
---------------------------------------------------------------------------------------------------------------------

                 Key: HADOOP-6819
                 URL: https://issues.apache.org/jira/browse/HADOOP-6819
             Project: Hadoop Common
          Issue Type: Bug
          Components: test
            Reporter: Vinay Kumar Thota
            Assignee: Vinay Kumar Thota


I have found an corner case issue while executing the shell command for getting the new exceptions in the logs. The problem could see whenever the log files are empty and trying to get the new exceptions count, it returns the output is 0 ,however it returns the exitcode is 1 instead of 0. grep -vc in the command is not  giving the expected exitcode because its not handling the multiple in options.





-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HADOOP-6819) [Herriot] Shell command for getting the new exceptions in the logs returning exitcode 1 after executing successfully.

Posted by "Konstantin Boudnik (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-6819?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Konstantin Boudnik updated HADOOP-6819:
---------------------------------------

           Status: Resolved  (was: Patch Available)
    Fix Version/s: 0.21.0
       Resolution: Fixed

I have committed this to trunk and 0.21 branch. Thanks Vinay!

> [Herriot] Shell command for getting the new exceptions in the logs returning exitcode 1 after executing successfully.
> ---------------------------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-6819
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6819
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: test
>    Affects Versions: 0.21.0
>            Reporter: Vinay Kumar Thota
>            Assignee: Vinay Kumar Thota
>             Fix For: 0.21.0
>
>         Attachments: 6819-ydist-security.patch, HADOOP-6819.patch
>
>
> I have found an corner case issue while executing the shell command for getting the new exceptions in the logs. The problem could see whenever the log files are empty and trying to get the new exceptions count, it returns the output is 0 ,however it returns the exitcode is 1 instead of 0. grep -vc in the command is not  giving the expected exitcode because its not handling the multiple in options.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HADOOP-6819) [Herriot] Shell command for getting the new exceptions in the logs returning exitcode 1 after executing successfully.

Posted by "Konstantin Boudnik (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-6819?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12877982#action_12877982 ] 

Konstantin Boudnik commented on HADOOP-6819:
--------------------------------------------

As far as I can see all javadoc warnings are related to {{warning: sun.security.krb5.*}} and there are 6 of them. So, I don't think the patch in question could raise the number of javadoc warning considering the scope of the patch.

> [Herriot] Shell command for getting the new exceptions in the logs returning exitcode 1 after executing successfully.
> ---------------------------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-6819
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6819
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: test
>    Affects Versions: 0.21.0
>            Reporter: Vinay Kumar Thota
>            Assignee: Vinay Kumar Thota
>         Attachments: 6819-ydist-security.patch, HADOOP-6819.patch
>
>
> I have found an corner case issue while executing the shell command for getting the new exceptions in the logs. The problem could see whenever the log files are empty and trying to get the new exceptions count, it returns the output is 0 ,however it returns the exitcode is 1 instead of 0. grep -vc in the command is not  giving the expected exitcode because its not handling the multiple in options.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HADOOP-6819) [Herriot] Shell command for getting the new exceptions in the logs returning exitcode 1 after executing successfully.

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-6819?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12888290#action_12888290 ] 

Hudson commented on HADOOP-6819:
--------------------------------

Integrated in Hadoop-Common-trunk #392 (See [http://hudson.zones.apache.org/hudson/job/Hadoop-Common-trunk/392/])
    HADOOP-6819. [Herriot] Shell command for getting the new exceptions in
the logs returning exitcode 1 after executing successfully. Contributed
by Vinay Thota.


> [Herriot] Shell command for getting the new exceptions in the logs returning exitcode 1 after executing successfully.
> ---------------------------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-6819
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6819
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: test
>    Affects Versions: 0.21.0
>            Reporter: Vinay Kumar Thota
>            Assignee: Vinay Kumar Thota
>             Fix For: 0.21.0
>
>         Attachments: 6819-ydist-security.patch, HADOOP-6819.patch
>
>
> I have found an corner case issue while executing the shell command for getting the new exceptions in the logs. The problem could see whenever the log files are empty and trying to get the new exceptions count, it returns the output is 0 ,however it returns the exitcode is 1 instead of 0. grep -vc in the command is not  giving the expected exitcode because its not handling the multiple in options.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HADOOP-6819) [Herriot] Shell command for getting the new exceptions in the logs returning exitcode 1 after executing successfully.

Posted by "Vinay Kumar Thota (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-6819?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12886846#action_12886846 ] 

Vinay Kumar Thota commented on HADOOP-6819:
-------------------------------------------

Cos, It was there in patch available state quite a long time.Please commit it.

> [Herriot] Shell command for getting the new exceptions in the logs returning exitcode 1 after executing successfully.
> ---------------------------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-6819
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6819
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: test
>    Affects Versions: 0.21.0
>            Reporter: Vinay Kumar Thota
>            Assignee: Vinay Kumar Thota
>         Attachments: 6819-ydist-security.patch, HADOOP-6819.patch
>
>
> I have found an corner case issue while executing the shell command for getting the new exceptions in the logs. The problem could see whenever the log files are empty and trying to get the new exceptions count, it returns the output is 0 ,however it returns the exitcode is 1 instead of 0. grep -vc in the command is not  giving the expected exitcode because its not handling the multiple in options.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HADOOP-6819) [Herriot] Shell command for getting the new exceptions in the logs returning exitcode 1 after executing successfully.

Posted by "Vinay Kumar Thota (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-6819?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vinay Kumar Thota updated HADOOP-6819:
--------------------------------------

    Attachment: HADOOP-6819.patch

Patch for trunk.

> [Herriot] Shell command for getting the new exceptions in the logs returning exitcode 1 after executing successfully.
> ---------------------------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-6819
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6819
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: test
>            Reporter: Vinay Kumar Thota
>            Assignee: Vinay Kumar Thota
>         Attachments: 6819-ydist-security.patch, HADOOP-6819.patch
>
>
> I have found an corner case issue while executing the shell command for getting the new exceptions in the logs. The problem could see whenever the log files are empty and trying to get the new exceptions count, it returns the output is 0 ,however it returns the exitcode is 1 instead of 0. grep -vc in the command is not  giving the expected exitcode because its not handling the multiple in options.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HADOOP-6819) [Herriot] Shell command for getting the new exceptions in the logs returning exitcode 1 after executing successfully.

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-6819?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12887857#action_12887857 ] 

Hudson commented on HADOOP-6819:
--------------------------------

Integrated in Hadoop-Common-trunk-Commit #324 (See [http://hudson.zones.apache.org/hudson/job/Hadoop-Common-trunk-Commit/324/])
    HADOOP-6819. [Herriot] Shell command for getting the new exceptions in
the logs returning exitcode 1 after executing successfully. Contributed
by Vinay Thota.


> [Herriot] Shell command for getting the new exceptions in the logs returning exitcode 1 after executing successfully.
> ---------------------------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-6819
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6819
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: test
>    Affects Versions: 0.21.0
>            Reporter: Vinay Kumar Thota
>            Assignee: Vinay Kumar Thota
>             Fix For: 0.21.0
>
>         Attachments: 6819-ydist-security.patch, HADOOP-6819.patch
>
>
> I have found an corner case issue while executing the shell command for getting the new exceptions in the logs. The problem could see whenever the log files are empty and trying to get the new exceptions count, it returns the output is 0 ,however it returns the exitcode is 1 instead of 0. grep -vc in the command is not  giving the expected exitcode because its not handling the multiple in options.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HADOOP-6819) [Herriot] Shell command for getting the new exceptions in the logs returning exitcode 1 after executing successfully.

Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-6819?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12877967#action_12877967 ] 

Hadoop QA commented on HADOOP-6819:
-----------------------------------

-1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12446839/HADOOP-6819.patch
  against trunk revision 953863.

    +1 @author.  The patch does not contain any @author tags.

    +1 tests included.  The patch appears to include 3 new or modified tests.

    -1 javadoc.  The javadoc tool appears to have generated 1 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/581/testReport/
Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-h4.grid.sp2.yahoo.net/581/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Checkstyle results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-h4.grid.sp2.yahoo.net/581/artifact/trunk/build/test/checkstyle-errors.html
Console output: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-h4.grid.sp2.yahoo.net/581/console

This message is automatically generated.

> [Herriot] Shell command for getting the new exceptions in the logs returning exitcode 1 after executing successfully.
> ---------------------------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-6819
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6819
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: test
>    Affects Versions: 0.21.0
>            Reporter: Vinay Kumar Thota
>            Assignee: Vinay Kumar Thota
>         Attachments: 6819-ydist-security.patch, HADOOP-6819.patch
>
>
> I have found an corner case issue while executing the shell command for getting the new exceptions in the logs. The problem could see whenever the log files are empty and trying to get the new exceptions count, it returns the output is 0 ,however it returns the exitcode is 1 instead of 0. grep -vc in the command is not  giving the expected exitcode because its not handling the multiple in options.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HADOOP-6819) [Herriot] Shell command for getting the new exceptions in the logs returning exitcode 1 after executing successfully.

Posted by "Konstantin Boudnik (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-6819?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Konstantin Boudnik updated HADOOP-6819:
---------------------------------------

    Tags: herriot

> [Herriot] Shell command for getting the new exceptions in the logs returning exitcode 1 after executing successfully.
> ---------------------------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-6819
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6819
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: test
>    Affects Versions: 0.21.0
>            Reporter: Vinay Kumar Thota
>            Assignee: Vinay Kumar Thota
>             Fix For: 0.21.0
>
>         Attachments: 6819-ydist-security.patch, HADOOP-6819.patch
>
>
> I have found an corner case issue while executing the shell command for getting the new exceptions in the logs. The problem could see whenever the log files are empty and trying to get the new exceptions count, it returns the output is 0 ,however it returns the exitcode is 1 instead of 0. grep -vc in the command is not  giving the expected exitcode because its not handling the multiple in options.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HADOOP-6819) [Herriot] Shell command for getting the new exceptions in the logs returning exitcode 1 after executing successfully.

Posted by "Konstantin Boudnik (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-6819?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Konstantin Boudnik updated HADOOP-6819:
---------------------------------------

               Status: Patch Available  (was: Open)
         Hadoop Flags: [Reviewed]
    Affects Version/s: 0.21.0

+1 patch looks good. 
Submitting to verify the trunk version of it.

> [Herriot] Shell command for getting the new exceptions in the logs returning exitcode 1 after executing successfully.
> ---------------------------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-6819
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6819
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: test
>    Affects Versions: 0.21.0
>            Reporter: Vinay Kumar Thota
>            Assignee: Vinay Kumar Thota
>         Attachments: 6819-ydist-security.patch, HADOOP-6819.patch
>
>
> I have found an corner case issue while executing the shell command for getting the new exceptions in the logs. The problem could see whenever the log files are empty and trying to get the new exceptions count, it returns the output is 0 ,however it returns the exitcode is 1 instead of 0. grep -vc in the command is not  giving the expected exitcode because its not handling the multiple in options.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HADOOP-6819) [Herriot] Shell command for getting the new exceptions in the logs returning exitcode 1 after executing successfully.

Posted by "Vinay Kumar Thota (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-6819?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vinay Kumar Thota updated HADOOP-6819:
--------------------------------------

    Attachment: 6819-ydist-security.patch

Patch for yahoo security dist branch.

> [Herriot] Shell command for getting the new exceptions in the logs returning exitcode 1 after executing successfully.
> ---------------------------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-6819
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6819
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: test
>            Reporter: Vinay Kumar Thota
>            Assignee: Vinay Kumar Thota
>         Attachments: 6819-ydist-security.patch
>
>
> I have found an corner case issue while executing the shell command for getting the new exceptions in the logs. The problem could see whenever the log files are empty and trying to get the new exceptions count, it returns the output is 0 ,however it returns the exitcode is 1 instead of 0. grep -vc in the command is not  giving the expected exitcode because its not handling the multiple in options.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.