You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flume.apache.org by "Nisanth (JIRA)" <ji...@apache.org> on 2014/05/01 15:20:18 UTC

[jira] [Created] (FLUME-2378) Ingesting the data to HBase using org.apache.flume.sink.hbase.AsyncHBaseSink Flume 1.3.1 throws "The znode for the -ROOT- region doesn't exist!"

Nisanth created FLUME-2378:
------------------------------

             Summary: Ingesting the data to HBase using org.apache.flume.sink.hbase.AsyncHBaseSink Flume 1.3.1 throws "The znode for the -ROOT- region doesn't exist!" 
                 Key: FLUME-2378
                 URL: https://issues.apache.org/jira/browse/FLUME-2378
             Project: Flume
          Issue Type: Bug
         Environment: Flume 1.3.1 and Hbase 0.96.0


            Reporter: Nisanth


We have Flume 1.3.1 and Hbase 0.96.0 and when tried to ingest data to HBase using org.apache.flume.sink.hbase.AsyncHBaseSink, I am getting the error as "The znode for the -ROOT- region doesn't exist!"

Flume config file:

hbase-agent.sources = tail
hbase-agent.sinks = sink1
hbase-agent.channels = ch1
hbase-agent.sources.tail.type = exec
hbase-agent.sources.tail.command = tail -F /opt/FlumeTesting/Demo.txt
hbase-agent.sources.tail.channels = ch1
hbase-agent.sinks.sink1.type = org.apache.flume.sink.hbase.AsyncHBaseSink
hbase-agent.sinks.sink1.channel = ch1
hbase-agent.sinks.sink1.table = demo
hbase-agent.sinks.sink1.columnFamily = cf
hbase-agent.sinks.sink1.serializer = org.apache.flume.sink.hbase.SimpleAsyncHbaseEventSerializer
hbase-agent.sinks.sink1.serializer.payloadColumn = col1
hbase-agent.sinks.sink1.serializer.keyType = timestamp
hbase-agent.sinks.sink1.serializer.rowPrefix = 1
hbase-agent.sinks.sink1.serializer.suffix = timestamp
hbase-agent.channels.ch1.type=memory

Error Detail:

20 Apr 2014 10:08:50,069 ERROR [lifecycleSupervisor-1-1-EventThread] (org.hbase.async.HBaseClient$ZKClient$2.processResult:2403)  - The znode for the -ROOT- region doesn't exist!
20 Apr 2014 10:08:51,089 ERROR [lifecycleSupervisor-1-1-EventThread] (org.hbase.async.HBaseClient$ZKClient$2.processResult:2403)  - The znode for the -ROOT- region doesn't exist!

Findings:
As part of HBASE-3171, the root region is dropped from HBase. Refer the link https://issues.apache.org/jira/browse/HBASE-3171
Flume is trying to access root region



--
This message was sent by Atlassian JIRA
(v6.2#6252)