accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ACCUMULO-1556) Initialize could use a better warning when HDFS dir is already populated
Date Mon, 02 Dec 2013 20:48:36 GMT

    [ https://issues.apache.org/jira/browse/ACCUMULO-1556?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13836900#comment-13836900
] 

ASF subversion and git services commented on ACCUMULO-1556:
-----------------------------------------------------------

Commit 07fa748e0f25acc59c76ca04fc37f84d84d3b12e in branch refs/heads/1.6.0-SNAPSHOT from [~bhavanki]
[ https://git-wip-us.apache.org/repos/asf?p=accumulo.git;h=07fa748 ]

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
>             Fix For: 1.4.5, 1.5.1, 1.6.0
>
>         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)

Mime
View raw message