This is an automated email from the ASF dual-hosted git repository.

lmccay 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 284467b9 LIVY-1029 modernize versions (#505)
284467b9 is described below

commit 284467b98b8f086cb3cf9a6813873141bced5dc2
Author: Edward Capriolo <[email protected]>
AuthorDate: Fri Jan 16 10:24:14 2026 -0500

    LIVY-1029 modernize versions (#505)
---
 pom.xml                                                               | 4 ++--
 .../org/apache/livy/server/recovery/ZooKeeperStateStoreSpec.scala     | 2 +-
 server/src/test/scala/org/apache/livy/utils/SparkYarnAppSpec.scala    | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/pom.xml b/pom.xml
index 4dc328e9..ccec33e6 100644
--- a/pom.xml
+++ b/pom.xml
@@ -150,8 +150,8 @@
     <apacheds.version>2.0.0.AM26</apacheds.version>
     <ldap-api.version>2.1.2</ldap-api.version>
 
-    <curator.version>2.7.1</curator.version>
-    <zookeeper.version>3.4.6</zookeeper.version>
+    <curator.version>5.9.0</curator.version>
+    <zookeeper.version>3.9.4</zookeeper.version>
 
     <!--
       Properties for the copyright header style checks. Modules that use the 
ASF header
diff --git 
a/server/src/test/scala/org/apache/livy/server/recovery/ZooKeeperStateStoreSpec.scala
 
b/server/src/test/scala/org/apache/livy/server/recovery/ZooKeeperStateStoreSpec.scala
index 7b17b24d..85d67855 100644
--- 
a/server/src/test/scala/org/apache/livy/server/recovery/ZooKeeperStateStoreSpec.scala
+++ 
b/server/src/test/scala/org/apache/livy/server/recovery/ZooKeeperStateStoreSpec.scala
@@ -88,7 +88,7 @@ class ZooKeeperStateStoreSpec extends FunSpec with 
LivyBaseUnitTestSuite {
 
         val createBuilder = mock[CreateBuilder]
         when(f.curatorClient.create()).thenReturn(createBuilder)
-        val p = mock[ProtectACLCreateModePathAndBytesable[String]]
+        val p = mock[ProtectACLCreateModeStatPathAndBytesable[String]]
         when(createBuilder.creatingParentsIfNeeded()).thenReturn(p)
 
         f.stateStore.set("key", 1.asInstanceOf[Object])
diff --git a/server/src/test/scala/org/apache/livy/utils/SparkYarnAppSpec.scala 
b/server/src/test/scala/org/apache/livy/utils/SparkYarnAppSpec.scala
index 36995c93..c38a2ee2 100644
--- a/server/src/test/scala/org/apache/livy/utils/SparkYarnAppSpec.scala
+++ b/server/src/test/scala/org/apache/livy/utils/SparkYarnAppSpec.scala
@@ -284,7 +284,7 @@ class SparkYarnAppSpec extends FunSpec with 
LivyBaseUnitTestSuite {
 
         val mockSparkSubmit = mock[LineBufferedProcess]
         when(mockSparkSubmit.isAlive).thenReturn(false)
-        when(mockSparkSubmit.exitValue).thenReturn(-1)
+        when(mockSparkSubmit.exitValue()).thenReturn(-1)
 
         val listener = new SparkAppListener {
           var nStateChanged = 0

Reply via email to