Re: [openstack-dev] [Sahara] [EDP] about get_job_status in oozie engine

2015-06-23 Thread Trevor McKay
Hi Lu, yes, you're right. Return is a dictionary and for the other EDP engines only status is returned (and we primarily care about status). For Oozie, there is more information. I'm fine with changing the name to get_job_info() throughout the job_manager and EDP. It actually raises the

[openstack-dev] [Sahara] [EDP] about get_job_status in oozie engine

2015-06-23 Thread lu jander
Hi Trevor in sahara oozie engine (sahara/service/edp/oozie/engine.py sahara/service/edp/oozie/oozie.py) function get_job_status actually returns not only the status of the job, but it returns all the info about the job, so i think that we should rename this function as get_job_info maybe more

Re: [openstack-dev] [Sahara] [EDP] about get_job_status in oozie engine

2015-06-23 Thread lu jander
Hi Trevor I am huichun I agree with you, currently sahara edp engine and DB mixed with lots of oozieness info, abstract incompletely. i find this issue because i want add recurrence edp job in sahara, and with oozie implementation, i find i need these oozie information not only the status value.