Return-Path: X-Original-To: apmail-hadoop-common-dev-archive@www.apache.org Delivered-To: apmail-hadoop-common-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5E7AAD8C4 for ; Tue, 2 Oct 2012 21:09:10 +0000 (UTC) Received: (qmail 2183 invoked by uid 500); 2 Oct 2012 21:09:08 -0000 Delivered-To: apmail-hadoop-common-dev-archive@hadoop.apache.org Received: (qmail 2071 invoked by uid 500); 2 Oct 2012 21:09:08 -0000 Mailing-List: contact common-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-dev@hadoop.apache.org Delivered-To: mailing list common-dev@hadoop.apache.org Received: (qmail 2061 invoked by uid 99); 2 Oct 2012 21:09:08 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Oct 2012 21:09:08 +0000 Date: Wed, 3 Oct 2012 08:09:07 +1100 (NCT) From: "Suresh Srinivas (JIRA)" To: common-dev@hadoop.apache.org Message-ID: <1120028392.156288.1349212148017.JavaMail.jiratomcat@arcas> In-Reply-To: <1383548542.155213.1349198347873.JavaMail.jiratomcat@arcas> Subject: [jira] [Resolved] (HADOOP-8871) FileUtil.symLink: if shell command fails, logging message does not correctly print command attempted 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/HADOOP-8871?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Suresh Srinivas resolved HADOOP-8871. ------------------------------------- Resolution: Fixed Fix Version/s: 1-win Hadoop Flags: Reviewed I committed the patch. Thank you Chris. > FileUtil.symLink: if shell command fails, logging message does not correctly print command attempted > ---------------------------------------------------------------------------------------------------- > > Key: HADOOP-8871 > URL: https://issues.apache.org/jira/browse/HADOOP-8871 > Project: Hadoop Common > Issue Type: Bug > Components: fs > Affects Versions: 1-win > Reporter: Chris Nauroth > Assignee: Chris Nauroth > Fix For: 1-win > > Attachments: HADOOP-8871-branch-1-win.patch, HADOOP-8871-branch-1-win.patch > > > When the shell command call to create a symlink fails, we attempt to log the details. We log cmd, which is a String[], and Java prints it using the default Object.toString implementation. We need to change this to print the contents of the array so that we see the actual command executed. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira