You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hawq.apache.org by yo...@apache.org on 2017/04/25 00:03:55 UTC
[02/50] [abbrv] incubator-hawq-docs git commit: small correction to
pxf_service_address configuration
small correction to pxf_service_address configuration
Project: http://git-wip-us.apache.org/repos/asf/incubator-hawq-docs/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-hawq-docs/commit/9175d252
Tree: http://git-wip-us.apache.org/repos/asf/incubator-hawq-docs/tree/9175d252
Diff: http://git-wip-us.apache.org/repos/asf/incubator-hawq-docs/diff/9175d252
Branch: refs/heads/master
Commit: 9175d252c49b4faa699b37a3cf2bbec1ba0eb1ee
Parents: 8c37d04
Author: David Yozie <yo...@apache.org>
Authored: Thu Mar 23 14:42:08 2017 -0700
Committer: David Yozie <yo...@apache.org>
Committed: Thu Mar 23 14:42:08 2017 -0700
----------------------------------------------------------------------
markdown/pxf/HivePXF.html.md.erb | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-hawq-docs/blob/9175d252/markdown/pxf/HivePXF.html.md.erb
----------------------------------------------------------------------
diff --git a/markdown/pxf/HivePXF.html.md.erb b/markdown/pxf/HivePXF.html.md.erb
index 345bbca..a226537 100644
--- a/markdown/pxf/HivePXF.html.md.erb
+++ b/markdown/pxf/HivePXF.html.md.erb
@@ -205,10 +205,10 @@ The following diagram depicts how HAWQ integrates with HCatalog to query Hive ta
To enable HCatalog query integration in HAWQ, perform the following steps:
1. Make sure your deployment meets the requirements listed in [Prerequisites](#installingthepxfhiveplugin).
-2. If necessary, set the `pxf_service_address` global configuration property to the hostname or IP address and port where you have installed the PXF Hive plug-in. By default, the value is set to `localhost:51200`.
+2. If necessary, set the `pxf_service_address` global configuration property to the hostname or IP address and port where you have installed the PXF Hive plug-in (preferably the HDFS NameNode). By default, the value is set to `localhost:51200`. For example:
``` sql
- postgres=# SET pxf_service_address TO <hivenode>:51200
+ postgres=# SET pxf_service_address TO '<namenode>:51200';
```
3. HCatalog internally uses the `pxf` protocol to query. Grant this protocol privilege to all roles requiring access: