You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Zoran Dimitrijevic (JIRA)" <ji...@apache.org> on 2016/09/07 21:27:20 UTC
[jira] [Created] (HADOOP-13587) distcp.map.bandwidth.mb is
overwritten even when -bandwidth flag isn't set
Zoran Dimitrijevic created HADOOP-13587:
-------------------------------------------
Summary: 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
Priority: Minor
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: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org