|
@@ -20,21 +20,13 @@
|
|
|
package org.elasticsearch.rest.action.admin.indices.upgrade;
|
|
|
|
|
|
import com.google.common.base.Predicate;
|
|
|
-import org.apache.commons.lang3.exception.ExceptionUtils;
|
|
|
import org.apache.http.impl.client.HttpClients;
|
|
|
-import org.apache.lucene.util.Version;
|
|
|
import org.elasticsearch.ExceptionsHelper;
|
|
|
-import org.elasticsearch.action.ActionListener;
|
|
|
-import org.elasticsearch.action.ListenableActionFuture;
|
|
|
-import org.elasticsearch.action.admin.indices.segments.IndicesSegmentResponse;
|
|
|
import org.elasticsearch.action.index.IndexRequestBuilder;
|
|
|
import org.elasticsearch.common.settings.ImmutableSettings;
|
|
|
import org.elasticsearch.common.settings.Settings;
|
|
|
-import org.elasticsearch.common.xcontent.XContentParser;
|
|
|
-import org.elasticsearch.common.xcontent.json.JsonXContent;
|
|
|
import org.elasticsearch.node.internal.InternalNode;
|
|
|
import org.elasticsearch.test.ElasticsearchBackwardsCompatIntegrationTest;
|
|
|
-import org.elasticsearch.test.rest.client.RestResponse;
|
|
|
import org.elasticsearch.test.rest.client.http.HttpRequestBuilder;
|
|
|
import org.elasticsearch.test.rest.client.http.HttpResponse;
|
|
|
import org.elasticsearch.test.rest.json.JsonPath;
|