MacChen01 commented on PR #1147: URL: https://github.com/apache/bigtop/pull/1147#issuecomment-1705840340
> Hi @MacChen01 @uscxiexing, Sorry for the late reply. > > #1148, #1147 and #1143 have been verified on my local environment including building, toolchian images and smoke tests **separately**. > > But the `postgresql-jdbc` service was deployed twice in [Ambari](https://github.com/apache/bigtop/pull/1147/files#diff-18357b51b0dfec2b4dafd4579f8d2469ef258984231733b80dbfc8aae5b93c02R28) and [Ranger](https://github.com/apache/bigtop/blob/master/bigtop-deploy/puppet/modules/ranger/manifests/init.pp#L35). > > Running the smoke tests of Ranger and Ambari together would cause them to fail: > > ``` > ./docker-hadoop.sh -d --create 3 --image bigtop/puppet:bgtp-openeuler-22.03 \ > --memory 16g --repo file:///bigtop-home/output --disable-gpg-check --enable-local-repo \ > --stack bigtop-utils,hdfs,yarn,spark,ambari,ranger \ > --smoke-tests spark,ambari,ranger > ``` > > ``` > Error: Evaluation Error: Error while evaluating a Resource Statement, Evaluation > Error: Error while evaluating a Resource Statement, Duplicate declaration: > Package[postgresql-jdbc] is already declared at (file: /bigtop-home/bigtop-deploy/puppet/modules/ambari/manifests/init.pp, line: 28); > cannot redeclare (file: /bigtop-home/bigtop-deploy/puppet/modules/ranger/manifests/init.pp, line: 35) > (file: /bigtop-home/bigtop-deploy/puppet/modules/ranger/manifests/init.pp, line: 35, column: 5) > (file: /bigtop-home/bigtop-deploy/puppet/manifests/cluster.pp, line: 208) on node dc86e902b9ac.bigtop.apache.org > ``` > postgresql > Hi @MacChen01 @uscxiexing, Sorry for the late reply. > > #1148, #1147 and #1143 have been verified on my local environment including building, toolchian images and smoke tests **separately**. > > But the `postgresql-jdbc` service was deployed twice in [Ambari](https://github.com/apache/bigtop/pull/1147/files#diff-18357b51b0dfec2b4dafd4579f8d2469ef258984231733b80dbfc8aae5b93c02R28) and [Ranger](https://github.com/apache/bigtop/blob/master/bigtop-deploy/puppet/modules/ranger/manifests/init.pp#L35). > > Running the smoke tests of Ranger and Ambari together would cause them to fail: > > ``` > ./docker-hadoop.sh -d --create 3 --image bigtop/puppet:bgtp-openeuler-22.03 \ > --memory 16g --repo file:///bigtop-home/output --disable-gpg-check --enable-local-repo \ > --stack bigtop-utils,hdfs,yarn,spark,ambari,ranger \ > --smoke-tests spark,ambari,ranger > ``` > > ``` > Error: Evaluation Error: Error while evaluating a Resource Statement, Evaluation > Error: Error while evaluating a Resource Statement, Duplicate declaration: > Package[postgresql-jdbc] is already declared at (file: /bigtop-home/bigtop-deploy/puppet/modules/ambari/manifests/init.pp, line: 28); > cannot redeclare (file: /bigtop-home/bigtop-deploy/puppet/modules/ranger/manifests/init.pp, line: 35) > (file: /bigtop-home/bigtop-deploy/puppet/modules/ranger/manifests/init.pp, line: 35, column: 5) > (file: /bigtop-home/bigtop-deploy/puppet/manifests/cluster.pp, line: 208) on node dc86e902b9ac.bigtop.apache.org > ``` @guyuqi Can you get us some suggestions for it? We installed the **_postgresql_** as the Ambari and Ranger need it for smoke test, where should we install it? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
