Return-Path: X-Original-To: apmail-accumulo-notifications-archive@minotaur.apache.org Delivered-To: apmail-accumulo-notifications-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 66F2F18A6E for ; Wed, 2 Dec 2015 19:59:27 +0000 (UTC) Received: (qmail 99503 invoked by uid 500); 2 Dec 2015 19:59:11 -0000 Delivered-To: apmail-accumulo-notifications-archive@accumulo.apache.org Received: (qmail 99354 invoked by uid 500); 2 Dec 2015 19:59:11 -0000 Mailing-List: contact notifications-help@accumulo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jira@apache.org Delivered-To: mailing list notifications@accumulo.apache.org Received: (qmail 98854 invoked by uid 99); 2 Dec 2015 19:59:11 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Dec 2015 19:59:11 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 04AC02C1F6E for ; Wed, 2 Dec 2015 19:59:11 +0000 (UTC) Date: Wed, 2 Dec 2015 19:59:11 +0000 (UTC) From: "Josh Elser (JIRA)" To: notifications@accumulo.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Comment Edited] (ACCUMULO-4059) Investigate better server-side exceptions on failed SASL handshakes MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/ACCUMULO-4059?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15036491#comment-15036491 ] Josh Elser edited comment on ACCUMULO-4059 at 12/2/15 7:58 PM: --------------------------------------------------------------- Was looking at some more logs, and noticed that these are happening in the TabletServer and Master ~60s. I'm wondering what is actually making these all the time. was (Author: elserj): Was looking at some more logs, and noticed that these are happening in the TabletServer ~60s. I'm wondering what is actually making these all the time. > Investigate better server-side exceptions on failed SASL handshakes > ------------------------------------------------------------------- > > Key: ACCUMULO-4059 > URL: https://issues.apache.org/jira/browse/ACCUMULO-4059 > Project: Accumulo > Issue Type: Bug > Components: rpc > Reporter: Josh Elser > Fix For: 1.8.0 > > > When a client fails to authenticate with Accumulo with Kerberos, you get the nice error message in the log. > {noformat} > 2015-11-17 20:04:45,496 [server.TThreadPoolServer] ERROR: Error occurred during processing of message. > java.lang.RuntimeException: org.apache.thrift.transport.TTransportException > at org.apache.thrift.transport.TSaslServerTransport$Factory.getTransport(TSaslServerTransport.java:219) > at org.apache.accumulo.core.rpc.UGIAssumingTransportFactory$1.run(UGIAssumingTransportFactory.java:51) > at org.apache.accumulo.core.rpc.UGIAssumingTransportFactory$1.run(UGIAssumingTransportFactory.java:48) > at java.security.AccessController.doPrivileged(Native Method) > at javax.security.auth.Subject.doAs(Subject.java:360) > at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1637) > at org.apache.accumulo.core.rpc.UGIAssumingTransportFactory.getTransport(UGIAssumingTransportFactory.java:48) > at org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:208) > at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) > at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) > at org.apache.accumulo.fate.util.LoggingRunnable.run(LoggingRunnable.java:35) > at java.lang.Thread.run(Thread.java:745) > Caused by: org.apache.thrift.transport.TTransportException > at org.apache.thrift.transport.TIOStreamTransport.read(TIOStreamTransport.java:132) > at org.apache.thrift.transport.TTransport.readAll(TTransport.java:84) > at org.apache.thrift.transport.TSaslTransport.receiveSaslMessage(TSaslTransport.java:178) > at org.apache.thrift.transport.TSaslServerTransport.handleSaslStartMessage(TSaslServerTransport.java:125) > at org.apache.thrift.transport.TSaslTransport.open(TSaslTransport.java:253) > at org.apache.thrift.transport.TSaslServerTransport.open(TSaslServerTransport.java:41) > at org.apache.thrift.transport.TSaslServerTransport$Factory.getTransport(TSaslServerTransport.java:216) > ... 11 more > {noformat} > The sad thing is that all you know is that _an_ RPC happened and failed. It would be nice to try to include things like > * the client's address > * the RPC endpoint (e.g. the thrift message) called > * ... more? -- This message was sent by Atlassian JIRA (v6.3.4#6332)