[
https://issues.apache.org/jira/browse/HAWQ-1393?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Hongxu Ma reassigned HAWQ-1393:
-------------------------------
Assignee: Hongxu Ma (was: Ed Espino)
> 'hawq stop cluster' failed when rps.sh have some path errors (e.g.
> CATALINA_HOME)
> ---------------------------------------------------------------------------------
>
> Key: HAWQ-1393
> URL: https://issues.apache.org/jira/browse/HAWQ-1393
> Project: Apache HAWQ
> Issue Type: Bug
> Components: Command Line Tools
> Reporter: Hongxu Ma
> Assignee: Hongxu Ma
> Fix For: 2.2.0.0-incubating
>
>
> example (hawq master already stopped)
> {code}
> $ 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
> {code}
> We wish to continue to run the remain logic of hawq stop.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)