Upgrade migration path?


(IvanBrusic) #1

Due to a change in the API, I decided to upgrade from 0.12.1 to
0.13.1. I copied the entire work directory plus my custom mappings
from config into the new install directory.

Startup seems fine, but my client is showing issues:

17:49:45.846 [New I/O client worker #1-1] WARN transport.netty -
[Warlock] Message not fully read (response) for [0] handler
org.elasticsearch.client.transport.TransportClientNodesService
$ScheduledNodesSampler$1$1@2e56c4eb, error [false], resetting
17:49:45,858 ERROR ~ Missing ad hosts file: data/adhosts/adhosts.dat
17:49:46.725 [New I/O client worker #1-1] WARN transport.netty -
[Warlock] Message not fully read (response) for [1] handler
org.elasticsearch.client.transport.TransportClientNodesService
$ScheduledNodesSampler$1$1@3267b4ba, error [false], resetting
17:49:47.728 [New I/O client worker #1-1] WARN transport.netty -
[Warlock] Message not fully read (response) for [2] handler
org.elasticsearch.client.transport.TransportClientNodesService
$ScheduledNodesSampler$1$1@1cbcfd, error [false], resetting
17:49:48.731 [New I/O client worker #1-1] WARN transport.netty -
[Warlock] Message not fully read (response) for [3] handler
org.elasticsearch.client.transport.TransportClientNodesService
$ScheduledNodesSampler$1$1@696103e5, error [false], resetting
17:49:49.732 [New I/O client worker #1-1] WARN transport.netty -
[Warlock] Message not fully read (response) for [4] handler
org.elasticsearch.client.transport.TransportClientNodesService
$ScheduledNodesSampler$1$1@6046e56f, error [false], resetting
...

Java code is simple:

String ELASTIC_SEARCH_HOST = "localhost"
int ELASTIC_SEARCH_PORT = 9300

TransportClient client = new

TransportClient().addTransportAddress(new
InetSocketTransportAddress(ELASTIC_SEARCH_HOST, ELASTIC_SEARCH_PORT))

Is copying the work directory acceptable when moving from 0.12.1 to
0.13.1?

Cheers,

Ivan


(Shay Banon) #2

Have you looked at the upgrade notes (work became data)? Also, are you sure
you are running the same version of ES on the client and server side?

On Wednesday, December 15, 2010 at 12:52 AM, Ivan Brusic wrote:

Due to a change in the API, I decided to upgrade from 0.12.1 to
0.13.1. I copied the entire work directory plus my custom mappings
from config into the new install directory.

Startup seems fine, but my client is showing issues:

17:49:45.846 [New I/O client worker #1-1] WARN transport.netty -
[Warlock] Message not fully read (response) for [0] handler
org.elasticsearch.client.transport.TransportClientNodesService
$ScheduledNodesSampler$1$1@2e56c4eb, error [false], resetting
17:49:45,858 ERROR ~ Missing ad hosts file: data/adhosts/adhosts.dat
17:49:46.725 [New I/O client worker #1-1] WARN transport.netty -
[Warlock] Message not fully read (response) for [1] handler
org.elasticsearch.client.transport.TransportClientNodesService
$ScheduledNodesSampler$1$1@3267b4ba, error [false], resetting
17:49:47.728 [New I/O client worker #1-1] WARN transport.netty -
[Warlock] Message not fully read (response) for [2] handler
org.elasticsearch.client.transport.TransportClientNodesService
$ScheduledNodesSampler$1$1@1cbcfd, error [false], resetting
17:49:48.731 [New I/O client worker #1-1] WARN transport.netty -
[Warlock] Message not fully read (response) for [3] handler
org.elasticsearch.client.transport.TransportClientNodesService
$ScheduledNodesSampler$1$1@696103e5, error [false], resetting
17:49:49.732 [New I/O client worker #1-1] WARN transport.netty -
[Warlock] Message not fully read (response) for [4] handler
org.elasticsearch.client.transport.TransportClientNodesService
$ScheduledNodesSampler$1$1@6046e56f, error [false], resetting
...

Java code is simple:

String ELASTIC_SEARCH_HOST = "localhost"
int ELASTIC_SEARCH_PORT = 9300

TransportClient client = new
TransportClient().addTransportAddress(new
InetSocketTransportAddress(ELASTIC_SEARCH_HOST, ELASTIC_SEARCH_PORT))

Is copying the work directory acceptable when moving from 0.12.1 to
0.13.1?

Cheers,

Ivan


(system) #3