Author: lmccay Date: Wed Oct 14 15:21:26 2015 New Revision: 1708621 URL: http://svn.apache.org/viewvc?rev=1708621&view=rev Log: added anchors to the config section to 0.7.0 book
Modified: knox/site/books/knox-0-7-0/user-guide.html knox/trunk/books/0.7.0/config.md Modified: knox/site/books/knox-0-7-0/user-guide.html URL: http://svn.apache.org/viewvc/knox/site/books/knox-0-7-0/user-guide.html?rev=1708621&r1=1708620&r2=1708621&view=diff ============================================================================== --- knox/site/books/knox-0-7-0/user-guide.html (original) +++ knox/site/books/knox-0-7-0/user-guide.html Wed Oct 14 15:21:26 2015 @@ -357,9 +357,9 @@ https://{gateway-host}:{gateway-port}/{g </ul></li> </ul><p>The values for <code>{gateway-host}</code>, <code>{gateway-port}</code>, <code>{gateway-path}</code> are provided via the gateway configuration file (i.e. <code>{GATEWAY_HOME}/conf/gateway-site.xml</code>).</p><p>The value for <code>{cluster-name}</code> is derived from the file name of the cluster topology descriptor (e.g. <code>{GATEWAY_HOME}/deployments/{cluster-name}.xml</code>).</p><p>The value for <code>{webhdfs-host}</code>, <code>{webhcat-host}</code>, <code>{oozie-host}</code>, <code>{hbase-host}</code> and <code>{hive-host}</code> are provided via the cluster topology descriptor (e.g. <code>{GATEWAY_HOME}/conf/topologies/{cluster-name}.xml</code>).</p><p>Note: The ports 50070, 50111, 11000, 60080 (default 8080) and 10001 are the defaults for WebHDFS, WebHCat, Oozie, Stargate/HBase and Hive respectively. Their values can also be provided via the cluster topology descriptor if your Hadoop cluster uses different ports.</p><h3><a id="Configuration"></a>Configuration</h 3><p>Configuration for Apache Knox includes:</p> <ol> - <li>[#Related Cluster Configuration] that must be done within the Hadoop cluster to allow Knox to communicate with various services</li> - <li>[#Gateway Server Configuration] - which is the configurable elements of the server itself which applies to behavior that spans all topologies or managed Hadoop clusters</li> - <li>[#Topology Descriptors] which are the descriptors for controlling access to Hadoop clusters in various ways</li> + <li><a href="#Related+Cluster+Configuration">Related Cluster Configuration</a> that must be done within the Hadoop cluster to allow Knox to communicate with various services</li> + <li><a href="#Gateway+Server+Configuration">Gateway Server Configuration</a> - which is the configurable elements of the server itself which applies to behavior that spans all topologies or managed Hadoop clusters</li> + <li><a href="#Topology+Descriptors">Topology Descriptors</a> which are the descriptors for controlling access to Hadoop clusters in various ways</li> </ol><h3><a id="Related+Cluster+Configuration"></a>Related Cluster Configuration</h3><p>The following configuration changes must be made to your cluster to allow Apache Knox to dispatch requests to the various service components on behalf of end users.</p><h4><a id="Grant+Proxy+privileges+for+Knox+user+in+`core-site.xml`+on+Hadoop+master+nodes"></a>Grant Proxy privileges for Knox user in <code>core-site.xml</code> on Hadoop master nodes</h4><p>Update <code>core-site.xml</code> and add the following lines towards the end of the file.</p><p>Replace FQDN_OF_KNOX_HOST with the fully qualified domain name of the host running the gateway. You can usually find this by running <code>hostname -f</code> on that host.</p><p>You could use * for local developer testing if Knox host does not have static IP.</p> <pre><code><property> <name>hadoop.proxyuser.knox.groups</name> Modified: knox/trunk/books/0.7.0/config.md URL: http://svn.apache.org/viewvc/knox/trunk/books/0.7.0/config.md?rev=1708621&r1=1708620&r2=1708621&view=diff ============================================================================== --- knox/trunk/books/0.7.0/config.md (original) +++ knox/trunk/books/0.7.0/config.md Wed Oct 14 15:21:26 2015 @@ -19,9 +19,9 @@ Configuration for Apache Knox includes: -1. [#Related Cluster Configuration] that must be done within the Hadoop cluster to allow Knox to communicate with various services -2. [#Gateway Server Configuration] - which is the configurable elements of the server itself which applies to behavior that spans all topologies or managed Hadoop clusters -3. [#Topology Descriptors] which are the descriptors for controlling access to Hadoop clusters in various ways +1. #[Related Cluster Configuration] that must be done within the Hadoop cluster to allow Knox to communicate with various services +2. #[Gateway Server Configuration] - which is the configurable elements of the server itself which applies to behavior that spans all topologies or managed Hadoop clusters +3. #[Topology Descriptors] which are the descriptors for controlling access to Hadoop clusters in various ways ### Related Cluster Configuration ###