Uploaded image for project: 'Aurora'
  1. Aurora
  2. AURORA-1897

Remove task length restrictions.

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 0.19.0
    • None
    • None

    Description

      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, 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.");
          }
      

      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.

      Attachments

        Issue Links

          Activity

            People

              zmanji Zameer Manji
              zmanji Zameer Manji
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: