YARN-4081. Add support for multiple resource types in the Resource class. 
(Varun Vasudev via wangda)


Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/09f27e5b
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/09f27e5b
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/09f27e5b

Branch: refs/heads/YARN-3926
Commit: 09f27e5bb54251bb812314012397693dd8ee4e74
Parents: e49e0a6
Author: Wangda Tan <wan...@apache.org>
Authored: Thu Sep 10 09:43:26 2015 -0700
Committer: Varun Vasudev <vvasu...@apache.org>
Committed: Fri Jan 27 23:11:51 2017 +0530

----------------------------------------------------------------------
 .../src/main/resources/META-INF/LICENSE.txt     | 1661 ++++++++++++++++++
 .../src/main/resources/META-INF/NOTICE.txt      |  283 +++
 .../yarn/api/protocolrecords/ResourceTypes.java |   27 +
 .../hadoop/yarn/api/records/Resource.java       |  204 ++-
 .../yarn/api/records/ResourceInformation.java   |  218 +++
 .../exceptions/ResourceNotFoundException.java   |   45 +
 .../hadoop/yarn/util/UnitsConversionUtil.java   |  197 +++
 .../src/main/proto/yarn_protos.proto            |   12 +
 .../yarn/conf/TestResourceInformation.java      |   70 +
 .../yarn/util/TestUnitsConversionUtil.java      |  120 ++
 .../yarn/api/records/impl/pb/ProtoUtils.java    |   13 +
 .../api/records/impl/pb/ResourcePBImpl.java     |  197 ++-
 .../hadoop/yarn/util/resource/Resources.java    |  136 +-
 .../hadoop/yarn/api/TestPBImplRecords.java      |    3 +
 14 files changed, 3097 insertions(+), 89 deletions(-)
----------------------------------------------------------------------



---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-commits-h...@hadoop.apache.org

Reply via email to