Skip to content

Commit 83e59c8

Browse files
authored
list formatting
1 parent c052364 commit 83e59c8

File tree

1 file changed

+6
-13
lines changed

1 file changed

+6
-13
lines changed

articles/hdinsight-aks/flink/start-sql-client-cli-gateway-mode.md

Lines changed: 6 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,7 @@ Get cluster endpoint(host or fqdn) on Azure portal.
6262

6363
#### Install Windows Subsystem for Linux to make this work on local Windows machine.
6464

65-
1. Step1:
66-
Open Windows command and run (replace JAVA_HOME and flink-cli path with your own) to download flink-cli:
65+
1. Open Windows command and run (replace JAVA_HOME and flink-cli path with your own) to download flink-cli:
6766

6867
```
6968
Windows Subsystem for Linux --distribution Ubuntu
@@ -72,8 +71,7 @@ Get cluster endpoint(host or fqdn) on Azure portal.
7271
wget https://hdiconfigactions.blob.core.windows.net/hiloflink17blob/flink-cli.tgz
7372
tar -xvf flink-cli.tgz
7473
```
75-
1. Step2:
76-
Set endpoint, tenant ID, and port 443 in flink-conf.yaml
74+
1. Set endpoint, tenant ID, and port 443 in flink-conf.yaml
7775
```
7876
user@MININT-481C9TJ:/mnt/c/Users/user/flink-cli$ cd conf
7977
user@MININT-481C9TJ:/mnt/c/Users/user/flink-cli/conf$ ls -l
@@ -87,13 +85,11 @@ Get cluster endpoint(host or fqdn) on Azure portal.
8785
azure.tenant.id: <tenant ID>
8886
rest.port: 443
8987
```
90-
1. Step3:
91-
Allowlist Local Windows public IP with port 443 with VPN enabled into HDInsight on AKS cluster Subnet's Network security inbound.
88+
1. Allowlist Local Windows public IP with port 443 with VPN enabled into HDInsight on AKS cluster Subnet's Network security inbound.
9289
9390
:::image type="image" source="./media/start-sql-client-cli-in-gateway-mode/allow-public-ip.png" alt-text="Screenshot showing how to allow public IP address." border="true" lightbox="./media/start-sql-client-cli-in-gateway-mode/allow-public-ip.png":::
9491
95-
1. Step4:
96-
Run the sql-client.sh in gateway mode on Flink-cli to Flink SQL.
92+
1. Run the sql-client.sh in gateway mode on Flink-cli to Flink SQL.
9793
9894
```
9995
bin/sql-client.sh gateway --endpoint <fqdn>:443
@@ -148,17 +144,14 @@ Get cluster endpoint(host or fqdn) on Azure portal.
148144
Command history file path: /home/user/.flink-sql-history
149145
```
150146
151-
1. Step5:
152-
Before querying any table with external source, prepare the related jars.
147+
1. Before querying any table with external source, prepare the related jars.
153148
Following examples query kafka table, mysql table in Flink SQL. Download the jar and put it in Flink cluster attached Azure Data Lake Storage gen2 storage.
154149
155150
Jars in Azure Data Lake Storage gen2 in Azure portal:
156151
157152
:::image type="image" source="./media/start-sql-client-cli-in-gateway-mode/jar-files-in-azure-portal.png" alt-text="Screenshot showing jar files in Azure portal." border="true" lightbox="./media/start-sql-client-cli-in-gateway-mode/jar-files-in-azure-portal.png":::
158153
159-
1. Step6:
160-
161-
Use the table already created and put it into Hive metastore for management, then run the query.
154+
1. Use the table already created and put it into Hive metastore for management, then run the query.
162155
163156
``` SQL
164157
CREATE CATALOG myhive WITH (

0 commit comments

Comments
 (0)