aurora-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zameer Manji (JIRA)" <>
Subject [jira] [Created] (AURORA-1897) Remove task length restrictions.
Date Wed, 01 Mar 2017 23:27:45 GMT
Zameer Manji created AURORA-1897:

             Summary: Remove task length restrictions.
                 Key: AURORA-1897
             Project: Aurora
          Issue Type: Task
            Reporter: Zameer Manji
            Priority: Minor

Currently we restrict the total name of a task because of a Mesos bug:
  // This number is derived from the maximum file name length limit on most UNIX systems,
  // the number of characters we've observed being added by mesos for the executor ID, prefix,
  // delimiters.
  static final int MAX_TASK_ID_LENGTH = 255 - 90;
    // TODO(maximk): This is a short-term hack to stop the bleeding from
    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.");

However [~codyg] recently [asked|]
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

View raw message