|
@@ -15,7 +15,7 @@
|
|
|
* See the License for the specific language governing permissions and
|
|
|
* limitations under the License.
|
|
|
*/
|
|
|
-package org.apache.hadoop.yarn.api.records.impl;
|
|
|
+package org.apache.hadoop.yarn.api.records.impl.pb;
|
|
|
|
|
|
import java.util.ArrayList;
|
|
|
import java.util.HashSet;
|
|
@@ -23,14 +23,13 @@ import java.util.Iterator;
|
|
|
import java.util.List;
|
|
|
import java.util.Set;
|
|
|
|
|
|
-import org.apache.hadoop.yarn.api.protocolrecords.PreemptionResourceRequest;
|
|
|
-import org.apache.hadoop.yarn.api.protocolrecords.impl.pb.PreemptionResourceRequestPBImpl;
|
|
|
import org.apache.hadoop.yarn.api.records.PreemptionContainer;
|
|
|
import org.apache.hadoop.yarn.api.records.PreemptionContract;
|
|
|
-import org.apache.hadoop.yarn.proto.YarnServiceProtos.PreemptionContainerProto;
|
|
|
-import org.apache.hadoop.yarn.proto.YarnServiceProtos.PreemptionContractProto;
|
|
|
-import org.apache.hadoop.yarn.proto.YarnServiceProtos.PreemptionContractProtoOrBuilder;
|
|
|
-import org.apache.hadoop.yarn.proto.YarnServiceProtos.PreemptionResourceRequestProto;
|
|
|
+import org.apache.hadoop.yarn.api.records.PreemptionResourceRequest;
|
|
|
+import org.apache.hadoop.yarn.proto.YarnProtos.PreemptionContainerProto;
|
|
|
+import org.apache.hadoop.yarn.proto.YarnProtos.PreemptionContractProto;
|
|
|
+import org.apache.hadoop.yarn.proto.YarnProtos.PreemptionContractProtoOrBuilder;
|
|
|
+import org.apache.hadoop.yarn.proto.YarnProtos.PreemptionResourceRequestProto;
|
|
|
|
|
|
public class PreemptionContractPBImpl extends PreemptionContract {
|
|
|
|