YARN-4188. Make MoveApplicationAcrossQueues abstract, newInstance static
Contributed by Giovanni Matteo Fumarola
(cherry picked from commit 8e01b0d97a
)
This commit is contained in:
parent
fafcb4ac4e
commit
b39b61e356
|
@ -816,6 +816,9 @@ Release 2.8.0 - UNRELEASED
|
||||||
YARN-4113. RM should respect retry-interval when uses RetryPolicies.RETRY_FOREVER.
|
YARN-4113. RM should respect retry-interval when uses RetryPolicies.RETRY_FOREVER.
|
||||||
(Sunil G via wangda)
|
(Sunil G via wangda)
|
||||||
|
|
||||||
|
YARN-4188. Make MoveApplicationAcrossQueues abstract, newInstance static.
|
||||||
|
(Giovanni Matteo Fumarola via cdouglas)
|
||||||
|
|
||||||
Release 2.7.2 - UNRELEASED
|
Release 2.7.2 - UNRELEASED
|
||||||
|
|
||||||
INCOMPATIBLE CHANGES
|
INCOMPATIBLE CHANGES
|
||||||
|
|
|
@ -15,6 +15,7 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package org.apache.hadoop.yarn.api.protocolrecords;
|
package org.apache.hadoop.yarn.api.protocolrecords;
|
||||||
|
|
||||||
import org.apache.hadoop.classification.InterfaceAudience.Private;
|
import org.apache.hadoop.classification.InterfaceAudience.Private;
|
||||||
|
@ -36,10 +37,10 @@ import org.apache.hadoop.yarn.util.Records;
|
||||||
*/
|
*/
|
||||||
@Public
|
@Public
|
||||||
@Unstable
|
@Unstable
|
||||||
public class MoveApplicationAcrossQueuesResponse {
|
public abstract class MoveApplicationAcrossQueuesResponse {
|
||||||
@Private
|
@Private
|
||||||
@Unstable
|
@Unstable
|
||||||
public MoveApplicationAcrossQueuesResponse newInstance() {
|
public static MoveApplicationAcrossQueuesResponse newInstance() {
|
||||||
MoveApplicationAcrossQueuesResponse response =
|
MoveApplicationAcrossQueuesResponse response =
|
||||||
Records.newRecord(MoveApplicationAcrossQueuesResponse.class);
|
Records.newRecord(MoveApplicationAcrossQueuesResponse.class);
|
||||||
return response;
|
return response;
|
||||||
|
|
Loading…
Reference in New Issue