Skip to content

Commit ef76dae

Browse files
Merge pull request #251456 from v-akarnase/patch-8
Update interactive-query-troubleshoot-hive-logs-diskspace-full-headno…
2 parents bdc3b33 + 95c4386 commit ef76dae

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

articles/hdinsight/interactive-query/interactive-query-troubleshoot-hive-logs-diskspace-full-headnodes.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ ms.service: hdinsight
55
ms.topic: troubleshooting
66
author: reachnijel
77
ms.author: nijelsf
8-
ms.date: 07/19/2022
8+
ms.date: 09/18/2023
99
---
1010

1111
# Scenario: Apache Hive logs are filling up the disk space on the head nodes in Azure HDInsight
@@ -14,14 +14,14 @@ This article describes troubleshooting steps and possible resolutions for proble
1414

1515
## Issue
1616

17-
In a HDI 4.0 Apache Hive/LLAP cluster, unwanted logs are taking up the entire disk space on the head nodes. This condition could cause the following problems:
17+
In an HDI 4.0 Apache Hive/LLAP cluster, unwanted logs are taking up the entire disk space on the head nodes. This condition could cause the following problems:
1818

1919
- SSH access fails because no space is left on the head node.
2020
- HiveServer2 Interactive fails to restart.
2121

2222
## Cause
2323

24-
Automatic hive log deletion is not configured in the advanced hive-log4j2 configurations. The default size limit of 60GB takes too much space for the customer's usage pattern. By default, the amount of logs kept is defined by this equation `MB logs/day = appender.RFA.strategy.max * 10MB`.
24+
Automatic hive log deletion is not configured in the advanced hive-log4j2 configurations. The default size limit of 60-GB takes too much space for the customer's usage pattern. By default, the number of logs kept is defined by this equation `MB logs/day = appender.RFA.strategy.max * 10MB`.
2525

2626
## Resolution
2727

@@ -45,7 +45,7 @@ Automatic hive log deletion is not configured in the advanced hive-log4j2 config
4545
#appender.RFA.strategy.action.condition.nested_condition.lastMod.age = 30D
4646
```
4747
48-
4. We will go through three basic options with deletion based on:
48+
4. Go through three basic options with deletion based on:
4949
- **Total Size**
5050
- Change `appender.RFA.strategy.action.condition.nested_condition.fileSize.exceeds` to a size limit of your choice.
5151
@@ -62,7 +62,7 @@ Automatic hive log deletion is not configured in the advanced hive-log4j2 config
6262
```
6363
6464
- **Combination of Total Size and Date**
65-
- You can combine both options by uncommenting like below. The log4j2 will then behave as so: Start deleting logs when either condition is met.
65+
- You can combine both options by uncommenting. The log4j2 will then behave as so: Start deleting logs when either condition is met.
6666
6767
```
6868
# Deletes logs based on total accumulated size, keeping the most recent

0 commit comments

Comments
 (0)