Skip to content

Commit d39642b

Browse files
authored
Update start-sql-client-cli-gateway-mode.md
1 parent 6db6038 commit d39642b

File tree

1 file changed

+17
-18
lines changed

1 file changed

+17
-18
lines changed

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

Lines changed: 17 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -56,22 +56,23 @@ Get cluster endpoint(host or fqdn) on Azure portal.
5656
## Testing
5757

5858
### Preparation
59-
1. Download Flink cli from https://aka.ms/hdionaksflink117clilinux in local Windows machine.
59+
#### Download Flink CLI
60+
61+
1. Download Flink CLI from https://aka.ms/hdionaksflink117clilinux in local Windows machine.
6062

61-
1. Install Windows Subsystem for Linux to make this work on local Windows machine.
63+
#### Install Windows Subsystem for Linux to make this work on local Windows machine.
6264

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

66-
```
67-
Windows Subsystem for Linux --distribution Ubuntu
68-
export JAVA_HOME=/mnt/c/Work/99_tools/zulu11.56.19-ca-jdk11.0.15-linux_x64
69-
cd <folder>
70-
wget https://hdiconfigactions.blob.core.windows.net/hiloflink17blob/flink-cli.tgz
71-
tar -xvf flink-cli.tgz
72-
```
73-
74-
1. Step2:
68+
```
69+
Windows Subsystem for Linux --distribution Ubuntu
70+
export JAVA_HOME=/mnt/c/Work/99_tools/zulu11.56.19-ca-jdk11.0.15-linux_x64
71+
cd <folder>
72+
wget https://hdiconfigactions.blob.core.windows.net/hiloflink17blob/flink-cli.tgz
73+
tar -xvf flink-cli.tgz
74+
```
75+
1. Step2:
7576
Set endpoint, tenant ID, and port 443 in flink-conf.yaml
7677
```
7778
user@MININT-481C9TJ:/mnt/c/Users/user/flink-cli$ cd conf
@@ -86,8 +87,7 @@ Get cluster endpoint(host or fqdn) on Azure portal.
8687
azure.tenant.id: <tenant ID>
8788
rest.port: 443
8889
```
89-
90-
1. Step3:
90+
1. Step3:
9191
Allowlist Local Windows public IP with port 443 with VPN enabled into HDInsight on AKS cluster Subnet's Network security inbound.
9292
9393
:::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":::
@@ -154,7 +154,7 @@ Get cluster endpoint(host or fqdn) on Azure portal.
154154
155155
Jars in Azure Data Lake Storage gen2 in Azure portal:
156156
157-
:::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":::
157+
:::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":::
158158
159159
1. Step6:
160160
@@ -211,7 +211,6 @@ Get cluster endpoint(host or fqdn) on Azure portal.
211211
| +I | 10003 | 2023-07-16 10:11:09.000000 | 3 | Sally | 25.00000 |
212212
213213
```
214-
215-
214+
216215
### Reference
217216
[Apache Flink® Command-Line Interface (CLI) on HDInsight on AKS clusters](./use-flink-cli-to-submit-jobs.md)

0 commit comments

Comments
 (0)