Coder Social home page Coder Social logo

Comments (1)

cbaenziger avatar cbaenziger commented on July 19, 2024

An example where we restart jmxtrans twice is in this case where the datanode and regionserver were believed to have been restarted (note the only mention of these resources is provided below):

JMXTrans:

Recipe: jmxtrans::default
  * user[jmxtrans] action create (up to date)
  * ark[jmxtrans] action installRecipe: <Dynamically Defined Resource>
  * directory[/opt/jmxtrans-latest] action create (up to date)
  * remote_file[/var/chef/cache/jmxtrans-latest.zip] action create (up to date)
  * execute[unpack /var/chef/cache/jmxtrans-latest.zip] action nothing (skipped due to action :nothing)
  * execute[set owner on /opt/jmxtrans-latest] action nothing (skipped due to action :nothing)
  * link[/opt/jmxtrans] action create (up to date)
  * template[/etc/profile.d/jmxtrans.sh] action create (skipped due to only_if)
  * ruby_block[adding '/opt/jmxtrans-latest/bin' to chef-client ENV['PATH']] action run (skipped due to only_if)
 (up to date)
Recipe: jmxtrans::default
  * file[/opt/jmxtrans/jmxtrans.sh] action touch
    - update utime on file /opt/jmxtrans/jmxtrans.sh

  * template[/etc/init.d/jmxtrans] action create (up to date)
  * template[/etc/default/jmxtrans] action create (up to date)
  * directory[/var/log/jmxtrans] action create (up to date)
  * directory[/opt/jmxtrans/json] action create (up to date)
  * template[/opt/jmxtrans/json/set1.json] action create (up to date)
  * package[gzip] action install (up to date)
  * cron[compress and remove logs rotated by log4j] action create (up to date)
  * execute[set correct jps alternative] action run (up to date)
  * service[jmxtrans] action enable
    - enable service service[jmxtrans]

  * service[jmxtrans] action start (up to date)
Recipe: bcpc_jmxtrans::default
  * service[restart jmxtrans for hadoop-hdfs-datanode] action nothing (skipped due to action :nothing)
  * service[restart jmxtrans for hbase-regionserver] action nothing (skipped due to action :nothing)
  * service[restart jmxtrans on dependent service manual restart] action restart (skipped due to only_if)
Recipe: sysctl::default
  * ruby_block[save-sysctl-params] action run
    - execute the ruby block save-sysctl-params

Recipe: bcpc_jmxtrans::default
  * service[restart jmxtrans for hadoop-hdfs-datanode] action restart
    - restart service service[restart jmxtrans for hadoop-hdfs-datanode]

  * service[restart jmxtrans for hbase-regionserver] action restart
    - restart service service[restart jmxtrans for hbase-regionserver]

Datanode:

Recipe: bcpc-hadoop::datanode
[...]
  * ruby_block[handle_prev_datanode_restart_failure] action create (skipped due to only_if)
  * ruby_block[acquire_lock_to_restart_datanode] action nothing (skipped due to action :nothing)
  * ruby_block[coordinate_datanode_restart] action create (skipped due to only_if)
  * service[hadoop-hdfs-datanode] action enable
    - enable service service[hadoop-hdfs-datanode]

  * service[hadoop-hdfs-datanode] action start (up to date)
  * ruby_block[release_datanode_restart_lock] action create (skipped due to only_if)
[...]

Region-Server

Recipe: bcpc-hadoop::region_server
  * package[hbase-regionserver] action install (up to date)
  * package[libsnappy1] action install (up to date)
  * directory[/usr/lib/hbase/lib/native/Linux-amd64-64/] action create (up to date)
  * link[/usr/lib/hbase/lib/native/Linux-amd64-64/libsnappy.so.1] action create (up to date)
  * service[hbase-regionserver] action enable
    - enable service service[hbase-regionserver]

  * service[hbase-regionserver] action start (up to date)

from chef-bach.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.