Uploaded image for project: 'Apache HAWQ (Retired)'
  1. Apache HAWQ (Retired)
  2. HAWQ-1393

'hawq stop cluster' failed when rps.sh have some path errors (e.g. CATALINA_HOME)

    XMLWordPrintableJSON

Details

    Description

      example (hawq master already stopped)

      $ hawq stop cluster -a
      20170320:16:43:23:038375 hawq_stop:interma-mbp:hma-[INFO]:-Prepare to do 'hawq stop'
      20170320:16:43:23:038375 hawq_stop:interma-mbp:hma-[INFO]:-You can find log in:
      20170320:16:43:23:038375 hawq_stop:interma-mbp:hma-[INFO]:-/Users/hma/hawqAdminLogs/hawq_stop_20170320.log
      20170320:16:43:23:038375 hawq_stop:interma-mbp:hma-[INFO]:-GPHOME is set to:
      20170320:16:43:23:038375 hawq_stop:interma-mbp:hma-[INFO]:-/Users/hma/hawq/install
      20170320:16:43:23:038375 hawq_stop:interma-mbp:hma-[INFO]:-Stop hawq with args: ['stop', 'cluster']
      20170320:16:43:23:038375 hawq_stop:interma-mbp:hma-[INFO]:-No standby host configured
      20170320:16:43:23:038375 hawq_stop:interma-mbp:hma-[WARNING]:-Failed to connect to database, cannot get hawq_acl_type
      20170320:16:43:23:038375 hawq_stop:interma-mbp:hma-[INFO]:-Stop hawq cluster
      20170320:16:43:23:038375 hawq_stop:interma-mbp:hma-[WARNING]:-HAWQ process is not running on localhost, skip
      20170320:16:43:23:038375 hawq_stop:interma-mbp:hma-[WARNING]:-Master is not running, skip
      20170320:16:43:23:038375 hawq_stop:interma-mbp:hma-[INFO]:-Master stopped successfully
      20170320:16:43:23:038375 hawq_stop:interma-mbp:hma-[WARNING]:-try to stop RPS when hawq_acl_type is unknown
      20170320:16:43:23:038375 hawq_stop:interma-mbp:hma-[INFO]:-Stop Ranger plugin service
      20170320:16:43:24:038375 hawq_stop:interma-mbp:hma-[INFO]:-Cannot find /usr/lib/bigtop-tomcat/bin/setclasspath.sh
      This file is needed to run this program
      FATAL: Failed to stop HAWQ Ranger Plugin Service. Check /Users/hma/hawq/install/ranger/plugin-service/logs/catalina.out for details.
      20170320:16:43:24:038375 hawq_stop:interma-mbp:hma-[ERROR]:-Ranger plugin service stop failed, exit
      

      We wish to continue to run the remain logic of hawq stop.

      Attachments

        Issue Links

          Activity

            People

              hongxu ma Hongxu Ma
              hongxu ma Hongxu Ma
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: