[
https://issues.apache.org/jira/browse/HIVE-18436?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16391477#comment-16391477
]
Sahil Takiar commented on HIVE-18436:
-------------------------------------
Test changes are due to the Netty upgrade. Netty upgrade is necessary because
Spark upgraded its Netty version, and without the Netty upgrade some of the
{{spark-client}} tests were failing.
In Netty 4.0 {{EmbeddedChannel#readOutbound}} returns {{java.lang.Object}}
while Netty 4.1 {{#readOutbound}} returns {{<T> T}}. The method
{{EmbeddedChannel#writeInbound(Object ...)}} takes in an array of objects as a
parameter (that hasn't changed between versions).
At runtime, {{EmbeddedChannel#readOutbound}} won't return an array, it will
return a single object, so casting it into an array causes an exception. The
fix is to cast it to an {{Object}} and then pass it to {{#writeInbound}}.
> Upgrade to Spark 2.3.0
> ----------------------
>
> Key: HIVE-18436
> URL: https://issues.apache.org/jira/browse/HIVE-18436
> Project: Hive
> Issue Type: Task
> Components: Spark
> Reporter: Sahil Takiar
> Assignee: Sahil Takiar
> Priority: Major
> Attachments: HIVE-18436.1.patch, HIVE-18436.2.patch,
> HIVE-18436.3.patch
>
>
> Branching has been completed. Release candidates should be published soon.
> Might be a while before the actual release, but at least we get to identify
> any issues early.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)