Skip to content

Commit 920e7f7

Browse files
authored
Merge pull request #109846 from dagiro/hadoop2
hadoop2
2 parents 3a5a9b9 + 3805e39 commit 920e7f7

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

articles/hdinsight/hdinsight-hadoop-customize-cluster-bootstrap.md

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
---
22
title: Customize Azure HDInsight cluster configurations using bootstrap
3-
description: Learn how to customize HDInsight cluster configuration programmatically using .Net, PowerShell, and Resource Manager templates.
3+
description: Learn how to customize HDInsight cluster configuration programmatically using .NET, PowerShell, and Resource Manager templates.
44
author: hrasheed-msft
55
ms.author: hrasheed
66
ms.reviewer: jasonh
77
ms.service: hdinsight
88
ms.topic: conceptual
99
ms.custom: hdinsightactive
10-
ms.date: 11/21/2019
10+
ms.date: 04/01/2020
1111
---
1212

1313
# Customize HDInsight clusters using Bootstrap
@@ -121,6 +121,18 @@ You can use bootstrap in Resource Manager template:
121121

122122
![Hadoop customizes cluster bootstrap Azure Resource Manager template](./media/hdinsight-hadoop-customize-cluster-bootstrap/hdinsight-customize-cluster-bootstrap-arm.png)
123123

124+
Sample Resource Manager template snippet to switch configuration in spark2-defaults to periodically clean up event logs from storage.
125+
126+
```json
127+
"configurations": {
128+
"spark2-defaults": {
129+
"spark.history.fs.cleaner.enabled": "true",
130+
"spark.history.fs.cleaner.interval": "7d",
131+
"spark.history.fs.cleaner.maxAge": "90d"
132+
}
133+
}
134+
```
135+
124136
## See also
125137

126138
* [Create Apache Hadoop clusters in HDInsight](hdinsight-hadoop-provision-linux-clusters.md) provides instructions on how to create an HDInsight cluster by using other custom options.

0 commit comments

Comments
 (0)