[
https://issues.apache.org/jira/browse/HIVE-12783?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15092242#comment-15092242
]
Owen O'Malley commented on HIVE-12783:
--------------------------------------
*sigh* yes.
The problem fundamentally comes in because there are two conflicting artifacts:
<groupId>javax.servlet</groupId>
<artifactId>servlet-api</artifactId>
and
<groupId>org.eclipse.jetty.orbit</groupId>
<artifactId>javax.servlet</artifactId>
Spark requires the eclipse version, but most other tools including jetty and
hadoop depend on the java one, but work with either. Since common depends on
jetty, I needed to exclude the java one from jetty's dependencies, but the unit
tests failed without one of them. Therefore I needed to add in the one that
spark works with.
> fix the unit test failures in TestSparkClient and TestSparkSessionManagerImpl
> -----------------------------------------------------------------------------
>
> Key: HIVE-12783
> URL: https://issues.apache.org/jira/browse/HIVE-12783
> Project: Hive
> Issue Type: Sub-task
> Components: Test
> Affects Versions: 2.0.0
> Reporter: Pengcheng Xiong
> Assignee: Owen O'Malley
> Priority: Blocker
> Attachments: HIVE-12783.patch, HIVE-12783.patch
>
>
> This includes
> {code}
> org.apache.hive.spark.client.TestSparkClient.testSyncRpc
> org.apache.hive.spark.client.TestSparkClient.testJobSubmission
> org.apache.hive.spark.client.TestSparkClient.testMetricsCollection
> org.apache.hive.spark.client.TestSparkClient.testCounters
> org.apache.hive.spark.client.TestSparkClient.testRemoteClient
> org.apache.hive.spark.client.TestSparkClient.testAddJarsAndFiles
> org.apache.hive.spark.client.TestSparkClient.testSimpleSparkJob
> org.apache.hive.spark.client.TestSparkClient.testErrorJob
> org.apache.hadoop.hive.ql.exec.spark.session.TestSparkSessionManagerImpl.testMultiSessionMultipleUse
> org.apache.hadoop.hive.ql.exec.spark.session.TestSparkSessionManagerImpl.testSingleSessionMultipleUse
> {code}
> all of them passed on my laptop. cc'ing [~szehon], [~xuefuz], could you
> please take a look? Shall we ignore them? Thanks.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)