accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Josh Elser (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (ACCUMULO-4026) Setting ACCUMULO_CLIENT_CONF_PATH with no client.conf file present throws ConfigurationException
Date Sun, 18 Oct 2015 22:02:05 GMT

     [ https://issues.apache.org/jira/browse/ACCUMULO-4026?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Josh Elser resolved ACCUMULO-4026.
----------------------------------
    Resolution: Fixed

Thanks for the contribution, Jim!

Let us know if you'd like to be added to our [contributor's page|http://accumulo.apache.org/people.html]
in recognition of your efforts.

> Setting ACCUMULO_CLIENT_CONF_PATH with no client.conf file present throws ConfigurationException
> ------------------------------------------------------------------------------------------------
>
>                 Key: ACCUMULO-4026
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-4026
>             Project: Accumulo
>          Issue Type: Bug
>          Components: client, core
>    Affects Versions: 1.6.4, 1.7.0
>            Reporter: Jim Klucar
>            Assignee: Jim Klucar
>            Priority: Trivial
>             Fix For: 1.6.5, 1.7.1, 1.8.0
>
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> Setting the environment variable ACCUMULO_CLIENT_CONF_PATH to a directory that exists
but does not contain a file named client.conf throws
> org.apache.commons.configuration.ConfigurationException: Cannot load a configuration
from a directory
> To demo this, simply set ACCUMULO_CLIENT_CONF_PATH to /tmp, make sure client.conf doesn't
exist in /tmp and try to run the accumulo shell.
> The problem is ClientConfiguration.java on line 221 checks File.canRead() which is true
for a Directory and a File. The solution is to make the branch check File.isFile() &&
File.canRead()



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message