GitHub user kautshukla opened a pull request:
https://github.com/apache/hive/pull/489
[SequenceFile]: java.lang.ClassCastException:
org.apache.hadoop.io.ByteWritable cannot be cast to org.apache.hadoop.io.Text
Check writable instance and then create Text object.
In sequence file format which writes in key:
org.apache.hadoop.io.LongWritable & value: org.apache.hadoop.io.BytesWritable
throws **java.lang.ClassCastException:** **org.apache.hadoop.io.ByteWritable**
cannot be cast to **org.apache.hadoop.io.Text.**
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/kautshukla/hive master
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/hive/pull/489.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #489
----
commit 4b3eb7d8cae26d5ea08fd57fc1199102086da0bf
Author: kautshukla <kauts.shukla@...>
Date: 2018-11-20T15:37:33Z
{SequenceFileFormat} Instance check to handle cast exception from
bytewritable to text
----
---