Re: CephFS Backend for Hadoop

2017-07-26 Thread Patrizio Bassi
2017-07-26 9:17 GMT+02:00 Mark Shuttleworth : > On 26/07/17 07:14, Patrizio Bassi wrote: > > Deploying hadoop via juju in an openstack tenant requires a separate model > (as far as i could design it). > So we may use the new juju 2.2 cross model relation to relate the hadoop > charms to the openst

Is a set state called multiple times?

2017-07-26 Thread fengxia
Hi Juju, Once I set a state, set_state("here"), I want to make sure its @when will only be executed ONCE (when "here" from False->True). So my thought is to remove_state("here") in its @when("here") code block. If I don't, will this @when be called multiple times if I don't reset this state?

Re: call for testing: relations across Juju models

2017-07-26 Thread Ian Booth
On 25/07/17 00:54, Dmitrii Shcherbakov wrote: > Hi Patrizio, > > As far as I understand it now, if you configure it right in terms of > networking, it will be possible for both single and multi-cloud cases. > Correct. You can have one application deployed to a model in a Google cloud, and anoth

Re: CephFS Backend for Hadoop

2017-07-26 Thread Dmitrii Shcherbakov
Hi {James, Patrizio}, Be careful with using cephfs in production before ceph Luminous though (RC now). Although cephfs was declared stable in Jewel, http://ceph.com/releases/v10-2-0-jewel-released/ "CephFS: This is the first release in which CephFS is declared stable! Several features are disabl

Re: CephFS Backend for Hadoop

2017-07-26 Thread Mark Shuttleworth
On 26/07/17 07:14, Patrizio Bassi wrote: > Deploying hadoop via juju in an openstack tenant requires a separate > model (as far as i could design it). > So we may use the new juju 2.2 cross model relation to relate the > hadoop charms to the openstack ceph units. > > does it sound feasible? Yes, t