Skip to content

Commit 3647d25

Browse files
committed
freshness120
1 parent d2f449c commit 3647d25

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

articles/hdinsight/spark/apache-spark-livy-rest-interface.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,11 @@ curl -k --user "<hdinsight user>:<user password>" -v -H "Content-Type: applicati
4646
4747
## Get information on Livy Spark batches running on the cluster
4848
49-
```cmd
50-
curl -k --user "<hdinsight user>:<user password>" -v -X GET "https://<spark_cluster_name>.azurehdinsight.net/livy/batches"
51-
```
49+
Syntax:
50+
51+
```cmd
52+
curl -k --user "<hdinsight user>:<user password>" -v -X GET "https://<spark_cluster_name>.azurehdinsight.net/livy/batches"
53+
```
5254

5355
### Examples
5456

@@ -175,7 +177,7 @@ Perform the following steps:
175177
176178
You should see an output similar to the following snippet:
177179
178-
```cmd
180+
```output
179181
< HTTP/1.1 200 OK
180182
< Content-Type: application/json; charset=UTF-8
181183
< Server: Microsoft-IIS/8.5

0 commit comments

Comments
 (0)