[Friday Labs] Mesos, ElasticSearch, MongoDB, Cassandra, HDFS are in a box...

2015-06-05 Thread Samuel Cozannet
Hi All,

Have you ever dreamt of running a full *Mesos* cluster but never had the
time to play with it?
Better, a Mesos cluster running Spark code on *Cassandra*?
Or wait. Maybe I'd also like to have it in *ElasticSearch AND Cassandra*.
Hmm, now we're talking!
*Aerospike* is really fast, I'd also like to have it.
At the same time, for the data lake, you're running *Hadoop* in prod, so
you'd also like to dump your stuff there.
While we are at it, *MongoDB* is nice as well, and our devs could use that
for the node.js apps.
Or maybe you don't want to choose, and you want them ALL at the same time.

You're 20 lines away from having your dream become true. Keep reading.
Spoiler: As you're all Juju users, you're also 35min away from having it
running for real in HA in your preferred cloud

A month ago I attended Strata+Hadoop in London, and I discovered a pretty
awesome piece of technology called Stratio (www.stratio.com)

Stratio is an open source Big Data analytics platform based on Spark. It
uses a data pipeline built on Kafka and Flume, backed by one or more of
Cassandra, MongoDB, ElasticSearch, HDFS or Aerospike (WIP) for the
resilient storage.
Analytics is provided by running Spark either in Standalone or in a Mesos
cluster, managed by ZooKeeper.

The ultimate version of Stratio is called Sparkta, and offers the ability
to describe data processing with a very simple JSON language that tells
input, output, processing to apply etc... (6 words only). Sparkta is due
for GA sometime this month.

Stratio deployer is based on Chef running from a specific node (Stratio
Admin). Hence charming the whole thing was pretty easy as the charm is a
wrapper around the chef based deployer, as if Juju was only managing the
resources and specifying them to Chef Server. Each node is built depending
on the relation that's created with the admin node (ZK, Mesos...).

I also designed 4 reference architectures based on each of the storage
backends. Each reference arch has:
* 1x Stratio Admin (there is no HA yet)
* 3x ZooKeeper
* 2x Mesos Master
* 3 instances of storage, also running Mesos Slaves for data locality. For
HDFS, it's actually 8 nodes (3x data, 3x journal, 2x name)

The code repositories lie in GitHub, but I push version to Launchpad at the
same time in my personal namespace (samuel-cozannet)

* Bundles: https://github.com/SaMnCo/bundle-stratio
* Charms:
  * Admin: https://github.com/SaMnCo/charm-stratio-admin
  * Node: https://github.com/SaMnCo/charm-stratio-node
* Discussion tracker:
https://groups.google.com/forum/?hl=fr#!topic/stratio-admin/KCth-xqZdM4

Next Steps:
* Clean up the code, make it faster (~35min deployment for now, should use
the framework to fasten that up)
* Add a demo use case, with Spark code that runs out of the box
* Charm Sparkta when it's ready. There is little documentation yet as the
project itself if really young. I'll be working with Stratio to make it
happen, hopefully supported by them over time.
* Charm Sparkta dashboard that shows results of analytics

Any feedback/questions more than welcome. I hope you'll find this platform
or some of its components useful. Stratio people are very nice and answer
quickly to questions, don't hesitate to reach out to them.

Best,
Samuel

--
Samuel Cozannet
Cloud, Big Data and IoT Strategy Team
Business Development - Cloud and ISV Ecosystem
Changing the Future of Cloud
Ubuntu http://ubuntu.com  / Canonical UK LTD http://canonical.com / Juju
https://jujucharms.com
samuel.cozan...@canonical.com
mob: +33 616 702 389
skype: samnco
Twitter: @SaMnCo_23
-- 
Juju mailing list
Juju@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju


[Review Queue] ntp, mongodb

2015-06-05 Thread Tim Van Steenburgh
Merged fixes:

https://code.launchpad.net/~paulgear/charms/trusty/ntp/fix-trusty-exceptions-psutil-1.2.x/+merge/260080
https://code.launchpad.net/~verterok/charms/trusty/mongodb/fix-data_directory-migration/+merge/260290
-- 
Juju mailing list
Juju@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju


Re: Charmers application

2015-06-05 Thread Charles Butler
Adam!

I give a huge +1 to this. The deltas on his reviews and me following
through has been extremely low. I spent quite a while following your
breadcrumb trail of initial +1's and they have been excellent with only 2
charms that I ran into a diff on the review. His efforts have really
emobided our tenants of being adroit, reliable, and very precise in
execution.

I also have worked in hand with you over the non-linux enablement story
with vagrant and docker containers. Your contributions in this area really
helped push the mission of juju on other platforms where I blazed a trail
w/ others, you pop-riveted a solid structure.

The only minor nit i have in my review, is i don't see any charms in the
store under your maintainership - but this in the grand scheme of your
resume is very minor, and will come when you've got a contribution you feel
is ready.

Best of luck, and congrats. I do believe with my +1 this cements a quorum
to begin inductions.




Charles Butler charles.but...@canonical.com - Juju Charmer
Come see the future of datacenter orchestration: http://jujucharms.com

On Thu, Jun 4, 2015 at 3:01 PM, Adam Israel adam.isr...@canonical.com
wrote:

 Hello Charmers!

 A wikified version of my credentials can be found here:
 https://wiki.ubuntu.com/AdamIsrael

 The slightly shorter version:

 I've been working with and contributing to the Juju ecosystem for a
 little less than a year now. In that time, I've been a valued member of
 the team, performing reviews of incoming charms and merge proposals,
 tracking down bugs that impact performance, usability and functionality
 of tools across the ecosystem.

 I've dedicated to improving the developer experience; I've made
 significant improvements to the OS X developer workflow story, working
 with the team that maintains the Vagrant images, rewriting large
 portions of related documentation, and making sure that the available
 tools (brew) are current.

 I've authored several charms, including reddit, mysql-benchmark, and
 siege, and the support library for benchmarking, charm-benchmark.

 Feel free to ask me any questions, and thank you in advance for
 considering this application to join ~Charmers.

 --
 Juju-dev mailing list
 juju-...@lists.ubuntu.com
 Modify settings or unsubscribe at:
 https://lists.ubuntu.com/mailman/listinfo/juju-dev

-- 
Juju mailing list
Juju@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju


[Review Queue] ibm-mq

2015-06-05 Thread Matt Bruzek
I reviewed the IBM MQ charm again.  The charm is making incremental steps
toward the store, but since the tests failed and other issues found in this
review I could not push this charm.  Read more about it here:

https://bugs.launchpad.net/charms/+bug/1432489

   - Matt Bruzek matthew.bru...@canonical.com
-- 
Juju mailing list
Juju@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju