Monday, 2015-07-13

*** logan2 has quit IRC00:01
*** logan2 has joined #openstack-sahara00:08
*** raildo_ has joined #openstack-sahara00:44
*** openstackgerrit has quit IRC00:51
*** openstackgerrit has joined #openstack-sahara00:51
*** raildo_ has quit IRC01:08
*** raildo has quit IRC01:10
*** chen12 has quit IRC01:25
*** witlessb has joined #openstack-sahara01:56
*** witlessb has quit IRC02:01
*** hdd has joined #openstack-sahara02:03
*** hdd has quit IRC03:15
*** coolsvap|away is now known as coolsvap03:50
*** Nikolay_St has quit IRC03:56
*** sgotliv has joined #openstack-sahara04:06
openstackgerritlu huichun proposed openstack/sahara-specs: [EDP]upgrade oozie web service api version in sahara oozie engine  https://review.openstack.org/20099304:52
openstackgerritlu huichun proposed openstack/sahara-specs: [EDP]upgrade oozie web service api version in sahara oozie engine  https://review.openstack.org/20099304:53
*** pcaruana has quit IRC05:08
*** Longgeek has quit IRC05:18
*** Longgeek has joined #openstack-sahara05:20
*** Nikolay_St has joined #openstack-sahara05:46
*** Nikolay_St has quit IRC05:59
*** Nikolay_St has joined #openstack-sahara06:00
*** nkrinner has joined #openstack-sahara06:04
*** hogepodge has quit IRC06:19
*** hogepodge has joined #openstack-sahara06:26
*** sgotliv has quit IRC06:39
*** pcaruana has joined #openstack-sahara06:42
*** pino|work has joined #openstack-sahara07:05
*** witlessb has joined #openstack-sahara07:19
*** coolsvap is now known as coolsvap|afk07:32
*** chlong-weekend is now known as chlong-afk07:33
*** coolsvap|afk is now known as coolsvap07:56
*** sgotliv has joined #openstack-sahara08:08
openstackgerritSergey Gotliv proposed openstack/sahara: Modify launch_command to support global variables  https://review.openstack.org/19731508:10
openstackgerritSergey Gotliv proposed openstack/sahara: Adding support for the Spark Shell job  https://review.openstack.org/19733308:10
*** chen12 has joined #openstack-sahara08:32
*** chen12 has quit IRC08:43
*** chen12 has joined #openstack-sahara08:44
*** chen12 has quit IRC08:44
*** Poornima has joined #openstack-sahara08:46
*** jamielennox has quit IRC08:46
*** tosky has joined #openstack-sahara09:14
toskydegorenko: ping https://review.openstack.org/#/c/200949/ (and https://review.openstack.org/#/c/200948/) - do I have an easy way to test the sahara-ci-config in production, apart from rebuilding the CI?09:26
toskyIf the patches breaks by accident the gate, it will be a bit complicated09:26
*** Poornima has quit IRC09:39
*** jamielennox has joined #openstack-sahara09:46
*** esikachev has joined #openstack-sahara09:50
*** coolsvap is now known as coolsvap|away10:25
*** coolsvap|away is now known as coolsvap10:28
openstackgerritMerged openstack/sahara: Modify launch_command to support global variables  https://review.openstack.org/19731510:36
*** coolsvap is now known as coolsvap|away10:43
openstackgerritMerged openstack/sahara-image-elements: Rewrite/improve start-mysql.sh  https://review.openstack.org/19906210:43
openstackgerritMerged openstack/sahara-image-elements: hadoop: consolidate /run creation  https://review.openstack.org/19912510:54
openstackgerritSergey Gotliv proposed openstack/sahara: Adding support for the Spark Shell job  https://review.openstack.org/19733310:59
openstackgerritVitaly Gridnev proposed openstack/sahara-image-elements: Add elements for sync time on VM  https://review.openstack.org/12961111:10
openstackgerritEvgeny Sikachev proposed openstack/sahara: Add cluster verification  https://review.openstack.org/19671311:15
*** _crobertsrh is now known as crobertsrh11:18
openstackgerritVitaly Gridnev proposed openstack/sahara: Configure NTP service on cluster instances  https://review.openstack.org/20013611:21
openstackgerritVitaly Gridnev proposed openstack/sahara: Configure NTP service on cluster instances  https://review.openstack.org/20013611:22
openstackgerritEvgeny Sikachev proposed openstack/sahara: Improvement check scale in scenario tests  https://review.openstack.org/19551311:26
openstackgerritMerged openstack/sahara: add unit test covering cancel_job in job_manager  https://review.openstack.org/19873911:27
openstackgerritMerged openstack/sahara: Updated from global requirements  https://review.openstack.org/20091311:27
*** sgotliv has quit IRC11:28
*** coolsvap|away is now known as coolsvap11:44
*** witlessb has quit IRC12:05
*** witlessb has joined #openstack-sahara12:05
*** sgotliv has joined #openstack-sahara12:05
openstackgerritSergey Reshetnyak proposed openstack/sahara: [WIP] Add put data in HDFS for EDP testcase  https://review.openstack.org/20110212:05
*** sgotliv has quit IRC12:07
*** sgotliv has joined #openstack-sahara12:07
*** hdd has joined #openstack-sahara12:11
openstackgerritSergey Reshetnyak proposed openstack/sahara: [WIP] Add put data in HDFS for EDP testcase  https://review.openstack.org/20110212:11
*** esikachev has quit IRC12:29
*** esikachev has joined #openstack-sahara12:33
openstackgerritEvgeny Sikachev proposed openstack/sahara: Add cluster verification  https://review.openstack.org/19671312:39
*** sgotliv has quit IRC12:47
*** elmiko has joined #openstack-sahara12:50
*** sgotliv has joined #openstack-sahara12:53
openstackgerritNikita Konovalov proposed openstack/sahara: EDP engine Swift fix for HDP 2.2  https://review.openstack.org/20050413:14
*** sgotliv has quit IRC13:28
*** raildo has joined #openstack-sahara13:33
*** raildo has quit IRC13:40
*** raildo has joined #openstack-sahara13:44
openstackgerritEvgeny Sikachev proposed openstack/sahara: Improvement check scale in scenario tests  https://review.openstack.org/19551313:44
*** vgridnev has joined #openstack-sahara13:49
*** shakamunyi has joined #openstack-sahara13:59
*** barra204 has joined #openstack-sahara13:59
*** egafford has joined #openstack-sahara14:00
*** tellesnobrega has joined #openstack-sahara14:00
tellesnobregaalazarev, ping14:02
*** tmckay has joined #openstack-sahara14:21
openstackgerritEvgeny Sikachev proposed openstack/sahara: Add cluster verification  https://review.openstack.org/19671314:22
*** barra204 has quit IRC14:25
*** whydidyoustealmy has joined #openstack-sahara14:25
*** shakamunyi has quit IRC14:25
*** shakamunyi has joined #openstack-sahara14:26
vgridnevtmckay, are you around?14:30
tmckayhi14:31
tmckayvgridnev ^^14:31
vgridnevI have question about launching spark jobs using swift14:31
vgridnevHow it can be done?14:31
vgridnevDo we have some sample job with some instructions?14:32
openstackgerritMerged openstack/sahara: Resolve 500 error during simultaneously deletion  https://review.openstack.org/19830414:32
*** whydidyoustealmy has quit IRC14:34
*** shakamunyi has quit IRC14:34
tmckayvgridnev, let me double-check, I haven't run that in a while.  There is a wrapper jar that should be bundled with Sahara to make this work.  And you need to set a configuration flag (I think it is edp.spark.adapt_for_swift=True)14:34
openstackgerritSergey Reshetnyak proposed openstack/sahara: [WIP] Add put data in HDFS for EDP testcase  https://review.openstack.org/20110214:34
tmckayvgridnev, the normal hadoop jar should allow the swift:// paths to be dereferenced (just like Hadoop j obs).  The wrapper puts the credentials for swift access into the Hadoop context.14:35
vgridnevtmckay, not only eep.spark.adapt_for_swift should be provided, password and login for swift should be added too, I think14:37
openstackgerritMerged openstack/sahara: Spark job for Cloudera 5.3.0 and 5.4.0 added  https://review.openstack.org/19012814:37
tmckayvgridnev, yes14:39
tmckayvgridnev, I'll check and see if we have anything about this in edp examples.  I know for Liberty crobertsrh is adding check boxes for a few booleans like edp.spark.adapt_for_swift14:40
tmckayvgridnev, and of course the proxy user stuff should work for spark as well14:40
crobertsrhYes, those patches are up...since late May or early June14:41
openstackgerritEthan Gafford proposed openstack/sahara-specs: API to mount manila shares to clusters  https://review.openstack.org/20063314:46
*** sgotliv has joined #openstack-sahara14:47
*** nkrinner is now known as nkrinner_afk14:48
*** htruta has joined #openstack-sahara14:49
*** Nikolay_St has quit IRC14:50
openstackgerritVitaly Gridnev proposed openstack/sahara: Resolve 500 error during simultaneously deletion  https://review.openstack.org/20115614:50
vgridnevcrobertsrh, could you please add your changes for that to etherpad / sahara-reviews-in-horizon14:55
vgridnev?14:55
crobertsrhwill do14:55
alazarevtellesnobrega, pong14:58
openstackgerritTelles Mota Vidal Nóbrega proposed openstack/sahara: Allow multiple clusters creation  https://review.openstack.org/19358615:01
tellesnobrega^15:01
tellesnobregadid a little refactoring on the code above15:02
tellesnobregacan you take a look?15:02
tellesnobregaelmiko, SergeyLukjanov can you guys take a look as well15:02
*** sgotliv has quit IRC15:02
openstackgerritOpenStack Proposal Bot proposed openstack/python-saharaclient: Updated from global requirements  https://review.openstack.org/20120815:03
openstackgerritOpenStack Proposal Bot proposed openstack/sahara: Updated from global requirements  https://review.openstack.org/20120915:03
openstackgerritOpenStack Proposal Bot proposed openstack/sahara-extra: Updated from global requirements  https://review.openstack.org/20121015:03
openstackgerritOpenStack Proposal Bot proposed openstack/sahara-image-elements: Updated from global requirements  https://review.openstack.org/20121115:03
elmikotellesnobrega: ack15:03
*** sgotliv has joined #openstack-sahara15:09
openstackgerritSergey Reshetnyak proposed openstack/sahara: [WIP] Print error stacktrace from Ambari errors  https://review.openstack.org/19961515:15
toskyoh, right, stacktraces for ambari would help15:18
toskyegafford: would they have helped with that HA issue, I guess ^^15:18
tosky?15:18
egaffordtosky: In that specific case, not really; the error there only manifested in Oozie.15:20
toskyoh, right15:20
egaffordtosky: There are definitely other issues we've run into that this would've helped, though.15:20
egafford(Would've taken us one layer deeper into that DNS issue, for instance.) Trouble with the ambari server logs is that they usually just point you to the next layer of the rabbit hole. Still, this is what can easily/reasonably be done, so it makes sense.15:22
vgridnevIt's only for new HDP 2.2 plugin, actually15:22
*** sgotliv has quit IRC15:30
*** dmitryme has quit IRC15:36
*** crobertsrh has quit IRC15:36
*** DuncanT has quit IRC15:36
*** dmitryme has joined #openstack-sahara15:37
vgridnevtmckay, could you please send me an email about double-checking of spark with swift?15:37
*** crobertsrh has joined #openstack-sahara15:38
*** pcaruana has quit IRC15:38
tmckayvgridnev, will do15:38
vgridnevvgridnev at mirantis dot com for reference15:38
tmckayok. otp now but I'll check15:38
openstackgerritEvgeny Sikachev proposed openstack/sahara: Improvement check scale in scenario tests  https://review.openstack.org/19551315:41
*** esikachev has quit IRC15:46
*** esikachev has joined #openstack-sahara15:48
openstackgerritPino Toscano proposed openstack/sahara-image-elements: hadoop: mark our rc.local replacement as executable  https://review.openstack.org/20123215:51
*** esikachev has quit IRC15:54
*** DuncanT has joined #openstack-sahara15:57
tellesnobregaelmiko, thanks16:14
elmikonp16:15
*** esikachev has joined #openstack-sahara16:22
*** shakamunyi has joined #openstack-sahara16:25
*** whydidyoustealmy has joined #openstack-sahara16:25
*** tmckay1 has joined #openstack-sahara16:25
*** tmckay has quit IRC16:27
*** esikachev has quit IRC16:29
tellesnobregaelmiko, i forgot sergeys comment, i'm working on it and uploading in a bit16:29
elmikotellesnobrega: no worries, just seemed like a nice suggestion16:29
tellesnobregayeah, i liked it too16:30
*** whydidyoustealmy has quit IRC16:37
*** shakamunyi has quit IRC16:37
*** raildo has quit IRC16:38
openstackgerritTelles Mota Vidal Nóbrega proposed openstack/sahara: Allow multiple clusters creation  https://review.openstack.org/19358616:47
tellesnobregaelmiko, alazarev, egafford ^16:47
tellesnobregasreshetnyak, ^16:47
*** shakamunyi has joined #openstack-sahara16:51
*** whydidyoustealmy has joined #openstack-sahara16:51
*** raildo has joined #openstack-sahara16:52
openstackgerritLuigi Toscano proposed stackforge/sahara-ci-config: Directly use the scenario configuration templates  https://review.openstack.org/20094816:53
toskydegorenko: fixed patch ^^, sorry for the mess16:54
toskyI forgot a "--"16:54
tmckay1vgridnev, are you still there?17:00
vgridnevyes17:01
*** tmckay1 is now known as tmckay17:01
tmckayvgridnev, yay! :)17:01
tmckayvgridnev, okay, I looked at the code in service/edp/spark/engine.py17:01
tmckayI remember now :)  If edp.spark.adapt_for_swift is True, the spark EDP engine will upload an extra wrapper jar and a spark.xml file that contains credentials for hadoop.  It will generate a different command.17:03
tmckayvgridnev, it handles proxy credentials too17:03
tmckaySo, the wrapper reads the spark.xml, updates the hadoop config for the job, and launches the job17:03
tmckayvgridnev, so, all you should need is to set the boolean, and provide the credentials.  The rest is transparent.17:04
tmckayvgridenv, except for one small thing -- Spark jobs are like java jobs, so you need to include the swift:// path by hand as an argument (or use the data source substitution stuff)17:04
tmckayvgridnev, make sense?  Do you have other questions?17:05
tmckay(in other words, spark jobs reference swift paths the same way java jobs do)17:06
vgridnevtmckay, I will retry it, and will said what exact problem I got17:06
tmckayvgridnev, okay, sounds good.  Let me know17:06
*** shakamunyi has quit IRC17:09
*** whydidyoustealmy has quit IRC17:09
*** sgotliv has joined #openstack-sahara17:09
*** shakamunyi has joined #openstack-sahara17:09
*** stanchan has joined #openstack-sahara17:11
*** melaks has joined #openstack-sahara17:12
*** hdd has quit IRC17:13
tellesnobregahave you guys experienced problems when executing a MapReduce job, the jobs ends fine, but the output is not copied to swift so the job is marked as failed?17:21
elmikotellesnobrega: haven't seen that, but i also haven't tested an MR job recently17:22
tellesnobregaelmiko, i'm running an experiment, and weird things happens... i'm killing one of the nodes during the job processing, but hadoop is supposed to recover from that17:23
elmikohmm17:23
tellesnobregasometimes i get the output, sometimes it doesn't work17:23
elmikoweird, i wonder if its a race condition or something?17:23
tellesnobregaeven though the jobs is marked as successful in hadoop17:23
elmikoyea, seems odd.17:25
*** Longgeek has quit IRC17:29
tellesnobregathe worse (for me in this case) the important variable i'm measuring is the job completion time, when if fails to copy to swift, sahara gives me a really high completion time17:34
*** esikachev has joined #openstack-sahara17:34
elmiko=(17:36
pino|work"big data, big times"17:37
* pino|work runs17:37
*** chlong-afk has quit IRC17:38
elmikolol17:39
*** melaks has quit IRC17:40
tellesnobregalol17:43
tellesnobregapino|work, i dont mind big times, if they are real17:47
*** melaks has joined #openstack-sahara17:49
*** witlessb has quit IRC17:52
*** witlessb has joined #openstack-sahara17:52
*** tosky has quit IRC17:56
*** pino|work has quit IRC17:56
openstackgerritlu huichun proposed openstack/sahara-specs: [EDP]upgrade oozie web service api version in sahara oozie engine  https://review.openstack.org/20099317:56
*** vgridnev_ has joined #openstack-sahara17:57
vgridnev_tmckay, do you have sample spark job?17:58
vgridnev_that operating with swift17:58
*** vgridnev has quit IRC17:59
tmckayvgridnev_, otp again, I think I have something simple I played with when I was using the wrapper.  I'll take a look.17:59
tmckaythere is also a spark wordcount I believe in the spark examples (bundled with the spark install)17:59
*** esikachev has quit IRC18:01
*** hdd has joined #openstack-sahara18:05
*** tellesmvn has joined #openstack-sahara18:19
*** tellesnobrega has quit IRC18:20
*** tellesmvn is now known as tellesnobrega18:20
vgridnev_tmckay, hadoop-swift.jar will be preinstalled on image, right?18:25
tmckayyes18:25
*** shakamunyi has quit IRC18:36
*** Nikolay_St has joined #openstack-sahara18:41
*** tmckay has quit IRC18:45
*** shakamunyi has joined #openstack-sahara18:47
*** esikachev has joined #openstack-sahara18:50
*** ekarlso has quit IRC18:56
*** ekarlso has joined #openstack-sahara18:58
*** tmckay has joined #openstack-sahara18:59
*** Nikolay_St has quit IRC19:14
vgridnev_egafford, could you please merge this change in stable/kilo branch ? https://review.openstack.org/#/c/200472/19:31
vgridnev_this change unlock our gate19:31
egaffordvgridnev_: Looking now.19:31
egaffordAh, yup; this.19:31
egaffordvgridnev_: Done; thanks.19:33
*** melaks has quit IRC19:58
tmckayvgridnev_, okay, just sent you a simple Scala app for spark.  It should take 1 argument (a file path)20:01
tmckayoutput is just to standard out20:01
tmckaybut it's good enough to read from Swift, to prove it works20:01
tmckayvgridnev_, blah, mirantis mail doesn't like the jar file I think.20:03
tmckayI'll send just the source20:04
tmckaywell, or put the jar in the tgz20:04
vgridnev_hm, intresting20:08
tmckaybah, again.  just a tgz this time20:08
tmckayah, maybe it's an archive in an archive20:09
vgridnev_Seems that all errors was caused by old spark image on lab20:09
tmckayvgridnev_, oh, you made it work?20:09
tmckayYay :)20:09
tmckaythen I don't have to send.  Actually, I could send through a draft CR in gerrit ;-)20:10
vgridnev_tmckay, yes, that works20:16
vgridnev_thanks for your help20:17
tmckayexcellent, great to hear20:18
openstackgerritEthan Gafford proposed openstack/sahara: Cluster creation with trust  https://review.openstack.org/20071920:22
*** melaks has joined #openstack-sahara20:23
openstackgerritMerged openstack/sahara: Fix failed unit tests  https://review.openstack.org/20047220:31
*** hdd has quit IRC20:31
*** hdd has joined #openstack-sahara20:34
*** esikachev has quit IRC20:34
*** esikachev has joined #openstack-sahara20:42
*** esikachev has quit IRC20:47
*** tellesnobrega has quit IRC20:50
*** tellesmvn has joined #openstack-sahara20:50
*** tellesmvn is now known as tellesnobrega20:52
*** tellesnobrega has left #openstack-sahara20:56
*** tellesnobrega has joined #openstack-sahara20:56
*** Nikolay_St has joined #openstack-sahara21:00
*** tmckay has quit IRC21:01
*** tellesnobrega has quit IRC21:04
*** tellesnobrega has joined #openstack-sahara21:05
*** crobertsrh is now known as _crobertsrh21:07
*** raildo has quit IRC21:08
egaffordelmiko: Looking at your keystone sessions spec. I haven't studied how sessions interact with trusts (which we're moving to use for all clusters in order to perform long operations and allow automated cluster cleanup.) Have you already poked that bear?21:09
*** hdd has quit IRC21:11
elmikoegafford: hmm, i'll look specifically at the trusts code. it might require some minor adjustments in the client instantiation code, but i think it would be limited to those areas.21:13
elmikoegafford: we would just need to be aware of the trust, and use it during the session scoping.21:13
elmikoegafford: we will still be using whatever credentials are supplied, so in the case of a trust we would just need to ensure that the user with the trust will be generating the session object21:14
egaffordYeah; it looks as though your SessionCache object can allow this to happen. The key structure of the cache is (maybe intentionally) vague atm, but it doesn't look like a conflict.21:14
elmikoi don't think so, the cache should be blind to whatever is requested. the real details will come from the specific client you are requesting and the auth plugin.21:15
elmikobut, if you pass a trust id to the client, we can ensure that the session is created with a trust21:15
egaffordSure. Are the sessions created and cached per-user, though? Our trusts are currently scoped per cluster.21:16
elmikothey will be, so we might need a mechanism to observe a user who wants 2 different sessions for a single service (ie one with a trust and one without)21:17
elmikobut, these sessions will not persist between requests. so it might be a non-issue. we'll see, i suppose lol21:17
egaffordI see; if the sessions are non-persistent between requests, I believe it is in face a non-issue. I think I got caught up in the SessionCache-ness of it all and imagined persistent sessions across requests.21:18
egaffords/face/fact/21:19
elmikoyea, i don't think it will be used that way. this is mainly to avoid us having to call, for example, a nova client create several times within the same request21:19
elmikowe can reuse the client21:19
egaffordSure; that should be fine and good. Although, Telles' multi-cluster change. Hmm...21:20
elmikoit should really be useful there, as the same heat/neutron/nova clients will get reused instead of recreated each time21:20
elmikoand the session object will automagically handle renewing tokens and whatnot21:20
egaffordRight, but if we're using trusts per cluster, in theory we'll have a logical breakdown (clusters will use one anothers' trusts.) In practice, I don't think we care even a little; there's nothing about the trusts that's actually scoped to a cluster beyond the fact that we store the ids on them because in the general case that works for us.21:22
openstackgerritVitaly Gridnev proposed openstack/sahara: Resolve 500 error during simultaneously deletion  https://review.openstack.org/20115621:27
elmikoegafford: i'll look more closely at the trust mechanics for the periodic stuff. my gut feeling is that you are correct, it will be a wash in the end, but just to make sure.21:28
*** coolsvap has quit IRC21:28
elmikoalso, lol at whoever put username:sam password:gamgee into our tests ;)21:29
*** coolsvap|away has joined #openstack-sahara21:33
*** esikachev has joined #openstack-sahara21:38
elmikoegafford: yes, i can see how we will adjust the context for the trust work. it's doable21:38
elmikoegafford: its a little easy because the trusts all seem to use the admin context for their operations21:40
egaffordelmiko: Yup, they do use the admin user as the trustee, and the tenant as the trustor.21:41
elmikoegafford: yea, should not be a problem.21:43
*** witlessb has quit IRC22:23
*** esikachev has quit IRC22:30
*** esikachev has joined #openstack-sahara22:31
*** esikachev has quit IRC22:37
*** shakamunyi has quit IRC22:45
*** egafford has quit IRC22:47
openstackgerritVitaly Gridnev proposed openstack/sahara-image-elements: Add hadoop-swift element on cloudera images  https://review.openstack.org/20136222:54
*** sgotliv has quit IRC22:58
openstackgerritMerged openstack/sahara-image-elements: openjdk: revert to a semi-manual installation  https://review.openstack.org/19803423:03
*** stanchan_ has joined #openstack-sahara23:10
*** stanchan has quit IRC23:12
openstackgerritMerged openstack/sahara-image-elements: openjdk: add mappings for openjdk-8  https://review.openstack.org/19803523:16
openstackgerritMerged openstack/sahara-image-elements: openjdk: install openjdk 8 for fedora >= 21  https://review.openstack.org/19803623:17
*** stanchan_ has quit IRC23:17
*** chlong-afk has joined #openstack-sahara23:18
*** egafford has joined #openstack-sahara23:33
*** chlong-afk has quit IRC23:36
*** egafford has quit IRC23:40
openstackgerritMerged openstack/sahara: [EDP][Oozie] external hdfs missed for URLs in job_configs  https://review.openstack.org/19203823:48

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