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 "Brandon Li (JIRA)" <ji...@apache.org> on 2012/08/20 23:05:37 UTC

[jira] [Created] (HADOOP-8711) provide an option for IPC server users to avoid printing stack information for certain exceptions

Brandon Li created HADOOP-8711:
----------------------------------

             Summary: provide an option for IPC server users to avoid printing stack information for certain exceptions
                 Key: HADOOP-8711
                 URL: https://issues.apache.org/jira/browse/HADOOP-8711
             Project: Hadoop Common
          Issue Type: Improvement
          Components: ipc
            Reporter: Brandon Li
            Assignee: Brandon Li
             Fix For: 3.0.0


Currently it's hard coded in the server that it doesn't print the exception stack for StandbyException. 

Similarly, other components may have their own exceptions which don't need to save the stack trace in log. One example is HDFS-3817.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HADOOP-8711) provide an option for IPC server users to avoid printing stack information for certain exceptions

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

Hadoop QA commented on HADOOP-8711:
-----------------------------------

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

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

    -1 tests included.  The patch doesn't appear to include any new or modified tests.
                        Please justify why no new tests are needed for this patch.
                        Also please list what manual steps were performed to verify this patch.

    +1 javac.  The applied patch does not increase the total number of javac compiler warnings.

    +1 javadoc.  The javadoc tool did not generate any warning messages.

    +1 eclipse:eclipse.  The patch built with eclipse:eclipse.

    +1 findbugs.  The patch does not introduce any new Findbugs (version 1.3.9) warnings.

    +1 release audit.  The applied patch does not increase the total number of release audit warnings.

    +1 core tests.  The patch passed unit tests in hadoop-common-project/hadoop-common hadoop-hdfs-project/hadoop-hdfs.

    +1 contrib tests.  The patch passed contrib unit tests.

Test results: https://builds.apache.org/job/PreCommit-HADOOP-Build/1335//testReport/
Console output: https://builds.apache.org/job/PreCommit-HADOOP-Build/1335//console

This message is automatically generated.
                
> provide an option for IPC server users to avoid printing stack information for certain exceptions
> -------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-8711
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8711
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: ipc
>            Reporter: Brandon Li
>            Assignee: Brandon Li
>             Fix For: 3.0.0
>
>         Attachments: HADOOP-8711.patch, HADOOP-8711.patch
>
>
> Currently it's hard coded in the server that it doesn't print the exception stack for StandbyException. 
> Similarly, other components may have their own exceptions which don't need to save the stack trace in log. One example is HDFS-3817.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HADOOP-8711) provide an option for IPC server users to avoid printing stack information for certain exceptions

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

Brandon Li updated HADOOP-8711:
-------------------------------

    Attachment: HADOOP-8711.patch
    
> provide an option for IPC server users to avoid printing stack information for certain exceptions
> -------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-8711
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8711
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: ipc
>            Reporter: Brandon Li
>            Assignee: Brandon Li
>             Fix For: 3.0.0
>
>         Attachments: HADOOP-8711.patch, HADOOP-8711.patch, HADOOP-8711.patch
>
>
> Currently it's hard coded in the server that it doesn't print the exception stack for StandbyException. 
> Similarly, other components may have their own exceptions which don't need to save the stack trace in log. One example is HDFS-3817.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HADOOP-8711) provide an option for IPC server users to avoid printing stack information for certain exceptions

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

Brandon Li updated HADOOP-8711:
-------------------------------

    Attachment: HADOOP-8711.patch
    
> provide an option for IPC server users to avoid printing stack information for certain exceptions
> -------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-8711
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8711
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: ipc
>            Reporter: Brandon Li
>            Assignee: Brandon Li
>             Fix For: 3.0.0
>
>         Attachments: HADOOP-8711.patch, HADOOP-8711.patch, HADOOP-8711.patch, HADOOP-8711.patch
>
>
> Currently it's hard coded in the server that it doesn't print the exception stack for StandbyException. 
> Similarly, other components may have their own exceptions which don't need to save the stack trace in log. One example is HDFS-3817.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HADOOP-8711) provide an option for IPC server users to avoid printing stack information for certain exceptions

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

Brandon Li commented on HADOOP-8711:
------------------------------------

The test failure is not introduced by this patch and it passed in my local tests.
                
> provide an option for IPC server users to avoid printing stack information for certain exceptions
> -------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-8711
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8711
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: ipc
>            Reporter: Brandon Li
>            Assignee: Brandon Li
>             Fix For: 3.0.0
>
>         Attachments: HADOOP-8711.patch, HADOOP-8711.patch, HADOOP-8711.patch, HADOOP-8711.patch
>
>
> Currently it's hard coded in the server that it doesn't print the exception stack for StandbyException. 
> Similarly, other components may have their own exceptions which don't need to save the stack trace in log. One example is HDFS-3817.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HADOOP-8711) provide an option for IPC server users to avoid printing stack information for certain exceptions

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

Hadoop QA commented on HADOOP-8711:
-----------------------------------

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

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

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

    +1 javac.  The applied patch does not increase the total number of javac compiler warnings.

    +1 javadoc.  The javadoc tool did not generate any warning messages.

    +1 eclipse:eclipse.  The patch built with eclipse:eclipse.

    +1 findbugs.  The patch does not introduce any new Findbugs (version 1.3.9) warnings.

    +1 release audit.  The applied patch does not increase the total number of release audit warnings.

    +1 core tests.  The patch passed unit tests in hadoop-common-project/hadoop-common.

    +1 contrib tests.  The patch passed contrib unit tests.

Test results: https://builds.apache.org/job/PreCommit-HADOOP-Build/1343//testReport/
Console output: https://builds.apache.org/job/PreCommit-HADOOP-Build/1343//console

This message is automatically generated.
                
> provide an option for IPC server users to avoid printing stack information for certain exceptions
> -------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-8711
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8711
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: ipc
>            Reporter: Brandon Li
>            Assignee: Brandon Li
>             Fix For: 3.0.0
>
>         Attachments: HADOOP-8711.patch, HADOOP-8711.patch, HADOOP-8711.patch, HADOOP-8711.patch, HADOOP-8711.patch
>
>
> Currently it's hard coded in the server that it doesn't print the exception stack for StandbyException. 
> Similarly, other components may have their own exceptions which don't need to save the stack trace in log. One example is HDFS-3817.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HADOOP-8711) provide an option for IPC server users to avoid printing stack information for certain exceptions

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

Brandon Li commented on HADOOP-8711:
------------------------------------

Thanks Suresh for reviewing the patch.
{quote}DFSUtil method seems unnecessary.{quote}
change removed
{quote}Name terseException to terseExceptions. It should be made volatile.{quote}
done
{quote}It would be good add unit test. For that reason it may be good to organize the code, where you could have an inner class TerseExceptions with methods, add(), isTerse() etc.{quote}
done

New patch is uploaded.
                
> provide an option for IPC server users to avoid printing stack information for certain exceptions
> -------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-8711
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8711
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: ipc
>            Reporter: Brandon Li
>            Assignee: Brandon Li
>             Fix For: 3.0.0
>
>         Attachments: HADOOP-8711.patch, HADOOP-8711.patch, HADOOP-8711.patch
>
>
> Currently it's hard coded in the server that it doesn't print the exception stack for StandbyException. 
> Similarly, other components may have their own exceptions which don't need to save the stack trace in log. One example is HDFS-3817.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HADOOP-8711) provide an option for IPC server users to avoid printing stack information for certain exceptions

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

Suresh Srinivas updated HADOOP-8711:
------------------------------------

      Resolution: Fixed
    Hadoop Flags: Reviewed
          Status: Resolved  (was: Patch Available)

I committed the patch. Thank you Brandon.
                
> provide an option for IPC server users to avoid printing stack information for certain exceptions
> -------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-8711
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8711
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: ipc
>    Affects Versions: 3.0.0
>            Reporter: Brandon Li
>            Assignee: Brandon Li
>             Fix For: 3.0.0
>
>         Attachments: HADOOP-8711.patch, HADOOP-8711.patch, HADOOP-8711.patch, HADOOP-8711.patch, HADOOP-8711.patch
>
>
> Currently it's hard coded in the server that it doesn't print the exception stack for StandbyException. 
> Similarly, other components may have their own exceptions which don't need to save the stack trace in log. One example is HDFS-3817.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HADOOP-8711) provide an option for IPC server users to avoid printing stack information for certain exceptions

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

Hadoop QA commented on HADOOP-8711:
-----------------------------------

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

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

    -1 tests included.  The patch doesn't appear to include any new or modified tests.
                        Please justify why no new tests are needed for this patch.
                        Also please list what manual steps were performed to verify this patch.

    +1 javac.  The applied patch does not increase the total number of javac compiler warnings.

    +1 javadoc.  The javadoc tool did not generate any warning messages.

    +1 eclipse:eclipse.  The patch built with eclipse:eclipse.

    +1 findbugs.  The patch does not introduce any new Findbugs (version 1.3.9) warnings.

    +1 release audit.  The applied patch does not increase the total number of release audit warnings.

    -1 core tests.  The patch failed these unit tests in hadoop-common-project/hadoop-common hadoop-hdfs-project/hadoop-hdfs:

                  org.apache.hadoop.ha.TestZKFailoverController
                  org.apache.hadoop.hdfs.TestPersistBlocks

    +1 contrib tests.  The patch passed contrib unit tests.

Test results: https://builds.apache.org/job/PreCommit-HADOOP-Build/1334//testReport/
Console output: https://builds.apache.org/job/PreCommit-HADOOP-Build/1334//console

This message is automatically generated.
                
> provide an option for IPC server users to avoid printing stack information for certain exceptions
> -------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-8711
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8711
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: ipc
>            Reporter: Brandon Li
>            Assignee: Brandon Li
>             Fix For: 3.0.0
>
>         Attachments: HADOOP-8711.patch, HADOOP-8711.patch
>
>
> Currently it's hard coded in the server that it doesn't print the exception stack for StandbyException. 
> Similarly, other components may have their own exceptions which don't need to save the stack trace in log. One example is HDFS-3817.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HADOOP-8711) provide an option for IPC server users to avoid printing stack information for certain exceptions

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

Brandon Li updated HADOOP-8711:
-------------------------------

    Attachment: HADOOP-8711.patch
    
> provide an option for IPC server users to avoid printing stack information for certain exceptions
> -------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-8711
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8711
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: ipc
>            Reporter: Brandon Li
>            Assignee: Brandon Li
>             Fix For: 3.0.0
>
>         Attachments: HADOOP-8711.patch, HADOOP-8711.patch
>
>
> Currently it's hard coded in the server that it doesn't print the exception stack for StandbyException. 
> Similarly, other components may have their own exceptions which don't need to save the stack trace in log. One example is HDFS-3817.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HADOOP-8711) provide an option for IPC server users to avoid printing stack information for certain exceptions

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

Suresh Srinivas updated HADOOP-8711:
------------------------------------

    Attachment:     (was: HADOOP-8711.patch)
    
> provide an option for IPC server users to avoid printing stack information for certain exceptions
> -------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-8711
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8711
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: ipc
>            Reporter: Brandon Li
>            Assignee: Brandon Li
>             Fix For: 3.0.0
>
>         Attachments: HADOOP-8711.patch, HADOOP-8711.patch, HADOOP-8711.patch
>
>
> Currently it's hard coded in the server that it doesn't print the exception stack for StandbyException. 
> Similarly, other components may have their own exceptions which don't need to save the stack trace in log. One example is HDFS-3817.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HADOOP-8711) provide an option for IPC server users to avoid printing stack information for certain exceptions

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

Brandon Li commented on HADOOP-8711:
------------------------------------

{quote}
    Please add brief javadoc for ExceptionsHandler class. Also please make the class package private instead of public.
    Please do not make Server#exceptionsHandler public. Instead add a method Server#addTerseExceptions().
{quote}
Done. Thanks!  
                
> provide an option for IPC server users to avoid printing stack information for certain exceptions
> -------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-8711
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8711
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: ipc
>            Reporter: Brandon Li
>            Assignee: Brandon Li
>             Fix For: 3.0.0
>
>         Attachments: HADOOP-8711.patch, HADOOP-8711.patch, HADOOP-8711.patch, HADOOP-8711.patch
>
>
> Currently it's hard coded in the server that it doesn't print the exception stack for StandbyException. 
> Similarly, other components may have their own exceptions which don't need to save the stack trace in log. One example is HDFS-3817.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HADOOP-8711) provide an option for IPC server users to avoid printing stack information for certain exceptions

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

Suresh Srinivas commented on HADOOP-8711:
-----------------------------------------

Comments:
# DFSUtil method seems unnecessary.
# Name terseException to terseExceptions. It should be made volatile.
# It would be good add unit test. For that reason it may be good to organize the code, where you could have an inner class TerseExceptions with methods, add(), isTerse() etc.
                
> provide an option for IPC server users to avoid printing stack information for certain exceptions
> -------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-8711
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8711
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: ipc
>            Reporter: Brandon Li
>            Assignee: Brandon Li
>             Fix For: 3.0.0
>
>         Attachments: HADOOP-8711.patch, HADOOP-8711.patch
>
>
> Currently it's hard coded in the server that it doesn't print the exception stack for StandbyException. 
> Similarly, other components may have their own exceptions which don't need to save the stack trace in log. One example is HDFS-3817.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HADOOP-8711) provide an option for IPC server users to avoid printing stack information for certain exceptions

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

Brandon Li updated HADOOP-8711:
-------------------------------

    Attachment: HADOOP-8711.patch
    
> provide an option for IPC server users to avoid printing stack information for certain exceptions
> -------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-8711
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8711
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: ipc
>            Reporter: Brandon Li
>            Assignee: Brandon Li
>             Fix For: 3.0.0
>
>         Attachments: HADOOP-8711.patch, HADOOP-8711.patch, HADOOP-8711.patch, HADOOP-8711.patch
>
>
> Currently it's hard coded in the server that it doesn't print the exception stack for StandbyException. 
> Similarly, other components may have their own exceptions which don't need to save the stack trace in log. One example is HDFS-3817.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HADOOP-8711) provide an option for IPC server users to avoid printing stack information for certain exceptions

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

Brandon Li updated HADOOP-8711:
-------------------------------

    Attachment: HADOOP-8711.patch
    
> provide an option for IPC server users to avoid printing stack information for certain exceptions
> -------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-8711
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8711
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: ipc
>            Reporter: Brandon Li
>            Assignee: Brandon Li
>             Fix For: 3.0.0
>
>         Attachments: HADOOP-8711.patch
>
>
> Currently it's hard coded in the server that it doesn't print the exception stack for StandbyException. 
> Similarly, other components may have their own exceptions which don't need to save the stack trace in log. One example is HDFS-3817.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HADOOP-8711) provide an option for IPC server users to avoid printing stack information for certain exceptions

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

Hudson commented on HADOOP-8711:
--------------------------------

Integrated in Hadoop-Hdfs-trunk #1142 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk/1142/])
    HADOOP-8711. IPC Server supports adding exceptions for which the message is printed and the stack trace is not printed to avoid chatter. Contributed by Brandon Li. (Revision 1375790)

     Result = FAILURE
suresh : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1375790
Files : 
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ipc/Server.java
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/ipc/TestServer.java

                
> provide an option for IPC server users to avoid printing stack information for certain exceptions
> -------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-8711
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8711
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: ipc
>    Affects Versions: 3.0.0
>            Reporter: Brandon Li
>            Assignee: Brandon Li
>             Fix For: 3.0.0
>
>         Attachments: HADOOP-8711.patch, HADOOP-8711.patch, HADOOP-8711.patch, HADOOP-8711.patch, HADOOP-8711.patch
>
>
> Currently it's hard coded in the server that it doesn't print the exception stack for StandbyException. 
> Similarly, other components may have their own exceptions which don't need to save the stack trace in log. One example is HDFS-3817.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HADOOP-8711) provide an option for IPC server users to avoid printing stack information for certain exceptions

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

Suresh Srinivas commented on HADOOP-8711:
-----------------------------------------

Couple of comments:
# Please add brief javadoc for ExceptionsHandler class. Also please make the class package private instead of public.
# Please do not make Server#exceptionsHandler public. Instead add a method Server#addTerseExceptions().

                
> provide an option for IPC server users to avoid printing stack information for certain exceptions
> -------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-8711
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8711
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: ipc
>            Reporter: Brandon Li
>            Assignee: Brandon Li
>             Fix For: 3.0.0
>
>         Attachments: HADOOP-8711.patch, HADOOP-8711.patch, HADOOP-8711.patch
>
>
> Currently it's hard coded in the server that it doesn't print the exception stack for StandbyException. 
> Similarly, other components may have their own exceptions which don't need to save the stack trace in log. One example is HDFS-3817.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HADOOP-8711) provide an option for IPC server users to avoid printing stack information for certain exceptions

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

Suresh Srinivas updated HADOOP-8711:
------------------------------------

    Affects Version/s: 3.0.0
    
> provide an option for IPC server users to avoid printing stack information for certain exceptions
> -------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-8711
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8711
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: ipc
>    Affects Versions: 3.0.0
>            Reporter: Brandon Li
>            Assignee: Brandon Li
>             Fix For: 3.0.0
>
>         Attachments: HADOOP-8711.patch, HADOOP-8711.patch, HADOOP-8711.patch, HADOOP-8711.patch, HADOOP-8711.patch
>
>
> Currently it's hard coded in the server that it doesn't print the exception stack for StandbyException. 
> Similarly, other components may have their own exceptions which don't need to save the stack trace in log. One example is HDFS-3817.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HADOOP-8711) provide an option for IPC server users to avoid printing stack information for certain exceptions

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

Brandon Li commented on HADOOP-8711:
------------------------------------

Uploaded the patch with only changes of Common.
                
> provide an option for IPC server users to avoid printing stack information for certain exceptions
> -------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-8711
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8711
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: ipc
>            Reporter: Brandon Li
>            Assignee: Brandon Li
>             Fix For: 3.0.0
>
>         Attachments: HADOOP-8711.patch, HADOOP-8711.patch, HADOOP-8711.patch, HADOOP-8711.patch, HADOOP-8711.patch
>
>
> Currently it's hard coded in the server that it doesn't print the exception stack for StandbyException. 
> Similarly, other components may have their own exceptions which don't need to save the stack trace in log. One example is HDFS-3817.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HADOOP-8711) provide an option for IPC server users to avoid printing stack information for certain exceptions

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

Hadoop QA commented on HADOOP-8711:
-----------------------------------

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

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

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

    +1 javac.  The applied patch does not increase the total number of javac compiler warnings.

    +1 javadoc.  The javadoc tool did not generate any warning messages.

    +1 eclipse:eclipse.  The patch built with eclipse:eclipse.

    +1 findbugs.  The patch does not introduce any new Findbugs (version 1.3.9) warnings.

    +1 release audit.  The applied patch does not increase the total number of release audit warnings.

    -1 core tests.  The patch failed these unit tests in hadoop-common-project/hadoop-common hadoop-hdfs-project/hadoop-hdfs:

                  org.apache.hadoop.hdfs.TestDatanodeBlockScanner

    +1 contrib tests.  The patch passed contrib unit tests.

Test results: https://builds.apache.org/job/PreCommit-HADOOP-Build/1337//testReport/
Console output: https://builds.apache.org/job/PreCommit-HADOOP-Build/1337//console

This message is automatically generated.
                
> provide an option for IPC server users to avoid printing stack information for certain exceptions
> -------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-8711
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8711
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: ipc
>            Reporter: Brandon Li
>            Assignee: Brandon Li
>             Fix For: 3.0.0
>
>         Attachments: HADOOP-8711.patch, HADOOP-8711.patch, HADOOP-8711.patch, HADOOP-8711.patch
>
>
> Currently it's hard coded in the server that it doesn't print the exception stack for StandbyException. 
> Similarly, other components may have their own exceptions which don't need to save the stack trace in log. One example is HDFS-3817.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HADOOP-8711) provide an option for IPC server users to avoid printing stack information for certain exceptions

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

Hudson commented on HADOOP-8711:
--------------------------------

Integrated in Hadoop-Common-trunk-Commit #2614 (See [https://builds.apache.org/job/Hadoop-Common-trunk-Commit/2614/])
    HADOOP-8711. IPC Server supports adding exceptions for which the message is printed and the stack trace is not printed to avoid chatter. Contributed by Brandon Li. (Revision 1375790)

     Result = SUCCESS
suresh : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1375790
Files : 
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ipc/Server.java
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/ipc/TestServer.java

                
> provide an option for IPC server users to avoid printing stack information for certain exceptions
> -------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-8711
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8711
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: ipc
>    Affects Versions: 3.0.0
>            Reporter: Brandon Li
>            Assignee: Brandon Li
>             Fix For: 3.0.0
>
>         Attachments: HADOOP-8711.patch, HADOOP-8711.patch, HADOOP-8711.patch, HADOOP-8711.patch, HADOOP-8711.patch
>
>
> Currently it's hard coded in the server that it doesn't print the exception stack for StandbyException. 
> Similarly, other components may have their own exceptions which don't need to save the stack trace in log. One example is HDFS-3817.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HADOOP-8711) provide an option for IPC server users to avoid printing stack information for certain exceptions

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

Hadoop QA commented on HADOOP-8711:
-----------------------------------

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

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

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

    +1 javac.  The applied patch does not increase the total number of javac compiler warnings.

    +1 javadoc.  The javadoc tool did not generate any warning messages.

    +1 eclipse:eclipse.  The patch built with eclipse:eclipse.

    +1 findbugs.  The patch does not introduce any new Findbugs (version 1.3.9) warnings.

    +1 release audit.  The applied patch does not increase the total number of release audit warnings.

    -1 core tests.  The patch failed these unit tests in hadoop-common-project/hadoop-common hadoop-hdfs-project/hadoop-hdfs:

                  org.apache.hadoop.ha.TestZKFailoverController
                  org.apache.hadoop.ipc.TestRPC
                  org.apache.hadoop.hdfs.server.namenode.ha.TestStandbyCheckpoints
                  org.apache.hadoop.hdfs.TestPersistBlocks

    +1 contrib tests.  The patch passed contrib unit tests.

Test results: https://builds.apache.org/job/PreCommit-HADOOP-Build/1336//testReport/
Console output: https://builds.apache.org/job/PreCommit-HADOOP-Build/1336//console

This message is automatically generated.
                
> provide an option for IPC server users to avoid printing stack information for certain exceptions
> -------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-8711
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8711
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: ipc
>            Reporter: Brandon Li
>            Assignee: Brandon Li
>             Fix For: 3.0.0
>
>         Attachments: HADOOP-8711.patch, HADOOP-8711.patch, HADOOP-8711.patch, HADOOP-8711.patch
>
>
> Currently it's hard coded in the server that it doesn't print the exception stack for StandbyException. 
> Similarly, other components may have their own exceptions which don't need to save the stack trace in log. One example is HDFS-3817.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HADOOP-8711) provide an option for IPC server users to avoid printing stack information for certain exceptions

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

Hadoop QA commented on HADOOP-8711:
-----------------------------------

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

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

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

    +1 javac.  The applied patch does not increase the total number of javac compiler warnings.

    +1 javadoc.  The javadoc tool did not generate any warning messages.

    +1 eclipse:eclipse.  The patch built with eclipse:eclipse.

    +1 findbugs.  The patch does not introduce any new Findbugs (version 1.3.9) warnings.

    +1 release audit.  The applied patch does not increase the total number of release audit warnings.

    -1 core tests.  The patch failed these unit tests in hadoop-common-project/hadoop-common hadoop-hdfs-project/hadoop-hdfs:

                  org.apache.hadoop.hdfs.server.namenode.TestCheckpoint

    +1 contrib tests.  The patch passed contrib unit tests.

Test results: https://builds.apache.org/job/PreCommit-HADOOP-Build/1341//testReport/
Console output: https://builds.apache.org/job/PreCommit-HADOOP-Build/1341//console

This message is automatically generated.
                
> provide an option for IPC server users to avoid printing stack information for certain exceptions
> -------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-8711
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8711
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: ipc
>            Reporter: Brandon Li
>            Assignee: Brandon Li
>             Fix For: 3.0.0
>
>         Attachments: HADOOP-8711.patch, HADOOP-8711.patch, HADOOP-8711.patch, HADOOP-8711.patch
>
>
> Currently it's hard coded in the server that it doesn't print the exception stack for StandbyException. 
> Similarly, other components may have their own exceptions which don't need to save the stack trace in log. One example is HDFS-3817.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HADOOP-8711) provide an option for IPC server users to avoid printing stack information for certain exceptions

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

Brandon Li commented on HADOOP-8711:
------------------------------------

Uploaded the whole patch to show the idea, and the HDFS changes will be moved to HDFS-3817 before commit.
                
> provide an option for IPC server users to avoid printing stack information for certain exceptions
> -------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-8711
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8711
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: ipc
>            Reporter: Brandon Li
>            Assignee: Brandon Li
>             Fix For: 3.0.0
>
>         Attachments: HADOOP-8711.patch
>
>
> Currently it's hard coded in the server that it doesn't print the exception stack for StandbyException. 
> Similarly, other components may have their own exceptions which don't need to save the stack trace in log. One example is HDFS-3817.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HADOOP-8711) provide an option for IPC server users to avoid printing stack information for certain exceptions

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

Hudson commented on HADOOP-8711:
--------------------------------

Integrated in Hadoop-Mapreduce-trunk-Commit #2643 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Commit/2643/])
    HADOOP-8711. IPC Server supports adding exceptions for which the message is printed and the stack trace is not printed to avoid chatter. Contributed by Brandon Li. (Revision 1375790)

     Result = FAILURE
suresh : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1375790
Files : 
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ipc/Server.java
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/ipc/TestServer.java

                
> provide an option for IPC server users to avoid printing stack information for certain exceptions
> -------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-8711
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8711
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: ipc
>    Affects Versions: 3.0.0
>            Reporter: Brandon Li
>            Assignee: Brandon Li
>             Fix For: 3.0.0
>
>         Attachments: HADOOP-8711.patch, HADOOP-8711.patch, HADOOP-8711.patch, HADOOP-8711.patch, HADOOP-8711.patch
>
>
> Currently it's hard coded in the server that it doesn't print the exception stack for StandbyException. 
> Similarly, other components may have their own exceptions which don't need to save the stack trace in log. One example is HDFS-3817.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HADOOP-8711) provide an option for IPC server users to avoid printing stack information for certain exceptions

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

Hudson commented on HADOOP-8711:
--------------------------------

Integrated in Hadoop-Hdfs-trunk-Commit #2678 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk-Commit/2678/])
    HADOOP-8711. IPC Server supports adding exceptions for which the message is printed and the stack trace is not printed to avoid chatter. Contributed by Brandon Li. (Revision 1375790)

     Result = SUCCESS
suresh : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1375790
Files : 
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ipc/Server.java
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/ipc/TestServer.java

                
> provide an option for IPC server users to avoid printing stack information for certain exceptions
> -------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-8711
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8711
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: ipc
>    Affects Versions: 3.0.0
>            Reporter: Brandon Li
>            Assignee: Brandon Li
>             Fix For: 3.0.0
>
>         Attachments: HADOOP-8711.patch, HADOOP-8711.patch, HADOOP-8711.patch, HADOOP-8711.patch, HADOOP-8711.patch
>
>
> Currently it's hard coded in the server that it doesn't print the exception stack for StandbyException. 
> Similarly, other components may have their own exceptions which don't need to save the stack trace in log. One example is HDFS-3817.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HADOOP-8711) provide an option for IPC server users to avoid printing stack information for certain exceptions

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

Brandon Li updated HADOOP-8711:
-------------------------------

    Status: Patch Available  (was: Open)
    
> provide an option for IPC server users to avoid printing stack information for certain exceptions
> -------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-8711
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8711
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: ipc
>            Reporter: Brandon Li
>            Assignee: Brandon Li
>             Fix For: 3.0.0
>
>         Attachments: HADOOP-8711.patch
>
>
> Currently it's hard coded in the server that it doesn't print the exception stack for StandbyException. 
> Similarly, other components may have their own exceptions which don't need to save the stack trace in log. One example is HDFS-3817.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HADOOP-8711) provide an option for IPC server users to avoid printing stack information for certain exceptions

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

Brandon Li updated HADOOP-8711:
-------------------------------

    Attachment: HADOOP-8711.patch
    
> provide an option for IPC server users to avoid printing stack information for certain exceptions
> -------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-8711
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8711
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: ipc
>            Reporter: Brandon Li
>            Assignee: Brandon Li
>             Fix For: 3.0.0
>
>         Attachments: HADOOP-8711.patch, HADOOP-8711.patch, HADOOP-8711.patch, HADOOP-8711.patch, HADOOP-8711.patch
>
>
> Currently it's hard coded in the server that it doesn't print the exception stack for StandbyException. 
> Similarly, other components may have their own exceptions which don't need to save the stack trace in log. One example is HDFS-3817.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HADOOP-8711) provide an option for IPC server users to avoid printing stack information for certain exceptions

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

Hudson commented on HADOOP-8711:
--------------------------------

Integrated in Hadoop-Mapreduce-trunk #1174 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1174/])
    HADOOP-8711. IPC Server supports adding exceptions for which the message is printed and the stack trace is not printed to avoid chatter. Contributed by Brandon Li. (Revision 1375790)

     Result = FAILURE
suresh : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1375790
Files : 
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ipc/Server.java
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/ipc/TestServer.java

                
> provide an option for IPC server users to avoid printing stack information for certain exceptions
> -------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-8711
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8711
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: ipc
>    Affects Versions: 3.0.0
>            Reporter: Brandon Li
>            Assignee: Brandon Li
>             Fix For: 3.0.0
>
>         Attachments: HADOOP-8711.patch, HADOOP-8711.patch, HADOOP-8711.patch, HADOOP-8711.patch, HADOOP-8711.patch
>
>
> Currently it's hard coded in the server that it doesn't print the exception stack for StandbyException. 
> Similarly, other components may have their own exceptions which don't need to save the stack trace in log. One example is HDFS-3817.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira