Uploaded image for project: 'Bigtop'
  1. Bigtop
  2. BIGTOP-1478

Start tomcat watchdog as part of solr init scripts

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.7.0
    • Fix Version/s: 1.0.0
    • Component/s: solr
    • Labels:

      Activity

      Hide
      rvg Rajendra added a comment -

      The solr initialization script bigtop-packages/src/common/solr/install_solr.sh has the following code :

      if [ "$1" = "run" -a -n "$SOLRD_WATCHDOG_TIMEOUT" ] ; then
      tomcat_watchdog &
      fi

      When invoked with the "run" argument this code invokes the tomcat_watchdog function that checks the status of the solr server. It appears that this behavior is also applicable when this script is invoked with the "start" argument (e.g. as happens when we do a "service solr start" or "service solr restart"

      Show
      rvg Rajendra added a comment - The solr initialization script bigtop-packages/src/common/solr/install_solr.sh has the following code : if [ "$1" = "run" -a -n "$SOLRD_WATCHDOG_TIMEOUT" ] ; then tomcat_watchdog & fi When invoked with the "run" argument this code invokes the tomcat_watchdog function that checks the status of the solr server. It appears that this behavior is also applicable when this script is invoked with the "start" argument (e.g. as happens when we do a "service solr start" or "service solr restart"
      Hide
      rvg Rajendra added a comment -
      Show
      rvg Rajendra added a comment - Patch for https://issues.apache.org/jira/browse/BIGTOP-1478
      Hide
      rvs Roman Shaposhnik added a comment -

      +1 and committed!

      Thanks a million for providing this patch!

      Show
      rvs Roman Shaposhnik added a comment - +1 and committed! Thanks a million for providing this patch!

        People

        • Assignee:
          rvg Rajendra
          Reporter:
          rvg Rajendra
        • Votes:
          0 Vote for this issue
          Watchers:
          2 Start watching this issue

          Dates

          • Created:
            Updated:
            Resolved:

            Development