You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hawq.apache.org by interma <gi...@git.apache.org> on 2017/03/24 03:23:43 UTC
[GitHub] incubator-hawq pull request #1186: HAWQ-1405. 'hawq stop --reload' should no...
GitHub user interma opened a pull request:
https://github.com/apache/incubator-hawq/pull/1186
HAWQ-1405. 'hawq stop --reload' should not stop RPS
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/interma/interma-hawq hawq-1405
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-hawq/pull/1186.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1186
----
commit a0c3dc523d4a866cecc5c8fcb30948f77c4a7ad8
Author: interma <in...@outlook.com>
Date: 2017-03-24T03:22:56Z
HAWQ-1405. 'hawq stop --reload' should not stop RPS
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-hawq pull request #1186: HAWQ-1405. 'hawq stop --reload' should no...
Posted by stanlyxiang <gi...@git.apache.org>.
Github user stanlyxiang commented on a diff in the pull request:
https://github.com/apache/incubator-hawq/pull/1186#discussion_r107836478
--- Diff: tools/bin/hawq_ctl ---
@@ -1041,14 +1041,14 @@ class HawqStop:
logger.info("Segments %s successfully" % self.stop_action_past)
return total_return_flag
- def _stop_rps(self):
- cmd_str = "%s/ranger/bin/rps.sh stop" % (self.GPHOME)
- result = remote_ssh(cmd_str, self.master_host_name, self.user)
- return result
- def stop_rps(self, check_ret = True):
--- End diff --
You can simply add "if reload" in this function and no need to remove _stop_rps && update function call.
Anyway, this change is also acceptable.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-hawq issue #1186: HAWQ-1405. 'hawq stop --reload' should not stop ...
Posted by interma <gi...@git.apache.org>.
Github user interma commented on the issue:
https://github.com/apache/incubator-hawq/pull/1186
@ictmalili @linwen @stanlyxiang help to review, thanks!
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-hawq pull request #1186: HAWQ-1405. 'hawq stop --reload' should no...
Posted by interma <gi...@git.apache.org>.
Github user interma commented on a diff in the pull request:
https://github.com/apache/incubator-hawq/pull/1186#discussion_r107838611
--- Diff: tools/bin/hawq_ctl ---
@@ -1041,14 +1041,14 @@ class HawqStop:
logger.info("Segments %s successfully" % self.stop_action_past)
return total_return_flag
- def _stop_rps(self):
- cmd_str = "%s/ranger/bin/rps.sh stop" % (self.GPHOME)
- result = remote_ssh(cmd_str, self.master_host_name, self.user)
- return result
- def stop_rps(self, check_ret = True):
--- End diff --
I saw other functions ( e.g. _stop_segment(), _stop_master() \uff09) in HawqStop class all have '_' prefix, so merge stop_rps() logic to _stop_rps() for unifying them.
Sounds reasonable?
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-hawq pull request #1186: HAWQ-1405. 'hawq stop --reload' should no...
Posted by interma <gi...@git.apache.org>.
Github user interma closed the pull request at:
https://github.com/apache/incubator-hawq/pull/1186
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-hawq issue #1186: HAWQ-1405. 'hawq stop --reload' should not stop ...
Posted by interma <gi...@git.apache.org>.
Github user interma commented on the issue:
https://github.com/apache/incubator-hawq/pull/1186
merged
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---