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] [Commented] (ACCUMULO-3212) Configuration objects created with CredentialProvider load defaults unnecessarily
Date Mon, 20 Oct 2014 18:05:34 GMT

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

Josh Elser commented on ACCUMULO-3212:
--------------------------------------

Thanks for catching this [~billie.rinaldi]. I hadn't thought about the need for the dfs properties
to be in the Configuration.

> 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)

Mime
View raw message