def job_design_migration_for_jar(jd):
 data = json.loads(jd.data)
 action = OozieJavaAction(action_type=OozieJavaAction.ACTION_TYPE, jar_path=data['jarfile'], main_class='please.specify.in.the.job.design', args=data['arguments'])
 action.save()
 design = OozieDesign(owner=jd.owner, name=(jd.name + ' (incomplete)'), description=jd.description, root_action=action)
 design.save()

def job_design_migration_for_jar ( jd ) : data = json . loads ( jd . data ) action = OozieJavaAction ( action_type = OozieJavaAction . ACTION_TYPE , jar_path = data [ 'jarfile' ] , main_class = 'please.specify.in.the.job.design' , args = data [ 'arguments' ] ) action . save ( ) design = OozieDesign ( owner = jd . owner , name = ( jd . name + ' (incomplete)' ) , description = jd . description , root_action = action ) design . save ( )
migrate one jar type design .