Kengo Seki created BIGTOP-3502:
----------------------------------

             Summary: Alluxio and Elasticsearch can't be deployed 
simultaneously via puppet due to resource name duplication
                 Key: BIGTOP-3502
                 URL: https://issues.apache.org/jira/browse/BIGTOP-3502
             Project: Bigtop
          Issue Type: Bug
          Components: deployment
            Reporter: Kengo Seki


Each manifest has a resource with the same name called daemon-reload so they 
conflict.

{code}
$ ./docker-hadoop.sh -d -k 'alluxio, elasticsearch' -c 1

...

Notice: Roles to deploy: [alluxio-master, alluxio-worker, elasticsearch-server, 
elasticsearch-server]
Notice: alluxio ---> master host
Error: Evaluation Error: Error while evaluating a Resource Statement, Duplicate 
declaration: Exec[daemon-reload] is already declared in file 
/bigtop-home/bigtop-deploy/puppet/modules/alluxio/manifests/init.pp:31; cannot 
redeclare at 
/bigtop-home/bigtop-deploy/puppet/modules/elasticsearch/manifests/init.pp:36 at 
/bigtop-home/bigtop-deploy/puppet/modules/elasticsearch/manifests/init.pp:36:5 
on node f28e5423aa14.bigtop.apache.org
Error: Evaluation Error: Error while evaluating a Resource Statement, Duplicate 
declaration: Exec[daemon-reload] is already declared in file 
/bigtop-home/bigtop-deploy/puppet/modules/alluxio/manifests/init.pp:31; cannot 
redeclare at 
/bigtop-home/bigtop-deploy/puppet/modules/elasticsearch/manifests/init.pp:36 at 
/bigtop-home/bigtop-deploy/puppet/modules/elasticsearch/manifests/init.pp:36:5 
on node f28e5423aa14.bigtop.apache.org

[LOG] Failed to provision container 
f28e5423aa14925964c1f4c908f8236f3e1459727b7abaee4794bede87bcf5a9 with exit code 
1
{code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to