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

kwmonroeyeah bdx, i need to think about it a bit.  one the one hand, you *could* just have the datanode storage dir set to a specific place.  but we do put other stuff in there, like namenode bits, cache, checkpoint data, etc.  so maybe it makes more sense to have a single storage option for "/var/lib/hadoop-hdfs" that lives in the bigtop base layer, rather than "/var/lib/hadoop-hdfs/cache/$user/dfs/data" that would live in the00:03
kwmonroedatanode layer.00:03
bdxbundles don't support storage do they?00:28
bdxkwmonroe: I think all you need is https://github.com/jamesbeedy/layer-hadoop-datanode/blob/add_hdfs_storage/reactive/datanode.py#L14,L16 and https://github.com/jamesbeedy/layer-hadoop-datanode/blob/add_hdfs_storage/reactive/datanode.py#L64,L6900:30
bdx^ may get it real close, going to find a way to test this00:30
kwmonroesweeeet bdx!  i like how simple that is versus exposing the hdfs-site.xml config.00:36
kwmonroei also like how i didn't have to write anything ;)00:37
kwmonroe$40 coming to you at the next summit00:37
bdxwell, I mean00:38
bdxwrite me a bundle that uses storage00:38
bdxahah00:38
bdx:)00:38
bdxI've never seen storage in a bundle I don't think00:39
bdxpossibly ill just deploy the bigdata bundle with my built charm inplace of the hadoop-slave that coems with the bundle00:40
bdxthen just add the storage following the bundle deploy00:40
kwmonroebdx: looks like the storage key is valid in a bundle: https://github.com/juju/charm/blob/v6/bundledata_test.go#L4100:46
kwmonroebut i haven't personally seen bundles with storage either00:46
bdxoh, thats what I was looking for00:47
bdxso for what I'm doing it would be00:48
bdxstorage:00:48
bdx  hdfs: ebs,10G00:48
bdxill try it out00:48
bdxapplications:00:53
bdx  postgresql:00:53
bdx    charm: cs:postgresql-17100:53
bdx    num_units: 100:53
bdx    series: xenial00:53
bdx    storage:00:53
bdx      pgdata: ebs,10G00:53
bdxboom00:53
kwmonroenice01:14
kwmonroebdx: i need to head out, but thanks a lot for making my dreams come true.  have a good weekend!!01:14
bdxkwmonroe: backatcha01:15
bdxhttp://paste.ubuntu.com/p/D5KtMbDGnP/01:15
bdxworking bundle^01:15
bdxill pr that in a few01:15
bdxthanks again01:15
=== `Calvin is now known as Calvin`

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