Skip to content

Commit c49faf1

Browse files
authored
updated ESP UPN and troubleshooting for private endpoint
1 parent 92d42c0 commit c49faf1

File tree

1 file changed

+11
-7
lines changed

1 file changed

+11
-7
lines changed

articles/hdinsight/hadoop/apache-hadoop-use-hive-beeline.md

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -54,19 +54,21 @@ Replace `<username>` with the name of an account on the domain with permissions
5454

5555
### Over public or private endpoints
5656

57-
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 SSL:
57+
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 SSL:
5858

5959
```bash
60-
beeline -u 'jdbc:hive2://clustername.azurehdinsight.net:443/;ssl=true;transportMode=http;httpPath=/hive2' -n admin -p password
60+
beeline -u 'jdbc:hive2://clustername.azurehdinsight.net:443/;ssl=true;transportMode=http;httpPath=/hive2' -n <username> -p password
6161
```
6262

6363
or for private endpoint:
6464

6565
```bash
66-
beeline -u 'jdbc:hive2://clustername-int.azurehdinsight.net:443/;ssl=true;transportMode=http;httpPath=/hive2' -n admin -p password
66+
beeline -u 'jdbc:hive2://clustername-int.azurehdinsight.net:443/;ssl=true;transportMode=http;httpPath=/hive2' -n <username> -p password
6767
```
6868

69-
Replace `clustername` with the name of your HDInsight cluster. Replace `admin` with the cluster login account for your cluster. Replace `password` with the password for the cluster login account.
69+
Replace `clustername` with the name of your HDInsight cluster. Replace `<username>` with the cluster login account for your cluster. Note for ESP clusters use the full UPN (e.g. [email protected]). Replace `password` with the password for the cluster login account.
70+
71+
Private endpoints point to a basic load balancer which can only be accessed from the VNETs peered in the same region. See [this](https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-faq#what-are-the-constraints-related-to-global-vnet-peering-and-load-balancers) for more info. You can use `curl` command with `-v` option to troubleshoot any connectivity problem to with public or private endpoints before using beeline.
7072

7173
---
7274

@@ -79,16 +81,18 @@ Apache Spark provides its own implementation of HiveServer2, which is sometimes
7981
The connection string used is slightly different. Instead of containing `httpPath=/hive2` it's `httpPath/sparkhive2`:
8082

8183
```bash
82-
beeline -u 'jdbc:hive2://clustername.azurehdinsight.net:443/;ssl=true;transportMode=http;httpPath=/sparkhive2' -n admin -p password
84+
beeline -u 'jdbc:hive2://clustername.azurehdinsight.net:443/;ssl=true;transportMode=http;httpPath=/sparkhive2' -n <username> -p password
8385
```
8486

8587
or for private endpoint:
8688

8789
```bash
88-
beeline -u 'jdbc:hive2://clustername-int.azurehdinsight.net:443/;ssl=true;transportMode=http;httpPath=/sparkhive2' -n admin -p password
90+
beeline -u 'jdbc:hive2://clustername-int.azurehdinsight.net:443/;ssl=true;transportMode=http;httpPath=/sparkhive2' -n <username> -p password
8991
```
9092

91-
Replace `clustername` with the name of your HDInsight cluster. Replace `admin` with the cluster login account for your cluster. Replace `password` with the password for the cluster login account.
93+
Replace `clustername` with the name of your HDInsight cluster. Replace `<username>` with the cluster login account for your cluster. Note for ESP clusters use the full UPN (e.g. [email protected]). Replace `password` with the password for the cluster login account.
94+
95+
Private endpoints point to a basic load balancer which can only be accessed from the VNETs peered in the same region. See [this](https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-faq#what-are-the-constraints-related-to-global-vnet-peering-and-load-balancers) for more info. You can use `curl` command with `-v` option to troubleshoot any connectivity problem to with public or private endpoints before using beeline.
9296

9397
---
9498

0 commit comments

Comments
 (0)