[
https://issues.apache.org/jira/browse/HADOOP-4868?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sharad Agarwal updated HADOOP-4868:
-----------------------------------
Attachment: 4868_v3.patch
this patch splits the scripts based on the proposal by Owen.
* I have moved the core, mapred and hdfs specific scripts in bin/core,
bin/mapred and bin/hdfs folder. They would get into the respective
$HADOOP_HOME/{core,hdfs,mapred}/bin folder when structure in repository is
changed.
* Added mapred-config.sh and hdfs-config.sh. These invoke the common-config.sh
present in the core. Note I renamed the hadoop-config.sh to common-config.sh
and moved some of the stuff from the old hadoop script to it. The idea is that
common-config.sh will contain things which is common for all the sub projects.
* common-config.sh loads the hdfs libraries if it is present (for fs command to
work for hdfs)
* conf is in $HADOOP_HOME
* hadoop script continue to work for all the commands but its usage for mapred
or hdfs commands has been deprecated.
* I have put couple of TODO markers at places where the value of environment
variable needs to be changed when the change in structure happens.
Review ?
> Split the hadoop script into 3 parts
> ------------------------------------
>
> Key: HADOOP-4868
> URL: https://issues.apache.org/jira/browse/HADOOP-4868
> Project: Hadoop Core
> Issue Type: Improvement
> Components: scripts
> Reporter: Sharad Agarwal
> Assignee: Sharad Agarwal
> Attachments: 4868_v1.patch, 4868_v2.patch, 4868_v3.patch
>
>
> We need to split the bin/hadoop into 3 parts for core, mapred and hdfs. This
> will enable us to distribute the individual scripts with each component.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.