You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bigtop.apache.org by GitBox <gi...@apache.org> on 2020/09/08 21:13:20 UTC

[GitHub] [bigtop] sekikn opened a new pull request #670: BIGTOP-3399. Fix bigtop-groovy build failure.

sekikn opened a new pull request #670:
URL: https://github.com/apache/bigtop/pull/670


   In my understanding, bigtop-packages/src/common/hadoop/init-hdfs.sh (and its callee init-hcfs.groovy) are the only users of bigtop-groovy for now. They requires groovy's core and json features, so I fixed install_groovy.sh to just install groovy.jar and groovy-json.jar instead of the former groovy-all.jar, which is no longer provided as a uber-jar.
   
   With this PR, I made sure init-hdfs succeeded on my local ubuntu 18.04, as follows:
   
   ```
   $ ./gradlew realclean hadoop-pkg repo -Dbuildwithdeps=true
   $ cat /etc/puppet/hieradata/site.yaml
   
   (snip)
   
   hadoop_cluster_node::cluster_components:
     - hdfs
     - yarn
     - mapreduce
   bigtop::bigtop_repo_uri: file:///home/sekikn/repos/bigtop/output/apt
   bigtop::jdk_preinstalled: true
   bigtop::bigtop_repo_gpg_check: false
   $ sudo puppet apply --modulepath=bigtop-deploy/puppet/modules:/usr/share/puppet/modules bigtop-deploy/puppet/manifests --debug
   
   (snip)
   
   Debug: Exec[init hdfs](provider=posix): Executing 'bash -x /usr/lib/hadoop/libexec/init-hdfs.sh'
   Debug: Executing: 'bash -x /usr/lib/hadoop/libexec/init-hdfs.sh'
   Notice: /Stage[main]/Hadoop::Init_hdfs/Exec[init hdfs]/returns: executed successfully
   
   (snip)
   
   $ /usr/lib/bigtop-groovy/bin/groovy -v
   Groovy Version: 2.5.4 JVM: 1.8.0_265 Vendor: AdoptOpenJDK OS: Linux
   ```


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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [bigtop] sekikn commented on pull request #670: BIGTOP-3399. Fix bigtop-groovy build failure.

Posted by GitBox <gi...@apache.org>.
sekikn commented on pull request #670:
URL: https://github.com/apache/bigtop/pull/670#issuecomment-689405466


   I'm going to merge this into master so that we can check if the problem is resolved in the next CI run.


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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [bigtop] sekikn merged pull request #670: BIGTOP-3399. Fix bigtop-groovy build failure.

Posted by GitBox <gi...@apache.org>.
sekikn merged pull request #670:
URL: https://github.com/apache/bigtop/pull/670


   


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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org