Can you try changing classOf[OutputFormat[String,
BoxedUnit]] to classOf[OutputFormat[String,
Put]] while configuring hconf?
On Sat, Oct 17, 2015, 11:44 AM Amit Hora wrote:
> Hi,
>
> Regresta for delayed resoonse
> please find below full stack trace
>
> ava.lang.ClassCastException: scala.runtime
Hi,
Regresta for delayed resoonse
please find below full stack trace
ava.lang.ClassCastException: scala.runtime.BoxedUnit cannot be cast to
org.apache.hadoop.hbase.client.Mutation
at
org.apache.hadoop.hbase.mapreduce.TableOutputFormat$TableRecordWriter.write(TableOutputFormat.java:85)
at
Can you show the complete stack trace ?
Subclass of Mutation is expected. Put is a subclass.
Have you tried replacing BoxedUnit with Put in your code ?
Cheers
On Fri, Oct 16, 2015 at 6:02 AM, Amit Singh Hora
wrote:
> Hi All,
>
> I am using below code to stream data from kafka to hbase ,everyt