You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@flume.apache.org by George Pang <p0...@gmail.com> on 2013/10/29 06:26:28 UTC

Fwd: no hbase columns key in the context map

I got  "java.lang.NullPointerException" on this line in a custom serializer:
 String cols = new String(context.getString("columns"));

This is in a Serializer for HBase. I place the jar of this class in the
flume lib folder, don't know why there is no columns key in the context map?

Your suggestion or help will be appreciated!

George

Re: no hbase columns key in the context map

Posted by George Pang <p0...@gmail.com>.
Found the error, it's a typo in the configuration.

George


On Mon, Oct 28, 2013 at 10:26 PM, George Pang <p0...@gmail.com> wrote:

>
> I got  "java.lang.NullPointerException" on this line in a custom
> serializer:
>  String cols = new String(context.getString("columns"));
>
> This is in a Serializer for HBase. I place the jar of this class in the
> flume lib folder, don't know why there is no columns key in the context map?
>
> Your suggestion or help will be appreciated!
>
> George
>
>
>
>