[
https://issues.apache.org/jira/browse/HADOOP-13587?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15484408#comment-15484408
]
Ravi Prakash commented on HADOOP-13587:
---------------------------------------
+1. LGTM. Thanks a lot for your contribution Zoran. Committing shortly!
> distcp.map.bandwidth.mb is overwritten even when -bandwidth flag isn't set
> --------------------------------------------------------------------------
>
> Key: HADOOP-13587
> URL: https://issues.apache.org/jira/browse/HADOOP-13587
> Project: Hadoop Common
> Issue Type: Bug
> Components: tools/distcp
> Affects Versions: 3.0.0-alpha1
> Reporter: Zoran Dimitrijevic
> Assignee: Zoran Dimitrijevic
> Priority: Minor
> Attachments: HADOOP-13587-01.patch, HADOOP-13587-02.patch
>
> Original Estimate: 24h
> Remaining Estimate: 24h
>
> distcp.map.bandwidth.mb exists in distcp-defaults.xml config file, but it is
> not honored even when it is . Current code always overwrites it with either
> default value (java const) or with -bandwidth command line option.
> The expected behavior (at least how I would expect it) is to honor the value
> set in distcp-defaults.xml unless user explicitly specify -bandwidth command
> line flag. If there is no value set in .xml file or as a command line flag,
> then the constant from java code should be used.
> Additionally, I would expect that we also try to get values from
> distcp-site.xml, similar to other hadoop systems.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]