[jira] [Commented] (YARN-2609) Example of use for the ReservationSystem
[ https://issues.apache.org/jira/browse/YARN-2609?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16727527#comment-16727527 ] Abhishek Modi commented on YARN-2609: - [~curino] if you are not actively working on it, can I take it up. > Example of use for the ReservationSystem > > > Key: YARN-2609 > URL: https://issues.apache.org/jira/browse/YARN-2609 > Project: Hadoop YARN > Issue Type: Sub-task >Reporter: Carlo Curino >Assignee: Carlo Curino >Priority: Minor > Attachments: YARN-2609.docx, YARN-2609.patch > > > This JIRA provides a simple new example in mapreduce-examples that request a > reservation and submit a Pi computation in the reservation. This is meant > just to show how to interact with the reservation system. -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org
[jira] [Commented] (YARN-2609) Example of use for the ReservationSystem
[ https://issues.apache.org/jira/browse/YARN-2609?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14738670#comment-14738670 ] Bibin A Chundatt commented on YARN-2609: Minor comment from my side. If parameters not passed. {code} java.lang.ArrayIndexOutOfBoundsException: 0 at org.apache.hadoop.examples.ReservationClientDemo.run(ReservationClientDemo.java:95) at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70) {code} # Parameter check can be done # Usage of example class too will be good to add > Example of use for the ReservationSystem > > > Key: YARN-2609 > URL: https://issues.apache.org/jira/browse/YARN-2609 > Project: Hadoop YARN > Issue Type: Sub-task >Reporter: Carlo Curino >Assignee: Carlo Curino >Priority: Minor > Attachments: YARN-2609.docx, YARN-2609.patch > > > This JIRA provides a simple new example in mapreduce-examples that request a > reservation and submit a Pi computation in the reservation. This is meant > just to show how to interact with the reservation system. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (YARN-2609) Example of use for the ReservationSystem
[ https://issues.apache.org/jira/browse/YARN-2609?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14154371#comment-14154371 ] Jian He commented on YARN-2609: --- looks good overall, some minor comments: - we can use the newInstance method {code} ReservationSubmissionRequest request = new ReservationSubmissionRequestPBImpl(); ReservationDefinition rDef = new ReservationDefinitionPBImpl(); ReservationRequests reqs = new ReservationRequestsPBImpl(); {code} - I found the setter is set{{ReservationResources}}, but the parameter type is {{ReservationRequest}}, is this inconsistency intentional ? {code} public abstract void setReservationResources( ListReservationRequest reservationResources); {code} Example of use for the ReservationSystem Key: YARN-2609 URL: https://issues.apache.org/jira/browse/YARN-2609 Project: Hadoop YARN Issue Type: Improvement Reporter: Carlo Curino Assignee: Carlo Curino Priority: Minor Attachments: YARN-2609.docx, YARN-2609.patch This JIRA provides a simple new example in mapreduce-examples that request a reservation and submit a Pi computation in the reservation. This is meant just to show how to interact with the reservation system. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (YARN-2609) Example of use for the ReservationSystem
[ https://issues.apache.org/jira/browse/YARN-2609?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14150285#comment-14150285 ] Carlo Curino commented on YARN-2609: Per [~kasha] request we provide a simple way to see YARN-1051 in action (adding to the mapreduce-examples), and provide a brief usage document. Please refer to the documents associated with YARN-1051 for a more context and design vision. This patch can be improved/extended for actual commit, this is just to facilitate the evaluation of YARN-1051 for the merge-to-trunk ongoing vote. Example of use for the ReservationSystem Key: YARN-2609 URL: https://issues.apache.org/jira/browse/YARN-2609 Project: Hadoop YARN Issue Type: Improvement Reporter: Carlo Curino Assignee: Carlo Curino Priority: Minor Attachments: YARN-2609.docx, YARN-2609.patch This JIRA provides a simple new example in mapreduce-examples that request a reservation and submit a Pi computation in the reservation. This is meant just to show how to interact with the reservation system. -- This message was sent by Atlassian JIRA (v6.3.4#6332)