diff --git a/hadoop-yarn-project/CHANGES.txt b/hadoop-yarn-project/CHANGES.txt index 66aadcb84e3..146c9421e68 100644 --- a/hadoop-yarn-project/CHANGES.txt +++ b/hadoop-yarn-project/CHANGES.txt @@ -816,6 +816,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 diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-api/src/main/java/org/apache/hadoop/yarn/api/protocolrecords/MoveApplicationAcrossQueuesResponse.java b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-api/src/main/java/org/apache/hadoop/yarn/api/protocolrecords/MoveApplicationAcrossQueuesResponse.java index 109e7c4f71a..35846dd6417 100644 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-api/src/main/java/org/apache/hadoop/yarn/api/protocolrecords/MoveApplicationAcrossQueuesResponse.java +++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-api/src/main/java/org/apache/hadoop/yarn/api/protocolrecords/MoveApplicationAcrossQueuesResponse.java @@ -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;