hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Li (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-10811) Allow classes to be reloaded at runtime
Date Tue, 22 Jul 2014 18:04:38 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-10811?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14070602#comment-14070602

Chris Li commented on HADOOP-10811:

One thing worth discussing is also whether or not this is a useful feature, now that HA allows
for rolling restarts. Not everyone is running HA today, but it may be encouraged to do so
in the future for this ability

> Allow classes to be reloaded at runtime
> ---------------------------------------
>                 Key: HADOOP-10811
>                 URL: https://issues.apache.org/jira/browse/HADOOP-10811
>             Project: Hadoop Common
>          Issue Type: New Feature
>          Components: conf
>    Affects Versions: 3.0.0
>            Reporter: Chris Li
>            Assignee: Chris Li
>            Priority: Minor
> Currently hadoop loads its classes and caches them in the Configuration class. Even if
the user swaps a class's jar at runtime, hadoop will continue to use the cached classes when
using reflection to instantiate objects. This limits the usefulness of things like HADOOP-10285,
because the admin would need to restart each time they wanted to change their queue class.
> This patch is to add a way to refresh the class cache, by creating a new refresh handler
to do so (using HADOOP-10376)

This message was sent by Atlassian JIRA

View raw message