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

Cody Gibb reassigned AURORA-1897:
---------------------------------

    Assignee: Cody Gibb

> Remove task length restrictions.
> --------------------------------
>
>                 Key: AURORA-1897
>                 URL: https://issues.apache.org/jira/browse/AURORA-1897
>             Project: Aurora
>          Issue Type: Task
>            Reporter: Zameer Manji
>            Assignee: Cody Gibb
>            Priority: Minor
>
> Currently we restrict the total name of a task because of a Mesos bug:
> {noformat}
>   // This number is derived from the maximum file name length limit on most 
> UNIX systems, less
>   // the number of characters we've observed being added by mesos for the 
> executor ID, prefix, and
>   // delimiters.
>   @VisibleForTesting
>   static final int MAX_TASK_ID_LENGTH = 255 - 90;
> ....
>     // TODO(maximk): This is a short-term hack to stop the bleeding from
>     //               https://issues.apache.org/jira/browse/MESOS-691
>     if (taskIdGenerator.generate(task, totalInstances).length() > 
> MAX_TASK_ID_LENGTH) {
>       throw new TaskValidationException(
>           "Task ID is too long, please shorten your role or job name.");
>     }
> {noformat} 
> However [~codyg] recently 
> [asked|https://lists.apache.org/thread.html/ca92420fe6394d6467f70989e1ffadac23775e84cf7356ff8c9efdd5@%3Cdev.mesos.apache.org%3E]
>  on the mesos mailing list about MESOS-691 and learned that it is no longer 
> valid.
> We should remove this restriction.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to