Vinay Shukla created KNOX-352:
---------------------------------

             Summary: Make code example cut & paste ready for the default 
configuration against HDP Sandbox & CDH Virtual Machine
                 Key: KNOX-352
                 URL: https://issues.apache.org/jira/browse/KNOX-352
             Project: Apache Knox
          Issue Type: Bug
            Reporter: Vinay Shukla


In many places the example have placeholders such as $gateway_home etc.

It will be great to have the example ready for cut & paste against HDP and CDH 
virtual machines. There will still be a few places where we will need places 
holders e.g username and password but it would be good to minimize the 
placeholders.

We should also hightligh in the example the default value and advice to use 
values appropriate one's Hadoop deployment.

For example 

From

jdbc:hive2://{gateway-host}:{gateway-port}/;ssl=true;sslTrustStore={gateway-trust-store-path};trustStorePassword={gateway-trust-store-password}?hive.server2.transport.mode=http;hive.server2.thrift.http.path={gateway-path}/{cluster-name}/hive

To 

Beeline Connect string
!connect 
jdbc:hive2://sandbox:8443/;ssl=true;sslTrustStore=/var/lib/knox/data/security/keystores/gateway.jks;trustStorePassword=password?hive.server2.transport.mode=http;hive.server2.thrift.http.path=gateway/sandbox/hive



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to