Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
Flume >> mail # user >> Hbase Sink


Hello Prabhu,

           Sorry for the late response. Is your zookeeper running
properly? Is it where your shell expects it to be? Can you access
HBase's web ui on port 60010?

Regards,
    Mohammad Tariq
On Thu, Jul 19, 2012 at 8:17 PM, prabhu k <[EMAIL PROTECTED]> wrote:
> Hi Mohammad,
>
> After i export HBASE_HOME and CLASSPATH  flume-ng executed again, it seems
> keep on running, unexpectedly i have disconnected the session,
> and i checked the hbase demo table, i hit the command like
>
> scan 'demo'  getting like below.
>
> hbase(main):001:0> scan 'demo'
> ROW                                         COLUMN+CELL
> table view also keep on running, it's not exit the command. I then did
> ctrl+c.
>
>
> WARN client.ZooKeeperSaslClient: SecurityException:
> java.lang.SecurityException: Unable to locate a login configuration occurred
> when trying to find JAAS configuration.
>
> WARN zookeeper.RecoverableZooKeeper: Possibly transient ZooKeeper exception:
> org.apache.zookeeper.KeeperException$ConnectionLossException:
> KeeperErrorCode = ConnectionLoss for /hbase/master
>
> WARN client.ZooKeeperSaslClient: SecurityException:
> java.lang.SecurityException: Unable to locate a login configuration occurred
> when trying to find JAAS configuration.
>
>
>  WARN zookeeper.RecoverableZooKeeper: Possibly transient ZooKeeper
> exception: org.apache.zookeeper.KeeperException$ConnectionLossException:
> KeeperErrorCode = ConnectionLoss for /hbase/master
>
> WARN client.ZooKeeperSaslClient: SecurityException:
> java.lang.SecurityException: Unable to locate a login configuration occurred
> when trying to find JAAS configuration.
>
> ERROR zookeeper.ZooKeeperWatcher: hconnection Received unexpected
> KeeperException, re-throwing exception
> org.apache.zookeeper.KeeperException$ConnectionLossException:
> KeeperErrorCode = ConnectionLoss for /hbase/master
>
> ERROR client.HConnectionManager$HConnectionImplementation: Unexpected
> exception during initialization, aborting
> org.apache.zookeeper.KeeperException$ConnectionLossException:
> KeeperErrorCode = ConnectionLoss for /hbase/master
>
> attached the flume.log file, Please guide me how to fix this error.
>
> Thanks,
> Prabhu.
>
> On Thu, Jul 19, 2012 at 7:05 PM, Mohammad Tariq <[EMAIL PROTECTED]> wrote:
>>
>> Configuration looks fine. HBASE_HOME and CLASSPATH are also important.
>> Please check these once.
>>
>> Regards,
>>     Mohammad Tariq
>>
>>
>> On Thu, Jul 19, 2012 at 6:50 PM, prabhu k <[EMAIL PROTECTED]> wrote:
>> > Thanks for the quick response,
>> >
>> > Yes, i have exported HADOOP_HOME variable, anything needs to do?
>> >
>> > On Thu, Jul 19, 2012 at 6:41 PM, Mohammad Tariq <[EMAIL PROTECTED]>
>> > wrote:
>> >>
>> >> Hi Prabhu,
>> >>
>> >>    Have you exported HADOOP_HOME variable??
>> >>
>> >> Regards,
>> >>     Mohammad Tariq
>> >>
>> >>
>> >> On Thu, Jul 19, 2012 at 6:34 PM, prabhu k <[EMAIL PROTECTED]>
>> >> wrote:
>> >> > Hi Users,
>> >> >
>> >> > I have followed the below link for move the sample data to hbase
>> >> > sink. i
>> >> > then executed the below command, I am getting following error output.
>> >> > pasted the flume.log log file.
>> >> >
>> >> > Please suggest and help on this issue.
>> >> >
>> >> >
>> >> >
>> >> > http://cloudfront.blogspot.in/2012/06/how-to-move-data-into-hbase-table-using.html
>> >> >
>> >> > command
>> >> > ==========>> >> > bin/flume-ng agent -n hbase-agent -c conf/ -f conf/hbase-agent.conf
>> >> >
>> >> >
>> >> > hbase-agent.conf
>> >> > =================>> >> > 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 /usr/local/demo.txt
>> >> > hbase-agent.sources.tail.channels = ch1
>> >> > hbase-agent.sinks.sink1.type = org.apache.flume.sink.hbase.HBaseSink
>> >> > hbase-agent.sinks.sink1.channel = ch1
>> >> > hbase-agent.sinks.sink1.table = demo
>> >> > hbase-agent.sinks.sink1.columnFamily = cf
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB