YARN-4188. Make MoveApplicationAcrossQueues abstract, newInstance static

Contributed by Giovanni Matteo Fumarola
This commit is contained in:
Chris Douglas 2015-09-21 17:51:48 -07:00
parent b00392dd9c
commit 8e01b0d97a
2 changed files with 6 additions and 2 deletions

View File

@ -868,6 +868,9 @@ Release 2.8.0 - UNRELEASED
YARN-4113. RM should respect retry-interval when uses RetryPolicies.RETRY_FOREVER.
(Sunil G via wangda)
YARN-4188. Make MoveApplicationAcrossQueues abstract, newInstance static.
(Giovanni Matteo Fumarola via cdouglas)
Release 2.7.2 - UNRELEASED
INCOMPATIBLE CHANGES

View File

@ -15,6 +15,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.apache.hadoop.yarn.api.protocolrecords;
import org.apache.hadoop.classification.InterfaceAudience.Private;
@ -36,10 +37,10 @@ import org.apache.hadoop.yarn.util.Records;
*/
@Public
@Unstable
public class MoveApplicationAcrossQueuesResponse {
public abstract class MoveApplicationAcrossQueuesResponse {
@Private
@Unstable
public MoveApplicationAcrossQueuesResponse newInstance() {
public static MoveApplicationAcrossQueuesResponse newInstance() {
MoveApplicationAcrossQueuesResponse response =
Records.newRecord(MoveApplicationAcrossQueuesResponse.class);
return response;