Skip to content

Singularity 0.20.0

Compare
Choose a tag to compare
@ssalinas ssalinas released this 11 Jun 21:41

Changes in 0.20.0

Check out the 0.20.0 milestone to see new features / bugfixes in detail.

Configuration Changes

#1784 simplified the configuration for the weighting of different resources when evaluating offers. An old version of the config would look like:

mesos:
  longRunningFreeResourceWeight: 0.5
  longRunningUsedResourceWeight: 0.5
  nonLonRunningFreeResourceWeight: 0.5
  nonLongRunningUsedResourceWeight: 0.5
  scoringStrategy: SPREAD_TASK_USAGE

longRunningUsedCpuWeightForOffer: 0.25
longRunningUsedMemWeightForOffer: 0.65
longRunningUsedDiskWeightForOffer: 0.1
freeCpuWeightForOffer: 0.25
freeMemWeightForOffer: 0.65
freeDiskWeightForOffer: 0.1
defaultOfferScoreForMissingUsage: 0.3
maxNonLongRunningUsedResourceWeight: 0.5
considerNonLongRunningTaskLongRunningAfterRunningForSeconds: 3600

The new simplified config is now (defaults are shown):

mesos:
  allocatedResourceWeight: 0.5
  inUseResourceWeight: 0.5
  cpuWeight: 0.4
  memWeight: 0.4
  diskWeight: 0.2

Default behavior remains the same while eliminating complexity in the scoring system for evaluating offers

New Features

  • Singularity now has new api docs (PR link) powered by an updated version of swagger and using open api 3.0. A page is available in the UI when running Singularity to view the docs for the release you are currently running.
  • 1775 - Add an optional cpu hard limit

Improvements

  • 1800 - Ability to maintain the same path for custom nav bar links
  • 1795 - Add clear all buttons for dead slaves and inactive hosts
  • 1783 - Simplify mesos master uri parsing
  • 1796 - Allow a buffer for tasks near the cpu hard limit
  • 1727 - Allow user to configure which load metric is used for offer scoring
  • 1720 - Account for expected usage when scoring offers
  • 1763 - Support SSE S3 in SingularityUploader
  • 1770 - Support a configurable delay for task shuffles.
  • 1776 - Configurably omit offers from hosts that are overloaded
  • 1787 - Add run time column to request item's task history
  • 1769 - Support placeholders in webhook URIs.
  • 1778 - Include current task usage in the task shuffle cleanup messages
  • 1785 - Send email on failing replacement tasks.
  • 1788 - Add ability to set attributes that mark slave for only preemptible tasks

Bug Fixes

  • 1805 - Fix race condition where two tasks decommission at the same time
  • 1797 - Fix UI message for incremental deploy counts
  • 1716 - Remove expiring scale when new scale has no expiration
  • 1724 - Uploader refactoring and additional attempts for immediate uploaders
  • 1732 - Better check for finish of a bounce
  • 1781 - Log the full list of healthy task ids when killing a task
  • 1777 - Do not upload files outside task sandbox
  • 1782 - Proxy run-nows to the leader.
  • 1773 - Retry lost tasks
  • 1794 - Key run-nows with runId in addition to current epoch millis.

Thanks