hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ted Yu <yuzhih...@gmail.com>
Subject Re: Not able to put Twitter4j.Place object attributes from scala application
Date Fri, 25 Jul 2014 16:22:20 GMT
The "Column family 'cf'  does not exist in region" error seemed to be
associated with openScanner request.

Does twitter_mobile_data contain such column family ?

bq. Bytes.toBytes("latitude information")

I guess the above is pseudo code. Can you give a real sample ?

Thanks


On Thu, Jul 24, 2014 at 8:03 PM, reddibabu <reddybabu.naidu@gmail.com>
wrote:

> Hi Ted,
> Thanks for responding my post.
>
> I am using HBase 0.94.15-cdh4.6.0. & same application can able to put
> twitter4j.Status and twitter4j.User attributes into hbase table. I have't
> seen any error messages on console. Few errors in hbase RegionServer logs
> as
> specified below...
>
> 2014-07-24 02:25:26,638 INFO
> org.apache.hadoop.hbase.regionserver.HRegionServer: Client tried to access
> missing scanner -1
> 2014-07-24 02:25:56,270 ERROR
> org.apache.hadoop.hbase.regionserver.HRegionServer: Failed openScanner
> org.apache.hadoop.hbase.regionserver.NoSuchColumnFamilyException: Column
> family 'cf'  does not exist in region
> twitter_mobile_data,,1404930369033.aa8c4d9370c3e8882beb81659734e2c0. in
> table 'twitter_mobile_data', {NAME => 'cf', DATA_BLOCK_ENCODING => 'NONE',
> BLOOMFILTER => 'NONE', REPLICATION_SCOPE => '0', COMPRESSION => 'NONE',
> VERSIONS => '3', TTL => '2147483647', MIN_VERSIONS => '0',
> KEEP_DELETED_CELLS => 'false', BLOCKSIZE => '65536', ENCODE_ON_DISK =>
> 'true', IN_MEMORY => 'false', BLOCKCACHE => 'true'}
>         at
> org.apache.hadoop.hbase.regionserver.HRegion.checkFamily(HRegion.java:5475)
>         at
> org.apache.hadoop.hbase.regionserver.HRegion.getScanner(HRegion.java:1814)
>         at
> org.apache.hadoop.hbase.regionserver.HRegion.getScanner(HRegion.java:1794)
>         at
>
> org.apache.hadoop.hbase.regionserver.HRegionServer.internalOpenScanner(HRegionServer.java:2567)
>         at
>
> org.apache.hadoop.hbase.regionserver.HRegionServer.openScanner(HRegionServer.java:2538)
>         at sun.reflect.GeneratedMethodAccessor23.invoke(Unknown Source)
>         at
>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:597)
>         at
>
> org.apache.hadoop.hbase.ipc.WritableRpcEngine$Server.call(WritableRpcEngine.java:323)
>         at
> org.apache.hadoop.hbase.ipc.HBaseServer$Handler.run(HBaseServer.java:1428)
>
>
> 2014-07-24 02:26:27,797 INFO
> org.apache.hadoop.hbase.regionserver.HRegionServer: Client tried to access
> missing scanner -1
> 2014-07-24 02:27:36,141 INFO
> org.apache.hadoop.hbase.regionserver.HRegionServer: Scanner
> 3395680567130916233 lease expired on region
> twitter_mobile_data,,1404930369033.aa8c4d9370c3e8882beb81659734e2c0.
> 2014-07-24 02:27:49,200 INFO
> org.apache.hadoop.hbase.regionserver.HRegionServer: Scanner
> 3463114407687997552 lease expired on region
> twitter_mobile_data,,1404930369033.aa8c4d9370c3e8882beb81659734e2c0.
> 2014-07-24 02:27:50,353 INFO
> org.apache.hadoop.hbase.regionserver.HRegionServer: Scanner
> -8911756666985052814 lease expired on region
> twitter_mobile_data,,1404930369033.aa8c4d9370c3e8882beb81659734e2c0.
> 2014-07-24 02:28:02,469 INFO
> org.apache.hadoop.hbase.regionserver.HRegionServer: Scanner
> 2586945861118350525 lease expired on region
> twitter_mobile_data,,1404930369033.aa8c4d9370c3e8882beb81659734e2c0.
> 2014-07-24 02:28:31,974 INFO
> org.apache.hadoop.hbase.regionserver.HRegionServer: Scanner
> 6246362279302788198 lease expired on region
> twitter_mobile_data,,1404930369033.aa8c4d9370c3e8882beb81659734e2c0.
> 2014-07-24 02:28:57,261 INFO
> org.apache.hadoop.hbase.regionserver.HRegionServer: Scanner
> 4048750095102992142 lease expired on region
> twitter_mobile_data,,1404930369033.aa8c4d9370c3e8882beb81659734e2c0.
> 2014-07-24 02:29:38,633 INFO
> org.apache.hadoop.hbase.regionserver.HRegionServer: Scanner
> 4557453676796441030 lease expired on region
> twitter_mobile_data,,1404930369033.aa8c4d9370c3e8882beb81659734e2c0.
> 2014-07-24 02:29:51,891 INFO
> org.apache.hadoop.hbase.regionserver.HRegionServer: Scanner
> -3356919412101426008 lease expired on region
> twitter_mobile_data,,1404930369033.aa8c4d9370c3e8882beb81659734e2c0.
> 2014-07-24 02:42:52,816 WARN org.apache.hadoop.ipc.HBaseServer: IPC Server
> listener on 60020: readAndProcess threw exception java.io.IOException:
> Connection reset by peer. Count of bytes read: 0
> java.io.IOException: Connection reset by peer
>         at sun.nio.ch.FileDispatcher.read0(Native Method)
>         at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:21)
>         at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:198)
>         at sun.nio.ch.IOUtil.read(IOUtil.java:171)
>         at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:243)
>         at
> org.apache.hadoop.hbase.ipc.HBaseServer.channelRead(HBaseServer.java:1798)
>         at
>
> org.apache.hadoop.hbase.ipc.HBaseServer$Connection.readAndProcess(HBaseServer.java:1181)
>         at
>
> org.apache.hadoop.hbase.ipc.HBaseServer$Listener.doRead(HBaseServer.java:750)
>         at
>
> org.apache.hadoop.hbase.ipc.HBaseServer$Listener$Reader.doRunLoop(HBaseServer.java:541)
>         at
>
> org.apache.hadoop.hbase.ipc.HBaseServer$Listener$Reader.run(HBaseServer.java:516)
>         at
>
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>         at
>
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>         at java.lang.Thread.run(Thread.java:662)
>
>
>
>
>
> --
> View this message in context:
> http://apache-hbase.679495.n3.nabble.com/Not-able-to-put-Twitter4j-Place-object-attributes-from-scala-application-tp4061914p4061944.html
> Sent from the HBase User mailing list archive at Nabble.com.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message