Skip to content

Commit c10f41e

Browse files
authored
Improved Correctness Score
1 parent 673c08c commit c10f41e

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

articles/hdinsight/hadoop/connect-install-beeline.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,25 +13,25 @@ ms.date: 06/14/2024
1313

1414
### From an SSH session
1515

16-
When connecting from an SSH session to a cluster headnode, you can then connect to the `headnodehost` address on port `10001`:
16+
When you connect from an SSH session to a cluster headnode, you can then connect to the `headnodehost` address on port `10001`:
1717

1818
```bash
1919
beeline -u 'jdbc:hive2://headnodehost:10001/;transportMode=http'
2020
```
2121

2222
### Over an Azure Virtual Network
2323

24-
When connecting from a client to HDInsight over an Azure Virtual Network, you must provide the fully qualified domain name (FQDN) of a cluster head node. Since this connection is made directly to the cluster nodes, the connection uses port `10001`:
24+
When you connect from a client to HDInsight over an Azure Virtual Network, you must provide the fully qualified domain name (FQDN) of a cluster head node. Since this connection is made directly to the cluster nodes, the connection uses port `10001`:
2525

2626
```bash
2727
beeline -u 'jdbc:hive2://<headnode-FQDN>:10001/;transportMode=http'
2828
```
2929

30-
Replace `<headnode-FQDN>` with the fully qualified domain name of a cluster headnode. To find the fully qualified domain name of a headnode, use the information in the [Manage HDInsight using the Apache Ambari REST API](../hdinsight-hadoop-manage-ambari-rest-api.md#get-the-fqdn-of-cluster-nodes) document.
30+
Replace `<headnode-FQDN>` with the fully qualified domain name of a cluster headnode. To find the fully qualified domain name of a headnode, use the information in the [Managed HDInsight using the Apache Ambari REST API](../hdinsight-hadoop-manage-ambari-rest-api.md#get-the-fqdn-of-cluster-nodes) document.
3131

3232
### To HDInsight Enterprise Security Package (ESP) cluster using Kerberos
3333

34-
When connecting from a client to an Enterprise Security Package (ESP) cluster joined to Microsoft Entra Domain Services on a machine in same realm of the cluster, you must also specify the domain name `<AAD-Domain>` and the name of a domain user account with permissions to access the cluster `<username>`:
34+
When you connect from a client to an Enterprise Security Package (ESP) cluster joined to Microsoft Entra Domain Services on a machine in same realm of the cluster, you must also specify the domain name `<AAD-Domain>` and the name of a domain user account with permissions to access the cluster `<username>`:
3535

3636
```bash
3737
kinit <username>
@@ -48,15 +48,15 @@ To find the JDBC URL from Ambari:
4848

4949
### Over public or private endpoints
5050

51-
When connecting to a cluster using the public or private endpoints, you must provide the cluster login account name (default `admin`) and password. For example, using Beeline from a client system to connect to the `clustername.azurehdinsight.net` address. This connection is made over port `443`, and is encrypted using TLS/SSL.
51+
When you connect to a cluster using the public or private endpoints, you must provide the cluster login account name (default `admin`) and password. For example, using Beeline from a client system to connect to the `clustername.azurehdinsight.net` address. This connection is made over port `443`, and is encrypted using TLS/SSL.
5252

5353
Replace `clustername` with the name of your HDInsight cluster. Replace `admin` with the cluster login account for your cluster. For ESP clusters, use the full UPN (for example, [email protected]). Replace `password` with the password for the cluster login account.
5454

5555
```bash
5656
beeline -u 'jdbc:hive2://clustername.azurehdinsight.net:443/;ssl=true;transportMode=http;httpPath=/hive2' -n admin -p 'password'
5757
```
5858

59-
or for private endpoint:
59+
Or for private endpoint:
6060

6161
```bash
6262
beeline -u 'jdbc:hive2://clustername-int.azurehdinsight.net:443/;ssl=true;transportMode=http;httpPath=/hive2' -n admin -p 'password'
@@ -78,7 +78,7 @@ The connection string used is slightly different. Instead of containing `httpPa
7878
beeline -u 'jdbc:hive2://clustername.azurehdinsight.net:443/;ssl=true;transportMode=http;httpPath=/sparkhive2' -n admin -p 'password'
7979
```
8080

81-
or for private endpoint:
81+
Or for private endpoint:
8282

8383
```bash
8484
beeline -u 'jdbc:hive2://clustername-int.azurehdinsight.net:443/;ssl=true;transportMode=http;httpPath=/sparkhive2' -n admin -p 'password'
@@ -88,7 +88,7 @@ Private endpoints point to a basic load balancer, which can only be accessed fro
8888

8989
#### From cluster head node or inside Azure Virtual Network with Apache Spark
9090

91-
When connecting directly from the cluster head node, or from a resource inside the same Azure Virtual Network as the HDInsight cluster, port `10002` should be used for Spark Thrift server instead of `10001`. The following example shows how to connect directly to the head node:
91+
When you connect directly from the cluster head node, or from a resource inside the same Azure Virtual Network as the HDInsight cluster, port `10002` should be used for Spark Thrift server instead of `10001`. The following example shows how to connect directly to the head node:
9292

9393
```bash
9494
/usr/hdp/current/spark2-client/bin/beeline -u 'jdbc:hive2://headnodehost:10002/;transportMode=http'
@@ -150,7 +150,7 @@ Although Beeline is included on the head nodes, you may want to install it local
150150
151151
1. Then press **Ctrl+X**, then **Y**, then enter.
152152
153-
1. Close and then reopen you bash session.
153+
1. Close and then reopen your bash session.
154154
155155
1. Test your connection. Use the connection format from [Over public or private endpoints](#over-public-or-private-endpoints), above.
156156

0 commit comments

Comments
 (0)