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

Hudson commented on HADOOP-13587:
---------------------------------

SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #10425 (See 
[https://builds.apache.org/job/Hadoop-trunk-Commit/10425/])
HADOOP-13587. distcp.map.bandwidth.mb is overwritten even when (raviprak: rev 
9faccd104672dfef123735ca8ada178fc3a6196f)
* (edit) 
hadoop-tools/hadoop-distcp/src/main/java/org/apache/hadoop/tools/DistCp.java
* (edit) 
hadoop-tools/hadoop-distcp/src/test/java/org/apache/hadoop/tools/TestOptionsParser.java
* (edit) 
hadoop-tools/hadoop-distcp/src/main/java/org/apache/hadoop/tools/DistCpOptions.java


> 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
>             Fix For: 3.0.0-alpha2
>
>         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]

Reply via email to