You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Billie Rinaldi (JIRA)" <ji...@apache.org> on 2014/10/20 18:38:33 UTC

[jira] [Reopened] (ACCUMULO-3212) Configuration objects created with CredentialProvider load defaults unnecessarily

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

Billie Rinaldi reopened ACCUMULO-3212:
--------------------------------------

I think we actually need to load the defaults so it can find the default FS when reading a credential provider from HDFS (without having to specify the namenode in the credential provider URL).

> Configuration objects created with CredentialProvider load defaults unnecessarily
> ---------------------------------------------------------------------------------
>
>                 Key: ACCUMULO-3212
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-3212
>             Project: Accumulo
>          Issue Type: Improvement
>          Components: tserver
>    Affects Versions: 1.6.1
>            Reporter: Josh Elser
>            Assignee: Josh Elser
>            Priority: Minor
>             Fix For: 1.6.2, 1.7.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> Jstack'ed a tserver and caught it in the middle of doing a bunch of URLClassloader and Jar stuff when creating a Hadoop Configuration. Obviously, this struck me as odd (given that I know those aren't "fast" methods).
> Looking at it some more, when I created the Configuration objects, I didn't pass in {{false}} so the defaults were getting loaded. Regardless of how expensive it actually is, it's unnecessary.



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