AsyncKudu

2018-04-09 Thread José Ribeiro
Hello, I'm having difficulties in the AsyncKudu API. Since there isn't any valuable examples with asynchronous kudu client, can you please help me in this example? I want to use AsyncKudu to write in the kudu database. The steps i want to use are: 1. verify that the table exists; 2. if

Re: AsyncKudu

2018-04-09 Thread Dan Burkert
Hi José, The Deferred class is indeed pretty difficult to come to grips with, which is why we don't really recommend the async API for most use cases. I've personally found the Deferred class docs to be pretty useful when getting u

Re: AsyncKudu

2018-04-09 Thread José Ribeiro
Thank you for the reply. But I got it to write on Kudu. Still, I don't know why, but I get this error: "java.lang.AssertionError: Tried to resume the execution of Deferred@2021942318(state=DONE, result=true, callback=, errback=)) although it's not in state=PAUSED. This occurred after the comp

Re: AsyncKudu

2018-04-09 Thread Dan Burkert
Hi José, I would consider doing this a little bit differently. The only circumstances I'm aware of where it's necessary to use the async session is when you are attempting to write to Kudu from another async context where you can't block, and you need to handle the results of the write. That doe

Re: Kudu silently failing to set nullable column

2018-04-09 Thread Adar Lieber-Dembo
This sounds like an Impala bug to me. http://issues.cloudera.org/browse/IMPALA-5217 seems relevant. Since you're using Cloudera's distribution of Impala, I took a look at Cloudera's release notes, and that bug was fixed in CDH 5.12.0, 5.11.2, and 5.10.2. So it makes sense that your Impala would be