Author: more Date: Wed Nov 1 18:57:28 2017 New Revision: 1813984 URL: http://svn.apache.org/viewvc?rev=1813984&view=rev Log: KNOX-1092 - Fix carriage return in the hiveserver2 ha documentation Modified: knox/site/books/knox-0-14-0/user-guide.html knox/site/index.html knox/site/issue-tracking.html knox/site/license.html knox/site/mail-lists.html knox/site/project-info.html knox/site/team-list.html knox/trunk/books/0.14.0/service_hive.md Modified: knox/site/books/knox-0-14-0/user-guide.html URL: http://svn.apache.org/viewvc/knox/site/books/knox-0-14-0/user-guide.html?rev=1813984&r1=1813983&r2=1813984&view=diff ============================================================================== --- knox/site/books/knox-0-14-0/user-guide.html (original) +++ knox/site/books/knox-0-14-0/user-guide.html Wed Nov 1 18:57:28 2017 @@ -4720,7 +4720,23 @@ session.shutdown(10, SECONDS)
<service>
     <role>WEBHBASE</role>
 </service>
-

Please note that there is no <url> tag specified here as the URLs for the Kafka servers are obtained from ZooKeeper.

Hive

The Hive wiki pages describe Hive installation and configuration processes. In sandbox configuration file for Hive is located at /etc/hive/hive-site.xml. Hive Server has to be started in HTTP mode. Note the properties shown below as they are related to configuration required by the gateway.

+

Please note that there is no <url> tag specified here as the URLs for the Kafka servers are obtained from ZooKeeper.

+

Hive

The Hive wiki pages describe Hive installation and configuration processes. In sandbox configuration file for Hive is located at /etc/hive/hive-site.xml. Hive Server has to be started in HTTP mode. Note the properties shown below as they are related to configuration required by the gateway.

<property>
     <name>hive.server2.thrift.http.port</name>
     <value>10001</value>
@@ -4942,8 +4958,7 @@ connection.close();
     <enabled>true</enabled>
     <param>
         <name>HIVE</name>
-        <value>maxFailoverAttempts=3;failoverSleep=1000;enabled=true;zookeeperEnsemble=machine1:2181,machine2:2181,machine3:2181;
-       zookeeperNamespace=hiveserver2</value>
+        <value>maxFailoverAttempts=3;failoverSleep=1000;enabled=true;zookeeperEnsemble=machine1:2181,machine2:2181,machine3:2181;zookeeperNamespace=hiveserver2</value>
    </param>
 </provider>
 

The role and name of the provider above must be as shown. The name in the ‘param’ section must match that of the service role name that is being configured for HA and the value in the ‘param’ section is the configuration for that particular service in HA mode. In this case the name is ‘HIVE’.

The various configuration parameters are described below:

Modified: knox/site/index.html URL: http://svn.apache.org/viewvc/knox/site/index.html?rev=1813984&r1=1813983&r2=1813984&view=diff ============================================================================== --- knox/site/index.html (original) +++ knox/site/index.html Wed Nov 1 18:57:28 2017 @@ -1,13 +1,13 @@ - + Knox Gateway – REST API and Application Gateway for the Apache Hadoop Ecosystem @@ -58,7 +58,7 @@ -
  • Last Published: 2017-10-20
  • +
  • Last Published: 2017-11-01
  • Modified: knox/site/issue-tracking.html URL: http://svn.apache.org/viewvc/knox/site/issue-tracking.html?rev=1813984&r1=1813983&r2=1813984&view=diff ============================================================================== --- knox/site/issue-tracking.html (original) +++ knox/site/issue-tracking.html Wed Nov 1 18:57:28 2017 @@ -1,13 +1,13 @@ - + Knox Gateway – Issue Tracking @@ -58,7 +58,7 @@ -
  • Last Published: 2017-10-20
  • +
  • Last Published: 2017-11-01
  • Modified: knox/site/license.html URL: http://svn.apache.org/viewvc/knox/site/license.html?rev=1813984&r1=1813983&r2=1813984&view=diff ============================================================================== --- knox/site/license.html (original) +++ knox/site/license.html Wed Nov 1 18:57:28 2017 @@ -1,13 +1,13 @@ - + Knox Gateway – Project License @@ -58,7 +58,7 @@ -
  • Last Published: 2017-10-20
  • +
  • Last Published: 2017-11-01
  • Modified: knox/site/mail-lists.html URL: http://svn.apache.org/viewvc/knox/site/mail-lists.html?rev=1813984&r1=1813983&r2=1813984&view=diff ============================================================================== --- knox/site/mail-lists.html (original) +++ knox/site/mail-lists.html Wed Nov 1 18:57:28 2017 @@ -1,13 +1,13 @@ - + Knox Gateway – Project Mailing Lists @@ -58,7 +58,7 @@ -
  • Last Published: 2017-10-20
  • +
  • Last Published: 2017-11-01
  • Modified: knox/site/project-info.html URL: http://svn.apache.org/viewvc/knox/site/project-info.html?rev=1813984&r1=1813983&r2=1813984&view=diff ============================================================================== --- knox/site/project-info.html (original) +++ knox/site/project-info.html Wed Nov 1 18:57:28 2017 @@ -1,13 +1,13 @@ - + Knox Gateway – Project Information @@ -58,7 +58,7 @@ -
  • Last Published: 2017-10-20
  • +
  • Last Published: 2017-11-01
  • Modified: knox/site/team-list.html URL: http://svn.apache.org/viewvc/knox/site/team-list.html?rev=1813984&r1=1813983&r2=1813984&view=diff ============================================================================== --- knox/site/team-list.html (original) +++ knox/site/team-list.html Wed Nov 1 18:57:28 2017 @@ -1,13 +1,13 @@ - + Knox Gateway – Team list @@ -58,7 +58,7 @@ -
  • Last Published: 2017-10-20
  • +
  • Last Published: 2017-11-01
  • Modified: knox/trunk/books/0.14.0/service_hive.md URL: http://svn.apache.org/viewvc/knox/trunk/books/0.14.0/service_hive.md?rev=1813984&r1=1813983&r2=1813984&view=diff ============================================================================== --- knox/trunk/books/0.14.0/service_hive.md (original) +++ knox/trunk/books/0.14.0/service_hive.md Wed Nov 1 18:57:28 2017 @@ -13,7 +13,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. ----> +--> ### Hive ### @@ -282,8 +282,7 @@ To enable HA functionality for Hive in K true HIVE - maxFailoverAttempts=3;failoverSleep=1000;enabled=true;zookeeperEnsemble=machine1:2181,machine2:2181,machine3:2181; - zookeeperNamespace=hiveserver2 + maxFailoverAttempts=3;failoverSleep=1000;enabled=true;zookeeperEnsemble=machine1:2181,machine2:2181,machine3:2181;zookeeperNamespace=hiveserver2