Wednesday, 2013-08-21

*** sacharya has joined #savanna00:27
openstackgerritTrevor McKay proposed a change to stackforge/savanna: Add database support for JobBinary objects  https://review.openstack.org/4272201:53
openstackgerritTrevor McKay proposed a change to stackforge/savanna: Add database support for JobBinary objects  https://review.openstack.org/4272202:01
tmckayQuestion for the morning -- how do I run an individual unit test?  My JobBinary test is failing.02:27
*** sacharya has quit IRC04:00
*** akuznetsov has joined #savanna04:16
*** ogelbukh has quit IRC05:06
*** akuznetsov has quit IRC05:28
*** nprivalova has joined #savanna06:39
*** nprivalova has quit IRC06:51
*** ruhe has joined #savanna06:52
*** benl has joined #savanna07:51
*** aignatov has quit IRC08:00
*** aignatov has joined #savanna08:01
*** nprivalova has joined #savanna08:23
*** dmitryme has joined #savanna08:59
*** akuznetsov has joined #savanna09:11
*** ruhe has quit IRC09:16
*** ruhe has joined #savanna09:18
*** ruhe has quit IRC09:37
*** akuznetsov has quit IRC09:37
*** akuznetsov has joined #savanna09:40
*** akuznetsov has quit IRC09:43
*** dmitryme has quit IRC09:45
*** dmitryme has joined #savanna10:09
*** nprivalova has quit IRC10:14
*** akuznetsov has joined #savanna10:14
*** ruhe has joined #savanna10:16
*** benl has quit IRC10:22
openstackgerritVadim Rovachev proposed a change to stackforge/savanna: Change requirements.txt  https://review.openstack.org/4308710:34
*** nprivalova has joined #savanna10:36
*** SergeyLukjanov has joined #savanna10:50
*** SergeyLukjanov has quit IRC10:54
*** ruhe has quit IRC10:59
*** ruhe has joined #savanna11:01
*** SergeyLukjanov has joined #savanna11:03
*** dina_belova has joined #savanna11:05
*** dmitryme has quit IRC11:05
*** dmitryme has joined #savanna11:06
*** dmitryme has quit IRC11:22
*** ivan1 has joined #savanna11:27
openstackgerritVadim Rovachev proposed a change to stackforge/savanna: Change requirements.txt  https://review.openstack.org/4308711:28
openstackgerritVadim Rovachev proposed a change to stackforge/savanna: Limit requests version  https://review.openstack.org/4308711:31
*** benl has joined #savanna11:33
*** benl has quit IRC11:37
openstackgerritNikolay Mahotkin proposed a change to stackforge/savanna-extra: Fixing bug getBlockSize in swift patch  https://review.openstack.org/4310311:41
openstackgerritNikolay Mahotkin proposed a change to stackforge/savanna-extra: Fixing bug getBlockSize in hadoop patch  https://review.openstack.org/4310311:45
*** dina_belova has quit IRC11:45
*** dmitryme has joined #savanna11:48
openstackgerritSergey Lukjanov proposed a change to stackforge/savanna: Limit requests version  https://review.openstack.org/4308711:59
*** ruhe has quit IRC12:00
openstackgerritA change was merged to stackforge/savanna: Sync OpenStack commons with oslo-incubator  https://review.openstack.org/4231112:00
openstackgerritSergey Lukjanov proposed a change to stackforge/savanna: Limit requests version  https://review.openstack.org/4308712:02
openstackgerritA change was merged to stackforge/savanna: Add __author__ attr check  https://review.openstack.org/4271912:04
*** SergeyLukjanov has quit IRC12:11
*** nprivalova has quit IRC12:11
openstackgerritAlexander Kuznetsov proposed a change to stackforge/python-savannaclient: Now create methods return a new object  https://review.openstack.org/4266812:25
openstackgerritAlexander Kuznetsov proposed a change to stackforge/python-savannaclient: Added API for job, data_source and job_origin  https://review.openstack.org/4264112:25
*** akuznetsov has quit IRC12:31
*** _crobertsrh is now known as crobertsrh12:32
openstackgerritA change was merged to stackforge/savanna: Limit requests version  https://review.openstack.org/4308712:33
openstackgerritA change was merged to stackforge/savanna: Refactoring cinder support  https://review.openstack.org/4265512:33
*** akuznetsov has joined #savanna12:36
openstackgerritChad Roberts proposed a change to stackforge/savanna-dashboard: Adds EDP support in the UI  https://review.openstack.org/4148212:40
tmckayakuzentsov, re raw binary conductor interface, yes, I had the same thought on my way to bed last night :)  Too bad deferred column loading doesn't seem to work -- I think it would be tough to support that in savanna.  General code that traverses elements would have to be very careful, and exceptions are raised if there is not a session object available.12:58
tmckayakuznetsov, by the way, do you know how to run a single unit test?  My unit test for JobBinary fails, I discovered late last night, but I haven't tried to debug yet.12:59
*** nprivalova has joined #savanna12:59
*** akuznetsov has quit IRC13:01
tmckayah, missed him.13:01
*** dmitryme_ has joined #savanna13:02
*** dmitryme has quit IRC13:02
*** dmitryme_ is now known as dmitryme13:02
tmckaynprivalova, maybe you know the answer -- is there a way to run a single unit test?  My test fails, it will be easier to debug if I can run only one.  Do I have to write a standalone wrapper?  Or can I do it with tox, or some other existing script?13:02
*** ruhe has joined #savanna13:04
nprivalovatmckay, hi! I run tests from IDE13:04
tmckayah, I use only the command line and tox :)13:04
tmckaywell, and emacs13:05
nprivalovatmckay, I see :) Let me find someone who knows13:06
tmckaynprivalova, thanks, I'm sure it's possible.  I thought I would ask before I trace through the test code...13:07
tmckayI think savanna/savanna/tests/README.rst needs some more content ;-)13:10
*** dina_belova has joined #savanna13:11
*** dina_belova has quit IRC13:12
nprivalovatmckay, here an example13:12
nprivalova.tox/venv/bin/nosetests -w unit/service/test_instances.py13:12
*** dina_belova has joined #savanna13:12
tmckaynprivalova, ah, thanks13:13
*** dina_belova has quit IRC13:17
*** akuznetsov has joined #savanna13:20
tmckaynprivalova, btw, this will only the edp tests (if you are without your IDE :) ) -> .tox/venv/bin/nosetests --tests=savanna.tests.unit.conductor.manager.test_edp13:36
nprivalovatmckay, ok :)13:37
tmckayoops, pasted the wrong line.13:38
tmckay .tox/venv/bin/nosetests --tests=savanna.tests.unit.conductor.manager.test_edp13:38
openstackgerritIvan Berezovskiy proposed a change to stackforge/savanna-extra: Add DIB mysql element  https://review.openstack.org/4312813:59
openstackgerritIvan Berezovskiy proposed a change to stackforge/savanna-extra: Add HIVE DIB element  https://review.openstack.org/4142613:59
*** dina_belova has joined #savanna14:13
*** sacharya has joined #savanna14:15
*** dina_belova has quit IRC14:17
*** ruhe has quit IRC14:17
*** sacharya has quit IRC14:32
*** akuznetsov has quit IRC14:35
*** akuznetsov has joined #savanna14:50
*** rnirmal has joined #savanna14:53
*** ruhe has joined #savanna14:57
*** akuznetsov has quit IRC14:58
*** akuznetsov has joined #savanna14:59
*** dmitryme has quit IRC15:04
*** sacharya has joined #savanna15:04
*** rnirmal has quit IRC15:10
*** dina_belova has joined #savanna15:13
openstackgerritIvan Berezovskiy proposed a change to stackforge/savanna-extra: Add DIB mysql element  https://review.openstack.org/4312815:18
*** dina_belova has quit IRC15:18
tmckayquestion all, where do the unit tests create a savanna db?  It is not persistent, is it?15:19
openstackgerritNadya Privalova proposed a change to stackforge/savanna: First version of job manager  https://review.openstack.org/4230415:24
nprivalovatmckay, try to run tests, but stop it before ending. after that find file with name 'savanna.db' or smth like that15:30
tmckaythanks15:31
*** akuznetsov has quit IRC15:49
*** SergeyLukjanov has joined #savanna15:49
*** nprivalova has quit IRC15:51
*** dina_belova has joined #savanna15:54
*** ivan1 has left #savanna15:54
*** ruhe has quit IRC16:05
openstackgerritTrevor McKay proposed a change to stackforge/savanna: Add database support for JobBinary objects  https://review.openstack.org/4272216:06
*** SergeyLukjanov has quit IRC16:16
*** rnirmal has joined #savanna16:18
*** ruhe has joined #savanna16:21
*** SergeyLukjanov has joined #savanna16:28
*** dina_belova has quit IRC16:32
*** dina_belova has joined #savanna16:37
*** akuznetsov has joined #savanna16:38
*** tmckay is now known as _tmckay16:51
*** ruhe has quit IRC17:04
*** SergeyLukjanov has quit IRC17:09
*** dina_belova has quit IRC17:10
*** dina_belova has joined #savanna17:12
*** dina_belova has quit IRC17:15
*** akuznetsov has quit IRC17:25
*** ruhe has joined #savanna17:26
*** akuznetsov has joined #savanna17:28
*** akuznetsov has quit IRC17:41
*** rnirmal has quit IRC17:43
*** SergeyLukjanov has joined #savanna17:43
openstackgerritA change was merged to stackforge/savanna: Added Heap Size provisioning for Oozie  https://review.openstack.org/4292917:44
crobertsrh_tmckay, anyone else:  currently job contains input_type and output_type.  Should those actually be an input_data_source and output_data_source?  I just noticed this while reviewing the job manager code.  Job manager requires data_source_id for input and output. It seems like those should be defined in the job itself.17:48
*** dina_belova has joined #savanna17:54
*** _tmckay is now known as tmckay17:57
tmckaycrobertsrh I'll take a look...17:57
crobertsrhOk, I could just be misunderstanding something17:57
crobertsrhI'm just not sure what good it is to have the job store the type of the input/output rather than an actual data_source (id)17:58
tmckaycrobertsrh, it could be that the input/output ids are in the JobExecution17:58
*** ruhe has quit IRC17:58
tmckayiirc, a JobExecution ends up essentially being an instance of a Job.17:58
crobertsrhbut what use is it to bother with the types of input/output if they're never actually used anywhere?17:59
crobertsrhRight, looking at the code for executing a job lead me down this path.17:59
tmckaycrobertsrh, it might be informational, a nod to the user about where the job can pull from/write to.  nprivalova is the export18:02
crobertsrhYeah, I commented on her review.  Hope to hear from her tomorrow.18:02
tmckayI know she had put up some notes on the pad... Maybe something there explains it18:03
crobertsrhOk, I'll see what I can dig up.  Thanks.18:03
*** rnirmal has joined #savanna18:08
openstackgerritSergey Lukjanov proposed a change to stackforge/python-savannaclient: Update pbr and sync requirements  https://review.openstack.org/4317218:09
openstackgerritSergey Lukjanov proposed a change to stackforge/python-savannaclient: Added API for job, data_source and job_origin  https://review.openstack.org/4264118:10
openstackgerritSergey Lukjanov proposed a change to stackforge/python-savannaclient: Now create methods return a new object  https://review.openstack.org/4266818:13
*** mattf is now known as _mattf18:18
openstackgerritSergey Lukjanov proposed a change to stackforge/savanna: Migrate to pbr  https://review.openstack.org/3748018:26
*** _mattf is now known as mattf18:27
openstackgerritMatthew Farrellee proposed a change to stackforge/savanna-extra: Add LICENSE file  https://review.openstack.org/4317718:39
openstackgerritMatthew Farrellee proposed a change to stackforge/savanna-extra: Add missing #! to 81-add-jar  https://review.openstack.org/4317818:46
openstackgerritA change was merged to stackforge/savanna-extra: Add LICENSE file  https://review.openstack.org/4317718:49
*** akuznetsov has joined #savanna18:57
* mattf scratches head a bit on hive & mysql reviews19:09
mattfthe review transaction is gonna be a little convoluted19:10
SergeyLukjanovmattf, yep, it's frustrating19:12
mattfi think i'm going to review mysql only, then copy +1 to the hive review.19:14
tmckaySergeyLukjanov, on query filtering in REST, I was thinking that sometimes you may want to look up by name, and sometimes you may want id.  "list all" could be a large response if there are a lot of objects and a user is trying to find a parituclar one.  Maybe "/binaries", "/binaries/<id>" and "/binaries/name/<name>" is better?  (same for any edp object with a name)19:24
SergeyLukjanovtmckay, I prefer to have some general way to support filtering for all list ops19:25
SergeyLukjanovlet's omit it for now and create a bp or issue for it19:26
SergeyLukjanovto don't forget to return back to it when all main features will be implemented19:26
tmckayalright.  Do you want to limit the api to (for example) "/binaries" and "binaries/<id>" for list operations for now?19:27
tmckayno names?19:27
mattfhmm -- https://review.openstack.org/#/c/43128/2/elements/mysql/install.d/99-clean-apt19:31
mattfi think i just saw a bug float by about cleaning caches19:31
* mattf ponders19:31
SergeyLukjanovtmckay, yep19:32
mattfsoooooo....cleaning cache should happen unconditionally, not just after mysql install19:32
mattfand should really not be part of the mysql review19:32
mattfi'm starting to rethink my position on it being ok to have hive + mysql reviews overlapping like this.19:32
tmckaySergeyLukjanov, okey doke.  By the way, I added a datasize field to the JobBinary, I thought "how big" might be something someone is interested in :)  Coming soon to a review near you.19:33
rnirmalmattf: so this is having mysql configured specifically for hive right ?19:38
mattfrnirmal, yes. it's about getting mysql & hive in the disk image19:40
rnirmalhmm yeah just looking at it... not sure mysql startup fits in the hive postinstall19:41
rnirmalI wanted to discuss a few other items.. not sure who all are around at this time19:43
mattfi'll have a look at that w/ the next review request. it's kinda messy atm.19:43
rnirmalbut wanted to talk about https://blueprints.launchpad.net/savanna/+spec/refactor-v1api today or tomorrow before the meeting and at the meeting19:43
mattfgetting it on the agenda for tomorrow seems like a good idea19:44
rnirmalcool I'll add that.19:44
rnirmalI've been wanting to talk about it for the past two meetings and either I've had to leave early or the discussion dovetails into something else :)19:45
mattfwell i won't be taking up much time this week19:48
*** akuznetsov has quit IRC19:49
rnirmalthere's always plenty to discuss19:52
mattfmay have to deal with an uprising when None beats SergeyLukjanov for the PTL position19:59
SergeyLukjanovrnirmal, hi20:03
SergeyLukjanovrnirmal, I was looking at your bp several days ago, but it's very difficult to find some concrete suggestions, could you please add some concrete points to improve?20:09
rnirmalSergeyLukjanov: yes I'll try to refine it more into talking points20:12
SergeyLukjanovrnirmal, thank you20:12
rnirmalthat way it will help with discussions. I want to also provide good use case scenarios as well20:12
rnirmalSergeyLukjanov: do you have users already actively using the api20:13
*** rnirmal has quit IRC20:18
*** benl has joined #savanna20:19
SergeyLukjanovrnirmal, I think now is the best time to improve api20:21
SergeyLukjanovbtw we're preparing 1.1 version with EDP20:21
*** crobertsrh is now known as _crobertsrh20:25
openstackgerritTrevor McKay proposed a change to stackforge/savanna: Add database support for JobBinary objects  https://review.openstack.org/4272220:33
*** rnirmal has joined #savanna20:38
rnirmalthat sounds good, I'll look at the EDP api as well20:39
*** dina_belova has quit IRC21:16
openstackgerritTrevor McKay proposed a change to stackforge/savanna: Add a stub API for managing job binaries in the savanna db  https://review.openstack.org/4221321:27
*** tmckay has quit IRC21:38
*** tmckay has joined #savanna21:40
*** SergeyLukjanov has quit IRC21:45
*** mattf is now known as _mattf21:56
*** dina_belova has joined #savanna22:17
*** dina_belova has quit IRC22:21
*** dina_belova has joined #savanna22:27
*** dina_belova has quit IRC22:32
*** sacharya has quit IRC22:48
*** benl has quit IRC22:53
*** rnirmal has quit IRC23:05
*** dina_belova has joined #savanna23:28
*** dina_belova has quit IRC23:32
*** jcooley has quit IRC23:41
*** jcooley has joined #savanna23:44
*** sacharya has joined #savanna23:51

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