hi

2016-04-10 Thread Darshan Singh



Re: Spark on Kudu

2016-04-10 Thread Benjamin Kim
Yes, we took Kudu for a test run using 0.6 and 0.7 versions. But, since it’s 
not “production-ready”, upper management doesn’t want to fully deploy it yet. 
They just want to keep an eye on it though. Kudu was so much simpler and easier 
to use in every aspect compared to HBase. Impala was great for the report 
writers and analysts to experiment with for the short time it was up. But, once 
again, the only blocker was the lack of Spark support for our Data 
Developers/Scientists. So, production-level data population won’t happen until 
then.

I hope this helps you get an idea where I am coming from…

Cheers,
Ben

> On Apr 10, 2016, at 11:08 AM, Jean-Daniel Cryans  wrote:
> 
> On Sun, Apr 10, 2016 at 12:30 AM, Benjamin Kim  > wrote:
> J-D,
> 
> The main thing I hear that Cassandra is being used as an updatable hot data 
> store to ensure that duplicates are taken care of and idempotency is 
> maintained. Whether data was directly retrieved from Cassandra for analytics, 
> reports, or searches, it was not clear as to what was its main use. Some also 
> just used it for a staging area to populate downstream tables in parquet 
> format. The last thing I heard was that CQL was terrible, so that rules out 
> much use of direct queries against it.
> 
> I'm no C* expert, but I don't think CQL is meant for real analytics, just 
> ease of use instead of plainly using the APIs. Even then, Kudu should beat it 
> easily on big scans. Same for HBase. We've done benchmarks against the 
> latter, not the former.
>  
> 
> As for our company, we have been looking for an updatable data store for a 
> long time that can be quickly queried directly either using Spark SQL or 
> Impala or some other SQL engine and still handle TB or PB of data without 
> performance degradation and many configuration headaches. For now, we are 
> using HBase to take on this role with Phoenix as a fast way to directly query 
> the data. I can see Kudu as the best way to fill this gap easily, especially 
> being the closest thing to other relational databases out there in 
> familiarity for the many SQL analytics people in our company. The other 
> alternative would be to go with AWS Redshift for the same reasons, but it 
> would come at a cost, of course. If we went with either solutions, Kudu or 
> Redshift, it would get rid of the need to extract from HBase to parquet 
> tables or export to PostgreSQL to support more of the SQL language using by 
> analysts or the reporting software we use..
> 
> Ok, the usual then *smile*. Looks like we're not too far off with Kudu. Have 
> you folks tried Kudu with Impala yet with those use cases?
>  
> 
> I hope this helps.
> 
> It does, thanks for nice reply.
>  
> 
> Cheers,
> Ben 
> 
>> On Apr 9, 2016, at 2:00 PM, Jean-Daniel Cryans > > wrote:
>> 
>> Ha first time I'm hearing about SMACK. Inside Cloudera we like to refer to 
>> "Impala + Kudu" as Kimpala, but yeah it's not as sexy. My colleagues who 
>> were also there did say that the hype around Spark isn't dying down.
>> 
>> There's definitely an overlap in the use cases that Cassandra, HBase, and 
>> Kudu cater to. I wouldn't go as far as saying that C* is just an interim 
>> solution for the use case you describe.
>> 
>> Nothing significant happened in Kudu over the past month, it's a storage 
>> engine so things move slowly *smile*. I'd love to see more contributions on 
>> the Spark front. I know there's code out there that could be integrated in 
>> kudu-spark, it just needs to land in gerrit. I'm sure folks will happily 
>> review it.
>> 
>> Do you have relevant experiences you can share? I'd love to learn more about 
>> the use cases for which you envision using Kudu as a C* replacement.
>> 
>> Thanks,
>> 
>> J-D
>> 
>> On Fri, Apr 8, 2016 at 12:45 PM, Benjamin Kim > > wrote:
>> Hi J-D,
>> 
>> My colleagues recently came back from Strata in San Jose. They told me that 
>> everything was about Spark and there is a big buzz about the SMACK stack 
>> (Spark, Mesos, Akka, Cassandra, Kafka). I still think that Cassandra is just 
>> an interim solution as a low-latency, easily queried data store. I was 
>> wondering if anything significant happened in regards to Kudu, especially on 
>> the Spark front. Plus, can you come up with your own proposed stack acronym 
>> to promote?
>> 
>> Cheers,
>> Ben
>> 
>> 
>>> On Mar 1, 2016, at 12:20 PM, Jean-Daniel Cryans >> > wrote:
>>> 
>>> Hi Ben,
>>> 
>>> AFAIK no one in the dev community committed to any timeline. I know of one 
>>> person on the Kudu Slack who's working on a better RDD, but that's about it.
>>> 
>>> Regards,
>>> 
>>> J-D
>>> 
>>> On Tue, Mar 1, 2016 at 11:00 AM, Benjamin Kim >> > wrote:
>>> Hi J-D,
>>> 
>>> Quick question… Is there an