Uploaded image for project: 'Flume'
  1. Flume
  2. 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!"

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.4.0, 1.3.1
    • Fix Version/s: None
    • Component/s: None
    • Environment:

      Flume 1.3.1 and Hbase 0.96.0

      Description

      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

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                Nisanth Nisanth
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: