hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Konstantin Shvachko (JIRA)" <j...@apache.org>
Subject [jira] Issue Comment Edited: (HADOOP-2404) HADOOP-2185 breaks compatibility with hadoop-0.15.0
Date Fri, 14 Dec 2007 01:52:43 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-2404?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12551673
] 

shv edited comment on HADOOP-2404 at 12/13/07 5:51 PM:
-----------------------------------------------------------------------

May be we should just declare that this change is incompatible and not provide any conversion
of the changed parameters at all.
We cannot provide true compatibility. Whoever relied on the default port usage expecting (consciously
or unconsciously) them 
to be rolled if they are busy, would have to explicitly specify 0-ports. This means the configuration
should be changed, 
so users might change the names as well.

> instead of directly reading "dfs.http.bindAddress", add a package-private static method
getHttpBindAddress(Configuration)
+1  I really hate that we keep using raw names rather than providing getters/setters.
This should be done for all configuration parameters imo, and probably belongs to HADOOP-2385.

      was (Author: shv):
    May be should just declare that this change is incompatible and not provide any conversion
of the changed parameters at all.
We cannot provide true compatibility. Whoever relied on the default port usage expecting (consciously
or unconsciously) them 
to be rolled if they have are busy, would have to explicitly specify 0-ports. This means the
configuration should be changed, 
so users might change the names as well.

> instead of directly reading "dfs.http.bindAddress", add a package-private static method
getHttpBindAddress(Configuration)
+1  I really hate that we keep using raw names rather than providing getters/setters/
This should be done for all configuration parameters imo, and probably belongs to HADOOP-2385.
  
> HADOOP-2185 breaks compatibility with hadoop-0.15.0
> ---------------------------------------------------
>
>                 Key: HADOOP-2404
>                 URL: https://issues.apache.org/jira/browse/HADOOP-2404
>             Project: Hadoop
>          Issue Type: Bug
>          Components: conf
>    Affects Versions: 0.16.0
>            Reporter: Arun C Murthy
>            Assignee: Konstantin Shvachko
>            Priority: Blocker
>             Fix For: 0.16.0
>
>         Attachments: ConfigurationConverter.patch
>
>
> HADOOP-2185 removed the following configuration parameters:
> {noformat}
> dfs.secondary.info.port
> dfs.datanode.port
> dfs.info.port
> mapred.job.tracker.info.port
> tasktracker.http.port
> {noformat}
> and changed the following configuration parameters:
> {noformat}
> dfs.secondary.info.bindAddress
> dfs.datanode.bindAddress
> dfs.info.bindAddress
> mapred.job.tracker.info.bindAddress
> mapred.task.tracker.report.bindAddress
> tasktracker.http.bindAddress
> {noformat}
> without a backward-compatibility story.
> Lots are applications/cluster-configurations are prone to fail hence, we need a way to
keep things working as-is for 0.16.0 and remove them for 0.17.0.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message