Github user linwen commented on a diff in the pull request:
https://github.com/apache/incubator-hawq/pull/1229#discussion_r114691191
--- Diff: tools/bin/hawqstate ---
@@ -135,12 +138,14 @@ def show_brief_status(hawq_site, segment_list,
standby_host):
else:
logger.info("- No Standby master defined
")
logger.info("- Total segment instance count from config file = %s"%
total_seg_num)
- if 'hawq_acl_type' in hawq_site.hawq_dict:
- hawq_acl_type = hawq_site.hawq_dict['hawq_acl_type']
- logger.info("- Current HAWQ acl type =
%s" % hawq_acl_type)
- if hawq_acl_type == "ranger":
- hawq_rps_status = check_rps_status()
- logger.info("- HAWQ Ranger plugin service state
= %s" % hawq_rps_status)
+ logger.info("-----------------------------------------------------")
+ logger.info("- Current HAWQ acl type = %s"
% hawq_acl_type)
+ if hawq_acl_type == "ranger":
+ hawq_master_rps_status =
check_rps_status('hawq_master_address_host')
+ logger.info("- HAWQ master Ranger plugin service state =
%s" % hawq_master_rps_status)
--- End diff --
a redundant space between "master" and "Ranger"
---
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 [email protected] or file a JIRA ticket
with INFRA.
---