[ 
https://issues.apache.org/jira/browse/HAWQ-1362?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15899713#comment-15899713
 ] 

Xiang Sheng commented on HAWQ-1362:
-----------------------------------

I have added rps start/stop to HAWQ start/stop accordingly.  
When restart master/cluster is triggered, rps will be stopped in hawq stop and 
it will be started in hawq start. I also have added state info in hawq state.
For hawq init, user should init cluster without ranger enabled and configure 
hawq with ranger related gucs and restart cluster. If user configured related 
gucs and restart cluster , rps will be started as well. 
For "hawq activate standby", I checked that this operation use the commands 
"hawq stop master/cluster" and "hawq start master/cluster", so rps will be 
started or stopped with them if ranger is the hawq_acl_type.
For "hawq --reload option" , I think for ranger related gucs, we should restart 
hawq, it's not enough to just reload the gucs. 

> Add RPS start/stop script in HAWQ start/stop script
> ---------------------------------------------------
>
>                 Key: HAWQ-1362
>                 URL: https://issues.apache.org/jira/browse/HAWQ-1362
>             Project: Apache HAWQ
>          Issue Type: Sub-task
>          Components: Build
>            Reporter: Xiang Sheng
>            Assignee: Xiang Sheng
>             Fix For: 2.2.0.0-incubating
>
>
> We need add start/stop RPS script to HAWQ start/stop script. 
> hawq start master / cluster : should start rps
> hawq stop master / cluster : should stop rps
> hawq init master / cluster : should init without ranger enabled and configure 
> ranger related gucs and restart cluster.
> hawq restart master / cluster : should restart rps
> hawq activate standby : should start rps on standby
> hawq state : show status information about rps service.  use {code}curl 
> http://${RPS_HOST}:${RPS_PORT}/rps/version{code} to check the status. 
> hawq  --reload option , just reload GUC values without restarting hawq 
> cluster. If user change hawq_acl_type to ranger, user must restart cluster. 
> But if user change rps related guc values, I think we should restart rps to 
> reload the new values. 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to