First step would be to identify the livy Session ID.
Refer the image above, highlighted number would be the livy Session ID. You can retrieve the livy session details by a forming the below URL.
<
clusterName>
.azurehdinsight.net/livy/sessions/<
ID>
/statementsI could access the livy session created on my cluster by browsing to https://kcsparkxyz.azurehdinsight.net/livy/sessions/5/statements
/ 20170803162406
// https://kcsparkxyz.azurehdinsight.net/livy/sessions/5/statements
{
"total_statements": 3,
"statements": [
{
"id": 0,
"state": "available",
"output": {
"status": "ok",
"execution_count": 0,
"data": {
"text/plain": "<pyspark.sql.session.SparkSession object at 0x7f8bd3f000f0>"
}
}
},
{
"id": 2,
"state": "available",
"output": {
"status": "ok",
"execution_count": 1,
"data": {
"text/plain": ">>> START : 2017/08/03 23:23:54"
}
}
}
]
}