You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Set endpoint, tenant ID, and port 443 in flink-conf.yaml
74
+
1. Set endpoint, tenant ID, and port 443 in flink-conf.yaml
77
75
```
78
76
user@MININT-481C9TJ:/mnt/c/Users/user/flink-cli$ cd conf
79
77
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.
87
85
azure.tenant.id: <tenant ID>
88
86
rest.port: 443
89
87
```
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.
92
89
93
90
:::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":::
94
91
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.
97
93
98
94
```
99
95
bin/sql-client.sh gateway --endpoint <fqdn>:443
@@ -148,17 +144,14 @@ Get cluster endpoint(host or fqdn) on Azure portal.
148
144
Command history file path: /home/user/.flink-sql-history
149
145
```
150
146
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.
153
148
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.
154
149
155
150
Jars in Azure Data Lake Storage gen2 in Azure portal:
156
151
157
152
:::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":::
158
153
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.
0 commit comments