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.
|
||||
(Sunil G via wangda)
|
||||
|
||||
YARN-4188. Make MoveApplicationAcrossQueues abstract, newInstance static.
|
||||
(Giovanni Matteo Fumarola via cdouglas)
|
||||
|
||||
Release 2.7.2 - UNRELEASED
|
||||
|
||||
INCOMPATIBLE CHANGES
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue