Apache Knox Setup and HDFS and Hive Accessing BigData

Apache Knox:

The Apache Knox™ Gateway is an Application Gateway for interacting with the REST APIs and UIs of Apache Hadoop deployments.

Setup Knox:

Access the Hive:

  • Change in Ambari the Hive config hive.server2.transport.mode to http from binary
  • Check in Linux
    • Use Commands
      • beeline
      • !connect jdbc:hive2://hadoopmaster.com:8443/;ssl=true;sslTrustStore=/var/lib/knox/data-2.6.1.0-129/security/keystores/gateway.jks;trustStorePassword=password@123?hive.server2.transport.mode=http;hive.server2.thrift.http.path=gateway/default/hive
      • hadoopmaster.com is your system address
      • 8443 is your port to knox
      • sslTrustStore change according to the Knox version
      • trustStorePassword is the password used during setup
      • Enter username guest
      • Enter password guest-password
      • (The above usename and password is from the Advance Topology file in config)

 

Use this link for detail view:

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s