Input and Output args should be optional parameters

Bug #1670227 reported by linjiasen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Python client library for Sahara
Fix Released
Undecided
linjiasen

Bug Description

When I used command "dataprocessing job execute", the option --input and --output must be defined otherwise I can't excute job. Because it alwalys return error_code 404. Acutually, we can use option --args to appoint input_url and output_url.So I think --input and --output should be optional.

linjiasen (jiasen.lin)
Changed in sahara:
assignee: nobody → linjiasen (jiasen.lin)
affects: sahara → python-saharaclient
summary: - fix a sahara-client bug
+ Input and Output args should be optional parameters
Revision history for this message
andrew (ford885) wrote :

+1, thought about it executing recently that command on http://schipholparkerenvergelijken.nl/ backend.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on python-saharaclient (master)

Change abandoned by jiasen.lin (<email address hidden>) on branch: master
Review: https://review.openstack.org/440311
Reason: duplicate.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Change abandoned by jiasen.lin (<email address hidden>) on branch: master
Review: https://review.openstack.org/448348

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-saharaclient (master)

Reviewed: https://review.openstack.org/447296
Committed: https://git.openstack.org/cgit/openstack/python-saharaclient/commit/?id=378490d44da1e3b2fede1d868b5554d91f8c523d
Submitter: Jenkins
Branch: master

commit 378490d44da1e3b2fede1d868b5554d91f8c523d
Author: jiasen.lin <email address hidden>
Date: Sun Mar 19 21:22:43 2017 +0800

    Fix a bug in jobs.py

    When I used command "dataprocessing job execute", the option
    --input and --output must be defined otherwise I can't excute job.
    Because it alwalys return error_code 404. Acutually, we can use
    option --args to appoint input_url and output_url.So I think
    --input and --output should be optional.
    add:
        test_job_execute_with_input_output_option()
    Closes-Bug: #1670227

    Change-Id: Ia2d3a19658ad78f7c07f444131dddf836bb8018e

Changed in python-saharaclient:
status: New → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/python-saharaclient 1.2.0

This issue was fixed in the openstack/python-saharaclient 1.2.0 release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.