hawq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dyozie <...@git.apache.org>
Subject [GitHub] incubator-hawq-docs pull request #108: add config section, misc
Date Thu, 30 Mar 2017 21:33:15 GMT
Github user dyozie commented on a diff in the pull request:

    --- Diff: markdown/ranger/ranger-integration-config.html.md.erb ---
    @@ -124,8 +116,39 @@ Once the connection between HAWQ and Ranger is configured, you can
either set up
     4. Click **Add Property...** and add the new property, `hawq_acl_type=ranger` property.
(If the property already exists, change its value from `standalone` (the default) to `ranger`.)
     5. Click **Save** to save your changes.
     6. Select **Service Actions > Restart All** and confirm that you want to restart the
HAWQ cluster.
    -## <a id="caching"></a>Changing the Frequency of Policy Caching
    +## <a id="customconfig"></a> Custom Configuration
    +Configuration files for the HAWQ Ranger Plug-in Service are located in the `$GPHOME/ranger/etc`
directory. These files include:
    +| File     |  Description     |
    +| ranger-hawq-audit.xml |  HAWQ Ranger audit-related configuration, including the audit
provider (log4j, Solr, HDFS) and provider-specific configuration |
    +| ranger-hawq-security.xml |  HAWQ Ranger service configuration, including the policy
change polling interval |
    +| rps.properties |  HAWQ Ranger deployment-related configuration, including the RPS port
definition and JVM parameters|
    +You should not need to modify RPS configuration in a default installation.  Any configuration
changes you do make after you have registered the HAWQ Ranger Plug-in requires a restart of
the service. You can either restart the HAWQ cluster or restart just the HAWQ Ranger Plug-in
    +``` shell
    +gpadmin@master$ /usr/local/hawq/ranger/bin/rps.sh stop
    +gpadmin@master$ /usr/local/hawq/ranger/bin/rps.sh start
    +### <a id="caching"></a>Changing the Frequency of Policy Caching
    -You may wish to change the frequency of policy caching to suit your individual needs.
    \ No newline at end of file
    +The default polling interval for HAWQ RPS policy updates is 30 seconds. To increase or
decrease this value, update the `ranger.plugin.hawq.policy.pollIntervalMs` property setting
in the `ranger-hawq-security.xml` file:
    --- End diff --
    Nix the RPS again.

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.

View raw message