aurora-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Renan DelValle (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (AURORA-1739) createJob thrift api for golang consistenly failing with empty CronSchedule
Date Fri, 16 Sep 2016 21:01:20 GMT

     [ https://issues.apache.org/jira/browse/AURORA-1739?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Renan DelValle resolved AURORA-1739.
------------------------------------
       Resolution: Fixed
    Fix Version/s: 0.16.0

https://reviews.apache.org/r/51973/

> createJob thrift api for golang consistenly failing with empty CronSchedule
> ---------------------------------------------------------------------------
>
>                 Key: AURORA-1739
>                 URL: https://issues.apache.org/jira/browse/AURORA-1739
>             Project: Aurora
>          Issue Type: Bug
>          Components: Client
>    Affects Versions: 0.15.0
>            Reporter: Jimmy Wu
>            Assignee: Renan DelValle
>            Priority: Critical
>             Fix For: 0.16.0
>
>
> trying to create non cron job via the thrift api for golang  but consistently getting
error "Cron jobs may only be created/updated by calling scheduleCronJob.".  Root cause : 
CronSchedule is not set in JobConfiguration hence an empty string is used, then create job
request gets rejected because aurora now treats empty cron schedule as failure (related changes
https://reviews.apache.org/r/28571/).  This issue breaks all createJob requests submitted
from golang thrift api because empty string is default value for string instead of nil.  



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message