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 3F7FC10484 for ; Mon, 2 Dec 2013 20:46:39 +0000 (UTC) Received: (qmail 72018 invoked by uid 500); 2 Dec 2013 20:46:39 -0000 Delivered-To: apmail-accumulo-notifications-archive@accumulo.apache.org Received: (qmail 71991 invoked by uid 500); 2 Dec 2013 20:46:39 -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 71982 invoked by uid 99); 2 Dec 2013 20:46:39 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Dec 2013 20:46:39 +0000 Date: Mon, 2 Dec 2013 20:46:39 +0000 (UTC) From: "ASF subversion and git services (JIRA)" To: notifications@accumulo.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (ACCUMULO-1556) Initialize could use a better warning when HDFS dir is already populated 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-1556?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13836896#comment-13836896 ] ASF subversion and git services commented on ACCUMULO-1556: ----------------------------------------------------------- Commit 1b3d071a8b46617245a39d039a2fe9e31600fc2e in branch refs/heads/1.4.5-SNAPSHOT from [~bhavanki] [ https://git-wip-us.apache.org/repos/asf?p=accumulo.git;h=1b3d071 ] ACCUMULO-1556 Clarify initialization error for used fs The Initialize class now generates clearer and more informative error messages if an initialized instance is discovered. The messages vary depending on whether instance.dfs.uri is used. The values of instance.dfs.uri and instance.dfs.dir are also logged. > Initialize could use a better warning when HDFS dir is already populated > ------------------------------------------------------------------------ > > Key: ACCUMULO-1556 > URL: https://issues.apache.org/jira/browse/ACCUMULO-1556 > Project: Accumulo > Issue Type: Bug > Components: client > Affects Versions: 1.4.4, 1.5.0 > Reporter: Miguel Pereira > Assignee: Bill Havanki > Priority: Minor > Attachments: ACCUMULO-1556-1.5.patch, ACCUMULO-1556-master.patch, ACCUMULO-1556.patch > > > When attempting to initialize Accumulo and the instance.dfs.dir is pointing at a directory in HDFS which has already been initialized, you get a very undescriptive warning message which doesn't actually say refer to the fact that this is an HDFS directory. > {noformat} > [util.Initialize] FATAL: It appears this location was previously initialized, exiting ... > {noformat} > It would be better to be explicit and tell the user that their $instance.dfs.dir value already has been initialized in HDFS instead of leaving that up to the user to discern. -- This message was sent by Atlassian JIRA (v6.1#6144)