commit | 984f37bd45429f90cb526467ae58bf656d8ad530 | [log] [tgz] |
---|---|---|
author | Neil Conway <neil.conway@gmail.com> | Fri Feb 26 18:09:12 2016 -0800 |
committer | Michael Park <mpark@apache.org> | Fri Feb 26 21:56:12 2016 -0800 |
tree | 28f04db05ef73efc19ed83317ba343435bd8f398 | |
parent | ef9a18cb1901c77edab7963c810459f699f84979 [diff] |
Changed scalar resources to use fixed-point internally. Scalar resource values are represented using floating point. As a result, users could see unexpected results when accepting offers and making reservations for fractional resources: values like "0.1" cannot be precisely represented using standard floating point, and the resource values returned to frameworks might contain an unpredictable amount of roundoff error. This commit adjusts the master to use fixed-point when doing internal computations on scalar resource values. The fixed-point format only supports three decimal digits of precision: that is, fractional resource values like "0.001" will be supported, but "0.0001" will not be. Review: https://reviews.apache.org/r/43635/
Apache Mesos is a cluster manager that provides efficient resource isolation and sharing across distributed applications, or frameworks. It can run Hadoop, MPI, Hypertable, Spark, and other frameworks on a dynamically shared pool of nodes.
Visit us at mesos.apache.org.
Documentation is available in the docs/ directory. Additionally, a rendered HTML version can be found on the Mesos website's Documentation page.
Instructions are included on the Getting Started page.
Apache Mesos is licensed under the Apache License, Version 2.0.
For additional information, see the LICENSE and NOTICE files.