/srv/irclogs.ubuntu.com/2018/02/27/#juju.txt

heckles1000#luigi04:04
heckles1000whoops04:04
=== frankban|afk is now known as frankban
=== disposable3 is now known as disposable2
bdxkwmonroe: I'm creating the issue for the bigtop project on apache jira16:45
bdxshould I tag it as "New Feature"?16:45
bdxkwmonroe: https://issues.apache.org/jira/browse/BIGTOP-300716:49
bdxkwmonroe: let me know if theres anything else you want/don't want to see on there and I'll add/remove it16:51
kwmonroeperfect bdx!  thank you!!16:53
bdxkwmonroe: np, thank you16:53
bdxkwmonroe: would I be able to fork->branch the juju-solutions/bigtop repo and just add those properties to the hive config to get started working on implementing those bits between the charms?16:54
bdxor is there something else16:54
kwmonroebdx: you probably want to fork upstream, right? https://github.com/apache/bigtop16:56
bdxahh, but the juju-solutions fork has the layers .....16:57
bdxhmmm, possibly I need to do a bit more digging to understand how these pieces fit together16:58
kwmonroebdx: upstream has the layers too: https://github.com/apache/bigtop/tree/master/bigtop-packages/src/charm17:01
kwmonroefwiw, the upstream layers are the source of truth for the charms in the store -- not our juju-soln/bigtop fork17:01
bdxahhh gotcha17:02
bdxkwmonroe: should these properties be conditional in the xml template similar to hbase.zookeeper.quorum?17:14
bdxim thinking so17:14
bdxahh, possibly hive.support.concurrency should default to false17:15
bdxand hive.zookeeper.quorum shoudl get the conditional17:16
kwmonroeyeah bdx, i think you're on the right track.. for reference, here's how we added 3 new options in the puppet scripts:  https://github.com/apache/bigtop/pull/238/files17:20
kwmonroebdx: you'd do something similar to initialize the vars in hadoop_hive's init.pp: https://github.com/apache/bigtop/blob/master/bigtop-deploy/puppet/modules/hadoop_hive/manifests/init.pp#L4817:21
kwmonroeand then conditionally use those vars in the hive-site.xml: https://github.com/apache/bigtop/blob/master/bigtop-deploy/puppet/modules/hadoop_hive/templates/hive-site.xml17:21
kwmonroebdx: as for the default values, i would set concurrency to false by default (since that is the default): https://cwiki.apache.org/confluence/display/Hive/Configuration+Properties#ConfigurationProperties-hive.support.concurrency17:24
kwmonroeand make hive.zk.quorum an empty string17:25
kwmonroe^^ both of those in hadoop_hive's init.pp common_config class def17:25
kwmonroebdx: then write out the concurrency property and conditional zk.quorum property in hadoop_hive's templates/hive-site.xml17:26
bdxdone17:26
bdxhttps://github.com/jamesbeedy/bigtop/blob/hive_config_add_zookeeper/bigtop-deploy/puppet/modules/hadoop_hive/manifests/init.pp#L50,L5117:27
bdxhttps://github.com/jamesbeedy/bigtop/blob/hive_config_add_zookeeper/bigtop-deploy/puppet/modules/hadoop_hive/templates/hive-site.xml#L45,L5717:27
kwmonroeperfect17:28
kwmonroesee?!?!  big data is easy!17:28
kwmonroecan i get an amen magicaltrout?17:28
=== frankban is now known as frankban|afk
=== chrisp_ is now known as chrisp262
bdxkwmonroe: https://github.com/jamesbeedy/bigtop/blob/hive_config_add_zookeeper/bigtop-packages/src/charm/hive/layer-hive/lib/charms/layer/bigtop_hive.py18:20
bdxand https://github.com/jamesbeedy/bigtop/blob/hive_config_add_zookeeper/bigtop-packages/src/charm/hive/layer-hive/reactive/hive.py18:22
bouchervSome issue with the snaps website and api ? https://snapcraft.io/ - 503 Service Temporarily Unavailable nginx/1.13.718:29
kwmonroelooks great bdx!  when you're ready, you can PR that against the bigtop repo.  be sure to follow the PR title guidelines so jira will auto-link your pr to the ticket:  https://github.com/juju-solutions/bigdata-community/wiki/Contributing#pull-request-formatting18:29
bdxkwmonroe: awesome, thanks18:30
kwmonroeboucherv: i was seeing 502/503 too, but it seems to be back for me now.18:46
bouchervkwmonroe: Yes It seems to be back now! ty18:47
bdxkwmonroe: https://github.com/apache/bigtop/blob/master/bigtop-packages/src/charm/hive/layer-hive/lib/charms/layer/bigtop_hive.py#L61,L6319:07
bdx(self.dist_config.path('hive_conf') / 'hive-env.sh.template')19:07
bdxI cant seem to find hive-env.sh, or hive-env.sh.template19:07
bdxshould I create this file?19:07
bdxI feel like I'm missing something, as the charm should have hit the error I'm seeing long ago if that file didnt exist19:08
bdxpossibly I borked something https://paste.ubuntu.com/p/W9tN3Ygyn9/19:09
kwmonroebdx: you are correct... i can't find ref to that template either.  wth!  /me looks deeper down the rabbit hole.19:30
bdxkwmonroe: https://paste.ubuntu.com/p/CSscBbmwtf/20:09
bdxwhen I deploy the upstream hive charm20:09
bdxI see the files20:09
bdxand it doesnt error20:10
zeestratrick_h: Are requests to subscribe to juju@lists.ubuntu.com moderated or should you get a confirmation mail asap? Trying to change my mail, but getting ain't no confirmation love :(20:20
rick_hzeestrat: thought it just auto went through.20:36
zeestratrick_h: Alright, thanks. I'll give it a day before I start nagging.20:42
magicaltrouti've changed my email address on the juju list before20:55
magicaltroutit took about 3 seconds20:55
kwmonroeaight bdx, i think i know what's up.  first of all, those template files come from the upstream tgz that gets used during the bigtop deb build, specifically here: https://github.com/apache/bigtop/blob/master/bigtop-packages/src/common/hive/install_hive.sh#L16120:57
bdxgotcha, was just figuring that out myself20:57
kwmonroeso bigtop doesn't explicitly have a hive-env.sh like it does for hive-site.xml, but it does get there from the deb.20:57
kwmonroebdx: the next part was a bit of a mystery.. i was able to confirm the failure when i used hive-21 (from the candidate channel) and hadoop-plugin-31 (from the stable channel)20:58
kwmonroethe problem is that the stable channel plugin is still set to use bigtop-1.2.0, whereas the candidate charms are bigtop-1.2.1.20:58
kwmonroethis is a problem because hive will set up it's puppet heiradata on initial install and get ready to run puppet apply using the config from bigtop-1.2.1.20:59
kwmonroethen the plugin comes along and overwrites all that config with bigtop-1.2.020:59
kwmonroewhen the plugin does this, the puppet config is no longer including the "hive" role, and so puppet apply never does an "apt install hive"20:59
bdxoh man lol21:00
kwmonroewithout installing the pacakge, puppet apply succeeds, but since hive didn't actually get installed, there's no /etc/hive/conf, and hence the failure in the hive install charm method21:00
bdxnice21:00
kwmonroeso, to confirm that, would you confirm if you used a stable hadoop-plugin with a candidate (or beta / edge) version of the hive charm?21:00
bdxthat makes sense from what little I know about the process21:00
bdxyes, I'll give that a try now21:01
bdxcan I just build hive from upstream apache/bigtop and use that?21:01
magicaltroutyou make kwmonroe when you suggest such things21:02
magicaltroutcry21:02
magicaltroutmissed the important word21:02
magicaltroutshould drink less gin21:02
kwmonroeyou sure can bdx -- but if you do, make sure you use hadoop-plugin-33 (from candidate) so everybody's on bigtop-1.2.121:02
bdxok21:02
kwmonroeheh magicaltrout.  big data is still easy!  where's my amen?21:02
magicaltroutamen!21:03
kwmonroei am complete21:03
kwmonroenow to track down the knucklehead that didn't release candidate charms to stable like 2 months ago.21:04
bdxkwmonroe: you seeing this https://paste.ubuntu.com/p/K75vMzTgrV/21:31
bdxkwmonroe: http://paste.ubuntu.com/p/Pc9kQF35Zg/21:32
bdxI dont think we will hit the error on hive because its stuck waiting on hbase21:33
bdxhbase hits it though21:33
bdxohhhh21:34
bdxI see why21:34
bdxI needed to deploy condidate hbase too21:35
bdxmy bad21:35
bdxdah21:35
kwmonroeyeah, sorry about that bdx, i'm doing a rebuild now to see if anything has changed recently.. should get those up to stable after CI runs through.21:35
bdxcool21:35
kwmonroebut yeah, everything needs to be -c candidate for now21:35
beisnerhi all - in case you haven't seen our announcement on the openstack-dev ML:  1802 openstack charms release is rescheduled for Thu Mar 8.  hop over to freenode #openstack-charms if you'd like to interact or track it more closely.  cheers!23:17
magicaltroutisn't openstack 2010?23:20
magicaltrouthey beisner hows the kettle?23:20
beisnerpush a button, receive hot water23:21
magicaltroutamazing kit, right? ;)23:21
beisnerit has single-handedly increased my personal throughput more than ... any beer ever has.23:22
jhobbszojirushi?23:22
beisnerno, baby steps.  mine's from walmart, with training wheels.  but that zojirushi looks sweet123:22
beisner!23:23
jhobbshehe23:23
beisner2010's openstack isn't one that you'd enjoy much, magicaltrout23:23
magicaltroutawwww23:24
magicaltroutI'm forced to run CDK on Openstack at the moment23:24
magicaltroutOpenstack makes magicaltrout sad23:24
beisnerwhyfor?23:24
magicaltroutnot for any particular reason23:24
magicaltroutother than its just not baremetal :)23:24
beisnerha!  i hear you.23:25
magicaltrouton the plus side, CDK support for GPUs via openstack seems to work a treat23:25
magicaltroutwhich does make me a little less sad23:25
beisnerthe world still needs virtual machines.  look!  even you do right now, apparently.23:25
beisnernice23:25
magicaltroutonly cause I don't get my own way all the time :P23:25
magicaltrouti'm fixing the world23:26
magicaltroutone kettle at a time!23:26
beisnerword.23:26
magicaltroutthat said, docker gets on my tits as well23:26
magicaltrouti'm hard to please ;)23:26
beisneris that like ruby on rails?  docker on ____ ?23:27
magicaltrouthaha23:27
beisneryou may have something there.23:27
magicaltroutkwmonroe... do you own a kettle?23:28
beisnergotta run.  i'll leave you to ""gpu research"" aka ethereum mining, magicaltrout ;-)23:29
magicaltroutworks a treat23:29
magicaltrouton government GPUs ;)23:30
magicaltrouthave fun23:30
beisnercheers23:30
kwmonroei do not magicaltrout23:31
magicaltroutits a texan miracle!23:32
bdxkwmonroe: concerning zookeeper <-> hive, do you have any suggestions on how to go about making the relation between the two optional?23:50
bdxI have a few ideas I'm playing around with atm23:50
bdx1) conditional 'use-zookeeper' or equivalent charm config, 2) call Hive.install() when zookeeper.joined and make a separate handler to get the zookeeper hosts and store them in unitdata so that install_hive() doesn't depend on 'zookeeper.ready'23:54
bdxI have #1 working23:55
bdxbut the more I think about it, the less I like it (I'm sure you will agree here)23:55
bdxso, working on #223:55
kwmonroebdx: yeah, boo #1.  i fail to see how the zk relation isn't already optional.  your install handler isn't gated with zookeeper.ready: https://github.com/jamesbeedy/bigtop/blob/hive_config_add_zookeeper/bigtop-packages/src/charm/hive/layer-hive/reactive/hive.py#L6623:56
bdxahh , yeah srry, uncommited changes23:56
kwmonroeheh, well, don't guard it, and zookeeper will be optional :)23:56
bdxI was not getting the zk properties in hive-site.xml with my add_hive branch23:56
bdxok ... I'll keep poking around with what I have in that branch then ... possibly I'm over thinking it23:57
bdxthe fact that install_hive() doesnt depend on 'zookeeper.ready'23:58
kwmonroeah, yeah bdx.. so here's the thing.  without the @when zk.ready, you'll enter that install_hive handler over and over... and *only* when the deployment matrix changes will anything actually happen.23:58
bdxyeah23:58
kwmonroeso, i would suggest you move this https://github.com/jamesbeedy/bigtop/blob/hive_config_add_zookeeper/bigtop-packages/src/charm/hive/layer-hive/reactive/hive.py#L110,L112 up23:59
kwmonroeand add hive_install-args to the dep matrix here: https://github.com/jamesbeedy/bigtop/blob/hive_config_add_zookeeper/bigtop-packages/src/charm/hive/layer-hive/reactive/hive.py#L8923:59
kwmonroeotherwise, you're hitting this: https://github.com/jamesbeedy/bigtop/blob/hive_config_add_zookeeper/bigtop-packages/src/charm/hive/layer-hive/reactive/hive.py#L10323:59
bdxoh totally23:59
kwmonroeand returning because the matrix didn't change23:59

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!