Description
After SPARK-33705, we now happened to have two jars in the release artifact with Hadoop 3:
dev/deps/spark-deps-hadoop-3.2-hive-2.3:
... jakarta.servlet-api/4.0.3//jakarta.servlet-api-4.0.3.jar ... javax.servlet-api/3.1.0//javax.servlet-api-3.1.0.jar ...
It can potentially cause an issue, and we should better remove javax.servlet-api-3.1.0.jar which is apparently only required for YARN tests.