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

Johnny Zhang commented on BIGTOP-596:
-------------------------------------

<configured> means whether the service need additional configuration to start, 
and <configcontent> section will be inserted into file <configname> to complete 
this. <init> means whether the service need 'init' command before start the 
service.

if <configured> is false, then <configuration> section is empty

here is an example for 'hadoop-hdfs-namenode', which can take place the 
config() function in StateVerifierHDFS.groovy

{noformat}
<services>
  <init>true</init>
  <configured>true</configured>
  <configuration>
    <file>
      <configname>/etc/hadoop/conf/hdfs-site.xml</configname>
      <configcontent>
        <property>dfs.safemode.min.datanodes</property>
        <value>1</value>
        <property>dfs.safemode.extension</property>
        <value>0</value>
      </configcontent>
    </file>
  </configuration>
</services>
{noformat}
                
> add initialization for 'hadoop-hdfs-namenode' 'zookeeper-server' and 
> 'hbase-regionserver' daemons in package service test
> -------------------------------------------------------------------------------------------------------------------------
>
>                 Key: BIGTOP-596
>                 URL: https://issues.apache.org/jira/browse/BIGTOP-596
>             Project: Bigtop
>          Issue Type: Bug
>          Components: Tests
>    Affects Versions: 0.4.0
>            Reporter: Johnny Zhang
>            Assignee: Johnny Zhang
>         Attachments: BIGTOP_596.txt
>
>
> the current package test doesn't format namenode, so that 
> hadoop-hdfs-namenode daemon cannot be started

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to