hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arpit Agarwal (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-10376) Refactor refresh*Protocols into a single generic refreshConfigProtocol
Date Mon, 02 Jun 2014 21:55:02 GMT

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

Arpit Agarwal commented on HADOOP-10376:

bq. One use case of multiple handlers is for refreshing something on two servers running on
two ports. 
For this use case it is not worth the added complexity. We can add it later if necessary but
for now one handler/identifier sounds good to me.

bq. Not sure if it needs to be there, but other refresh calls are able to infer the host:port
based on the protocol used (and the refresh protocols they use are specific to NN or DN) whereas
a generic protocol would not.
I don't think there are any existing refresh calls that target DNs.

> Refactor refresh*Protocols into a single generic refreshConfigProtocol
> ----------------------------------------------------------------------
>                 Key: HADOOP-10376
>                 URL: https://issues.apache.org/jira/browse/HADOOP-10376
>             Project: Hadoop Common
>          Issue Type: Improvement
>            Reporter: Chris Li
>            Assignee: Chris Li
>            Priority: Minor
>         Attachments: HADOOP-10376.patch, HADOOP-10376.patch, RefreshFrameworkProposal.pdf
> See https://issues.apache.org/jira/browse/HADOOP-10285
> There are starting to be too many refresh*Protocols We can refactor them to use a single
protocol with a variable payload to choose what to do.
> Thereafter, we can return an indication of success or failure.

This message was sent by Atlassian JIRA

View raw message