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 21B49200B49 for ; Wed, 3 Aug 2016 23:13:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 202CA160AAA; Wed, 3 Aug 2016 21:13:22 +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 8F337160A5D for ; Wed, 3 Aug 2016 23:13:21 +0200 (CEST) Received: (qmail 81283 invoked by uid 500); 3 Aug 2016 21:13:20 -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 81250 invoked by uid 99); 3 Aug 2016 21:13:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Aug 2016 21:13:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 79AFC2C0D5D for ; Wed, 3 Aug 2016 21:13:20 +0000 (UTC) Date: Wed, 3 Aug 2016 21:13:20 +0000 (UTC) From: "Wei-Chiu Chuang (JIRA)" To: common-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HADOOP-13458) LoadBalancingKMSClientProvider#doOp should log IOException stacktrace MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 03 Aug 2016 21:13:22 -0000 [ https://issues.apache.org/jira/browse/HADOOP-13458?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15406620#comment-15406620 ] Wei-Chiu Chuang commented on HADOOP-13458: ------------------------------------------ +1 > LoadBalancingKMSClientProvider#doOp should log IOException stacktrace > --------------------------------------------------------------------- > > Key: HADOOP-13458 > URL: https://issues.apache.org/jira/browse/HADOOP-13458 > Project: Hadoop Common > Issue Type: Improvement > Components: kms > Reporter: Wei-Chiu Chuang > Assignee: Chen Liang > Priority: Trivial > Labels: supportability > Attachments: HADOOP-13458.001.patch, HADOOP-13458.002.patch > > > Sometimes it's relatively hard to comprehend the meaning of the exception message without stacktrace. I think we should log the stacktrace too. > {code} > LOG.warn("KMS provider at [{}] threw an IOException [{}]!!", > provider.getKMSUrl(), ioe.getMessage()); > {code} -- 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