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 "Fei Hui (JIRA)" <ji...@apache.org> on 2017/03/21 05:26:41 UTC

[jira] [Comment Edited] (HADOOP-10738) Dynamically adjust distcp configuration by adding distcp-site.xml into code base

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

Fei Hui edited comment on HADOOP-10738 at 3/21/17 5:25 AM:
-----------------------------------------------------------

distcp uses parameters
* from distcp-default.xml, which overrides hdfs-site.xml,yarn-site.xml,mapred-site.xml
* from -D in commandline.

I think we should add another way to set parameters to override distcp-default.xml. If distcp runs with -D every time, it is boring. it is useful for adding distcp-site.xml 


was (Author: ferhui):
distcp uses parameters
* from distcp-default.xml, which overrides hdfs-site.xml,yarn-site.xml,mapred-site.xml
* from -D in commandline.
I think we should add another way to set parameters to override distcp-default.xml. If distcp runs with -D every time, it is boring. it is useful for adding distcp-site.xml 

> Dynamically adjust distcp configuration by adding distcp-site.xml into code base
> --------------------------------------------------------------------------------
>
>                 Key: HADOOP-10738
>                 URL: https://issues.apache.org/jira/browse/HADOOP-10738
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 2.4.0
>            Reporter: Siqi Li
>              Labels: BB2015-05-TBR
>         Attachments: HADOOP-10738.v1.patch, HADOOP-10738.v2.patch
>
>
> For now, the configuration of distcp resides in hadoop-distcp.jar. This makes it difficult to adjust the configuration dynamically.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org