Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 0FA3D200BCC for ; Mon, 24 Oct 2016 18:15:01 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 0E4ED160AEB; Mon, 24 Oct 2016 16:15:01 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 4F401160AD7 for ; Mon, 24 Oct 2016 18:15:00 +0200 (CEST) Received: (qmail 51201 invoked by uid 500); 24 Oct 2016 16:14:59 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 50910 invoked by uid 99); 24 Oct 2016 16:14:59 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Oct 2016 16:14:59 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 187D12C2A69 for ; Mon, 24 Oct 2016 16:14:59 +0000 (UTC) Date: Mon, 24 Oct 2016 16:14:59 +0000 (UTC) From: "Xiao Chen (JIRA)" To: common-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HADOOP-13669) KMS Server should log exceptions before throwing MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 24 Oct 2016 16:15:01 -0000 [ https://issues.apache.org/jira/browse/HADOOP-13669?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15602451#comment-15602451 ] Xiao Chen commented on HADOOP-13669: ------------------------------------ The pre-commit -1 is again on the trunk run. For the patched run, we can see this: {noformat} ============================================================================ ============================================================================ findbugs detection: patch ============================================================================ ============================================================================ .... hadoop-common-project/hadoop-kms generated 0 new + 0 unchanged - 2 fixed = 0 total (was 2) {noformat} So it should be fixed this time... Also verified via {{mvn compile findbugs:findbugs}} locally. > KMS Server should log exceptions before throwing > ------------------------------------------------ > > Key: HADOOP-13669 > URL: https://issues.apache.org/jira/browse/HADOOP-13669 > Project: Hadoop Common > Issue Type: Improvement > Components: kms > Reporter: Xiao Chen > Assignee: Suraj Acharya > Labels: supportability > Fix For: 2.8.0, 3.0.0-alpha2 > > Attachments: HADOOP-13369.2.patch, HADOOP-13369.patch, HADOOP-13369.patch.1, HADOOP-13669.addendem2.patch, HADOOP-13669.addendum.patch, trigger.02.patch, trigger.patch > > > In some recent investigation, it turns out when KMS throws an exception (into tomcat), it's not logged anywhere and we can only see the exception message from client-side, but not the stacktrace. Logging the stacktrance would help debugging. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org For additional commands, e-mail: common-issues-help@hadoop.apache.org