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-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org

Reply via email to