Ambari Views Guide
Also available as:
PDF
loading table of contents...

Settings and Cluster Configuration

If you have manually deployed your cluster, you must enter cluster configuration values in the Hive View Create Instance page. The following table explains where you can find cluster configuration settings in Ambari.

Table 8.2. Finding Cluster Configuration Values for the Hive View in Ambari

Property

Value

Hive Authentication

For secured clusters, see Kerberos Setup for Hive Views

auth=NONE;user=${username}

Scripts HDFS Directory*

/user/${username}/hive/scripts

Jobs HDFS Directory*

/user/${username}/hive/jobs

Default script settings file*

/user/${username}/.${instanceName}.defaultSettings

HiveServer2 Host*

Click Hive > Summary > HiveServer2 to view the host name. For example, c6401.ambari.apache.org

HiveServer2 Thrift port*

Click Hive > Configs > Advanced > General > HiveServer2 Port. For example, 10001

HiveServer2 Http port*

Click Hive > Configs > Advanced > General > hive.server2.thrift.http.port to view the port number. For example, 10001

HiveServer2 Http path*

Click Hive > Configs > Advanced > General > hive.server2.thrift.http.path to view the setting. For example, cliservice

HiveServer2 Transport Mode*

Click Hive > Configs > Advanced > General > hive.server2.transport.mode to view the setting. For example, binary

HiveServer2 Transport Mode can be set to either binary or http. If it is set to binary, the settings for HiveServer2 Http port and HiveServer2 Http path are ignored.

WebHDFS FileSystem URI*

Click HDFS > Configs > Advanced > Advanced hdfs-site > dfs.namenode.http-address. When you enter the value in the view definition, pre-pend "webhdfs://" to the value you find in the advanced HDFS configuration settings. For example, webhdfs://c6401.ambari.apache.org:50070

YARN Application Timeline Server URL*

Click YARN > Configs > Advanced > Application Timeline Server > yarn.timeline-service.webapp.address. When you enter the value in the view definition, pre-pend "http://" to the value you find in the YARN advanced configuration settings. For example, http://c6401.ambari.apache.org:8188

YARN ResourceManager URL*

Click YARN > Configs > Advanced > Advanced yarn-site > yarn.resourcemanager.webapp.address. When you enter the value in the view definition, pre-pend "http://" to the value you find in the YARN advanced configuration settings. For example, http://c6401.ambari.apache.org:8088


For NameNode High Availability

The following values must be entered for primary and secondary NameNodes:

Table 8.3. Hive View Settings for NameNode High Availability

Property

Value

First NameNode RPC Address or Second NameNode RPC Address

Select the primary or secondary NameNode to view settings from that host in the cluster. See how to get the NameNode RPC address. When you enter the value in the view definition, pre-pend "http://" to the value you find in the advanced hdfs-site settings. For example, http://c6401.ambari.apache.org:8020

First NameNode HTTP (WebHDFS) Address or Second NameNode HTTP (WebHDFS) Address

Click HDFS > Configs > Advanced > Advanced hdfs-site > dfs.namenode.http-address. When you enter the value in the view definition, pre-pend "http://" to the value you find in the advanced hdfs-site settings. For example, http://c6401.ambari.apache.org:50070


To get First NameNode RPC Address values:

  1. Navigate to the HDFS service page in Ambari that contains links to individual NameNodes. Click NameNode (primary) or SNameNode (secondary) to view the host page:

    Figure 8.1. HDFS Service Page in Ambari


  2. On the host page, click Configs > Advanced.

  3. Enter "rpc" in the Filter search well at the top right corner of the page or navigate to the Advanced hdfs-site settings to find the dfs.namenode.rpc-address value that you can enter into the Hive View definition. Here is an example of using the Filter to locate a value:

    Figure 8.2. Using the Filter to Search Advanced hdfs-site Settings