[
https://issues.apache.org/jira/browse/YARN-7439?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16238099#comment-16238099
]
Carlo Curino commented on YARN-7439:
------------------------------------
# The main documentation page for the ReservationSystem
(http://hadoop.apache.org/docs/current/hadoop-yarn/hadoop-yarn-site/ReservationSystem.html)
should call out how to switch on the reservaiton system in yarn-site.xml
# The submission-reservation.json example in
(http://hadoop.apache.org/docs/current/hadoop-yarn/hadoop-yarn-site/ResourceManagerRest.html#Cluster_Reservation_API_Submit)
is missing a coma after reservation id.
# When the reservation system is disabled and we attempt to invoke
new-reservation we get:
{code}
{
"RemoteException": {
"exception": "YarnRuntimeException",
"message": "Unable to create new reservation from RM web service",
"javaClassName": "org.apache.hadoop.yarn.exceptions.YarnRuntimeException"
}
}
{code}
which is not the most telling message. By constrast the submission throws back
a more appropriate:
{code}
{
"RemoteException": {
"exception": "BadRequestException",
"message": "java.lang.Exception: Reservation is not enabled. Please enable
& try again",
"javaClassName": "org.apache.hadoop.yarn.webapp.BadRequestException"
}
}
{code}
> Minor improvements to Reservation System documentation/exceptions
> -----------------------------------------------------------------
>
> Key: YARN-7439
> URL: https://issues.apache.org/jira/browse/YARN-7439
> Project: Hadoop YARN
> Issue Type: Bug
> Reporter: Carlo Curino
>
> This JIRA tracks a couple of minor issues with docs and exception for the
> reservation system.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]