accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ACCUMULO-3321) Log exceptions in ThriftScanner#getBatchFromServer as warnings/errors
Date Mon, 10 Nov 2014 19:33:34 GMT

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

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

Github user joshelser commented on the pull request:

    https://github.com/apache/accumulo/pull/18#issuecomment-62440337
  
    @keith-turner while there is something to be said about just increasing the log-level
via log4j, there's also the question of knowing to do that. For one, logging the inability
to repeatedly get a transport to a server is not a "debug" level message, and, without looking
at code, I would say it would be hard to even know that ThriftScanner's level needed to be
increased in the first place.
    
    I think that we have some more we could do in the current API impl to make better log
messages (at the proper level), but maybe we could also think about putting together a client-debugging
doc? (need to re-read the user manual and see how much is already covered).


> 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)

Mime
View raw message