Comments (7)
Interesting, it looks like the RegionServer is trying to deserialize attributes, but asynchbase doesn't send any, so that shouldn't happen.
The good news is that I can reproduce this, so the fix should be easy.
from asynchbase.
Thanks for the bug report, this is fixed by StumbleUponArchive/asynchbase@7100f8a
It was a stupid mistake due to the fact that, surprisingly, I never tested a multi
RPC composed solely of DeleteRequest
. I always had a mix of DeleteRequest
and PutRequest
.
from asynchbase.
Thanks for the quick fix. I'm just going to test it.
On Feb 21, 2012, at 8:25 AM, Benoit Sigoure wrote:
Thanks for the bug report, this is fixed by StumbleUponArchive/asynchbase@7100f8a
It was a stupid mistake due to the fact that, surprisingly, I never tested a
multi
RPC composed solely ofDeleteRequest
. I always had a mix ofDeleteRequest
andPutRequest
.
Reply to this email directly or view it on GitHub:
https://github.com/stumbleupon/asynchbase/issues/17#issuecomment-4070268
from asynchbase.
There seems to be another issue while serializing a MultiAction:
2012-02-21 09:10:56,691 [Hashed wheel timer #1] ERROR org.hbase.async.RegionClient - Uncaught exception while serializing RPC: MultiAction(batch=[DeleteRequest(table="combined", key=[105, 40, 52, -7, 0, 20, 0, 40, 0, 0, 7, -37, 0, 0, 20, 0, 0, 17], family="", qualifiers=[""], attempt=1, region=RegionInfo(table="combined", region_name="combined,,1329815372745.c2db59a7b6d03d18ba5a6bb5b121e1ea.", stop_key="")), DeleteRequest(table="daily", key=[105, 40, 52, -7, 0, 20, 0, 0, 7, -37, 0, 0, 20], family="", qualifiers=[""], attempt=1, region=RegionInfo(table="daily", region_name="daily,,1329815370711.710c0961e6a4da8db3ac2aac6553bafa.", stop_key=""))])
java.lang.ArrayIndexOutOfBoundsException: -1
at org.jboss.netty.buffer.BigEndianHeapChannelBuffer.setInt(BigEndianHeapChannelBuffer.java:103)
at org.hbase.async.MultiAction.serialize(MultiAction.java:363)
at org.hbase.async.RegionClient.encode(RegionClient.java:997)
at org.hbase.async.RegionClient.sendRpc(RegionClient.java:750)
at org.hbase.async.RegionClient.periodicFlush(RegionClient.java:236)
at org.hbase.async.RegionClient.access$000(RegionClient.java:82)
at org.hbase.async.RegionClient$1.run(RegionClient.java:174)
at org.jboss.netty.util.HashedWheelTimer$HashedWheelTimeout.expire(HashedWheelTimer.java:521)
at org.jboss.netty.util.HashedWheelTimer$Worker.notifyExpiredTimeouts(HashedWheelTimer.java:440)
at org.jboss.netty.util.HashedWheelTimer$Worker.run(HashedWheelTimer.java:379)
at org.jboss.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:108)
at java.lang.Thread.run(Thread.java:662)
from asynchbase.
Can you open a new issue please?
from asynchbase.
It appears that you're trying to use an empty column family name. I don't think HBase supports it. I'll check with HBase devs today. If it's not allowed, I'll have asynchbase throw an exception back.
from asynchbase.
I use following method
public DeleteRequest(final byte[] table, final byte[] key) {
this(table, key, null, null, KeyValue.TIMESTAMP_NOW, RowLock.NO_LOCK);
}
Using this method you set the family to
static final byte[] WHOLE_ROW = new byte[0];
from asynchbase.
Related Issues (20)
- Asynchbase MultiAction deserializes response from batch putRequest incorrectly HOT 1
- PR build failed with Java environment error HOT 1
- AssertionError: "Must not be used." HOT 1
- IN version2.3.0 HOT 1
- An exception was thrown by TimerTask. java.lang.OutOfMemoryError: Java heap space HOT 1
- Should buffering gets be possible? HOT 1
- When a scanner lease expires, it will retry request same regionserver endless. RS too busy! HOT 16
- can't set async wal?
- Mutation Attributes support
- Appends with no returns and few errors can break deserialization
- Can't re-write data correctly HOT 1
- Can you open chat room
- Why ConnectionResetException happen? HOT 1
- SparkStreaming with mapPartitions use client find error ”Too many open files“ HOT 1
- Comparison method violates its general contract
- org.hbase.async.NonRecoverableException: Too many attempts: OpenScannerRequest HOT 1
- How do i use the PageFilter
- Broken pipe error with "hbase.rpc.protection: privacy" HOT 1
- Can this support the kerberos authentication of hbase 2.2 HOT 1
- Not able to create jar
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from asynchbase.