hadoop-yarn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arun Suresh (JIRA)" <j...@apache.org>
Subject [jira] [Created] (YARN-5552) Add Builder methods for common yarn API records
Date Tue, 23 Aug 2016 13:25:22 GMT
Arun Suresh created YARN-5552:
---------------------------------

             Summary: Add Builder methods for common yarn API records
                 Key: YARN-5552
                 URL: https://issues.apache.org/jira/browse/YARN-5552
             Project: Hadoop YARN
          Issue Type: Improvement
            Reporter: Arun Suresh


Currently yarn API records such as ResourceRequest, AllocateRequest/Respone as well as AMRMClient.ContainerRequest
have multiple constructors / newInstance methods. This makes it very difficult to add new
fields to these records.

It would probably be better if we had Builder classes for many of these records, which would
make evolution of these records a bit easier.

(suggested by [~kasha])



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-dev-help@hadoop.apache.org


Mime
View raw message