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
1. Enable Azure Monitor Agent Integration with Log Analytics and select your workspace (existing workspace when you're migrating from your previous image to newer image)
87
+
1. Enable Azure Monitor Agent Integration with Log Analytics and select your workspace (existing workspace when you're migrating from your previous image to newer image).
88
88
89
89
1. Once you confirm the workspace selection, precondition steps commence.
1. Select Save once precondition steps are complete.
93
+
1. Select Save once precondition steps are complete.
94
+
95
+
### Enable Azure Monitor Agent logging for Spark cluster
96
+
97
+
Azure HDInsight Spark clusters control AMA integration using a Spark configuration `spark.hdi.ama.enabled`, by default the value is set to false. This configuration controls whether the Spark specific logs will come up in the Log Analytics workspace. If you want to enable AMA in your Spark clusters and retrieve the Spark event logs in their LA workspaces, you need to perform an additional step to enable AMA for spark specific logs.
98
+
99
+
The following steps describe how customers can enable the new Azure Monitor Agent logging for their spark workloads.
100
+
101
+
1. Go to Ambari -> Spark Configs.
102
+
103
+
1. Navigate to **Custom Spark defaults** and search for config `spark.hdi.ama.enabled`, the default value of this config will be false. Set this value as **true**.
104
+
105
+
:::image type="content" source="./media/azure-monitor-agent/enable-spark.png" alt-text="Screenshot showing how to enable Azure Monitor Agent logging for Spark cluster." border="true" lightbox="./media/azure-monitor-agent/enable-spark.png":::
106
+
107
+
1. Click **save** and restart Spark services on all nodes.
0 commit comments