This is an automated email from the ASF dual-hosted git repository.
ggal pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-livy.git
The following commit(s) were added to refs/heads/master by this push:
new 0efa2d7e [LIVY-1022][TEST] Update NM Disk utilization percentage for UT
0efa2d7e is described below
commit 0efa2d7e508c6d955cebe48a5159ffc3202e57a1
Author: Arnav Balyan <[email protected]>
AuthorDate: Tue Dec 2 01:27:42 2025 +0530
[LIVY-1022][TEST] Update NM Disk utilization percentage for UT
## What changes were proposed in this pull request?
* Currently Livy UT for `JobApiIT.scala` fails due to disk being 92% which
causes the node to be lost.
* Updated this to 100% for the UT to ensure the tests pass even if the
disk utilization is over 90%
* Closes LIVY-1022
## How was this patch tested?
* UT fails on master without this change
* This PR should allow UT to go through
---
.../src/main/scala/org/apache/livy/test/framework/MiniCluster.scala | 1 +
1 file changed, 1 insertion(+)
diff --git
a/integration-test/src/main/scala/org/apache/livy/test/framework/MiniCluster.scala
b/integration-test/src/main/scala/org/apache/livy/test/framework/MiniCluster.scala
index f1d51671..ed0ca612 100644
---
a/integration-test/src/main/scala/org/apache/livy/test/framework/MiniCluster.scala
+++
b/integration-test/src/main/scala/org/apache/livy/test/framework/MiniCluster.scala
@@ -98,6 +98,7 @@ object MiniYarnMain extends MiniClusterBase {
override protected def start(config: MiniClusterConfig, configPath: String):
Unit = {
val baseConfig = new YarnConfiguration()
+
baseConfig.setFloat(YarnConfiguration.NM_MAX_PER_DISK_UTILIZATION_PERCENTAGE,
100.0f)
val yarnCluster = new MiniYARNCluster(getClass().getName(), config.nmCount,
config.localDirCount, config.logDirCount)
yarnCluster.init(baseConfig)