Johnny Zhang created BIGTOP-725:
-----------------------------------
Summary: package service test TestServices should only do config
once for a group of services
Key: BIGTOP-725
URL: https://issues.apache.org/jira/browse/BIGTOP-725
Project: Bigtop
Issue Type: Bug
Components: Tests
Affects Versions: 0.5.0
Reporter: Johnny Zhang
Assignee: Johnny Zhang
Fix For: 0.5.0
right now the package test TestServices.createState() use a loop to do config
for each one of a group of services, for example. For HDFS services
"hadoop-0.20-namenode", "hadoop-0.20-datanode",
"hadoop-0.20-secondarynamenode", it do the same config three times
{noformat}
12/10/02 13:34:41 TRACE shell.Shell: /bin/bash << __EOT__
sed -i -e
's#<configuration>$#<configuration><property><name>dfs.safemode.min.datanodes</name><value>1</value></property><property><name>dfs.safemode.extension</name><value>0</value></property>#'
/etc/hadoop/conf/hdfs-site.xml
__EOT__
12/10/02 13:34:41 TRACE shell.Shell: /bin/bash << __EOT__
sed -i -e
's#<configuration>$#<configuration><property><name>dfs.safemode.min.datanodes</name><value>1</value></property><property><name>dfs.safemode.extension</name><value>0</value></property>#'
/etc/hadoop/conf/hdfs-site.xml
__EOT__
12/10/02 13:34:41 TRACE shell.Shell: /bin/bash << __EOT__
sed -i -e
's#<configuration>$#<configuration><property><name>dfs.safemode.min.datanodes</name><value>1</value></property><property><name>dfs.safemode.extension</name><value>0</value></property>#'
/etc/hadoop/conf/hdfs-site.xml
__EOT__
{noformat}
it really just need to do it once
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira