guyuqi commented on PR #1147:
URL: https://github.com/apache/bigtop/pull/1147#issuecomment-1706237898

   > > 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?
   
   
   The Ambari smoke tests have been passed in almost all distributions in 
Bigtop 3.2.1.
   `https://ci.bigtop.apache.org/job/Bigtop-3.2.1-smoke-tests/`
   
   
   It seems postgreSQL was integrated into Ambari package.
   May I ask why we need additionally add postgresql installation in Ambari? 
@MacChen01 
   
   


-- 
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]

Reply via email to