Code Monkey home page Code Monkey logo

Comments (4)

tsuna avatar tsuna commented on August 17, 2024

Thanks to your hint in #17, I can reproduce this one too. Hold on.

from asynchbase.

tsuna avatar tsuna commented on August 17, 2024

Can you please test the fix above I pushed to my fork?

from asynchbase.

saintstack avatar saintstack commented on August 17, 2024

Do you want to post the list or file an issue? Say what versions you
are running. I wonder if you can do a unit test w/ the below? It
looks like something dumb -- as you say, if only deletes.

Good one,
St.Ack

On Tue, Feb 21, 2012 at 9:15 AM, ylangisc
[email protected]
wrote:

When serializing a MultiAction containing DeleteRequests only I get the exception below. I did not test it with other batchable requests.

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)

Reply to this email directly or view it on GitHub:
https://github.com/stumbleupon/asynchbase/issues/18

from asynchbase.

ylangisc avatar ylangisc commented on August 17, 2024

All my tests were successful. Thanks for fixing it!

On Feb 21, 2012, at 6:36 PM, Benoit Sigoure wrote:

Can you please test the fix above I pushed to my fork?


Reply to this email directly or view it on GitHub:
https://github.com/stumbleupon/asynchbase/issues/18#issuecomment-4079704

from asynchbase.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.