You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2014/11/09 22:56:33 UTC

[jira] [Commented] (ACCUMULO-3321) Log exceptions in ThriftScanner#getBatchFromServer as warnings/errors

    [ https://issues.apache.org/jira/browse/ACCUMULO-3321?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14204140#comment-14204140 ] 

ASF GitHub Bot commented on ACCUMULO-3321:
------------------------------------------

GitHub user arielvalentin opened a pull request:

    https://github.com/apache/accumulo/pull/18

    ACCUMULO-3321 Logging ThriftScanner exceptions at WARN instead of debug

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/arielvalentin/accumulo ACCUMULO-3321

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/accumulo/pull/18.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #18
    
----
commit 50947c8d29c8917f497d93503019a042c12ea180
Author: arielvalentin <ar...@arielvalentin.com>
Date:   2014-11-09T21:55:12Z

    ACCUMULO-3321 Logging ThriftScanner exceptions at WARN instead of debug

----


> Log exceptions in ThriftScanner#getBatchFromServer as warnings/errors 
> ----------------------------------------------------------------------
>
>                 Key: ACCUMULO-3321
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-3321
>             Project: Accumulo
>          Issue Type: Improvement
>          Components: client
>            Reporter: Ariel Valentin
>            Priority: Minor
>
> While trying to debug an issue with a client that seemed unresponsive I increased the log lever to debug and found that we were experiencing DNS failures:
> {code}
> 22:14:53,549 DEBUG [org.apache.zookeeper.ClientCnxn] (http-/192.168.220.198:8080-1-SendThread(ZKHOST:2181)) Reading reply sessionid:0x1498bc00431010f, packet:: clientPath:null serverPath:null finished:false header:: 414,3  replyHeader:: 414,107374188046,0  request:: '/accumulo/4663a372-d7f0-4956-a110-ff063c781ead/tservers/TSERVER_HOST:10011/zlock-0000000036,T  response:: s{107374187891,107374187891,1415398174207,1415398174207,0,0,0,92758924158107923,33,0,107374187891} 
> 22:14:53,922 DEBUG [org.apache.zookeeper.ClientCnxn] (http-/192.168.220.198:8080-1-SendThread(ZKHOST:2181)) Reading reply sessionid:0x1498bc00431010f, packet:: clientPath:null serverPath:null finished:false header:: 415,4  replyHeader:: 415,107374188046,0  request:: '/accumulo/4663a372-d7f0-4956-a110-ff063c781ead/tservers/TSERVER_HOST:10011/zlock-0000000036,T  response:: #54534552565f434c49454e543d7330322d6265732d646e6f6436323a3130303131,s{107374187891,107374187891,1415398174207,1415398174207,0,0,0,92758924158107923,33,0,107374187891} 
> 22:14:53,936 DEBUG [org.apache.accumulo.core.client.impl.ThriftScanner] (http-/192.168.220.198:8080-1) Error getting transport to TSERVER_HOST:10011 : org.apache.thrift.transport.TTransportException: java.net.UnknownHostException
> {code}
> There is another exception that is logged at debug in getBatchFromServer and I would like these messages to log at WARN or ERROR level. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)