[Photon] java.io.IOExceptions when starting photon-0.2.7.jar

MapsMarker.com info at mapsmarker.com
Wed Feb 17 22:12:06 UTC 2016


Hi,

 

I recently upgrade from photon-0.2.5.jar to photon-0.2.7.jar and keep
getting the following errors on startup:

REPLACED:~/web/photon$ java -jar photon.jar -listen-ip photon.mapsmarker.com
<http://photon.mapsmarker.com>  -data-dir /search-index-current/ &
[1] 24517
REPLACED:~/web/photon$ [main] ERROR de.komoot.photon.elasticsearch.Server -
cannot install plugin: mobz/elasticsearch-head: java.io.IOException: plugin
directory /search-index-current/photon_data/elasticsearch/plugins/head
already exists. To update the plugin, uninstall it first using --remove
mobz/elasticsearch-head command
[main] ERROR de.komoot.photon.elasticsearch.Server - cannot install plugin:
polyfractal/elasticsearch-inquisitor: java.io.IOException: plugin directory
/search-index-current/photon_data/elasticsearch/plugins/inquisitor already
exists. To update the plugin, uninstall it first using --remove
polyfractal/elasticsearch-inquisitor command
[main] INFO org.elasticsearch.node - [Meggan Braddock] version[1.7.0],
pid[24517], build[929b973/2015-07-16T23:31:07Z]
[main] INFO org.elasticsearch.node - [Meggan Braddock] initializing ...
[main] INFO org.elasticsearch.plugins - [Meggan Braddock] loaded
[wordending], sites [inquisitor, head]
[main] INFO org.elasticsearch.env - [Meggan Braddock] using [1] data paths,
mounts [[/ (rootfs)]], net usable_space [104.7gb], net total_space
[187.8gb], types [rootfs]
[main] WARN org.elasticsearch.bootstrap - JNA not found. native methods will
be disabled.
[main] WARN org.elasticsearch.script - [Meggan Braddock] deprecated setting
[script.disable_dynamic] is set, replace with fine-grained scripting
settings (e.g. script.inline, script.indexed, script.file)
[main] INFO org.elasticsearch.script - [Meggan Braddock] compiling script
file
[/search-index-current/photon_data/elasticsearch/config/scripts/general-scor
e.groovy]
[main] INFO org.elasticsearch.script - [Meggan Braddock] compiling script
file
[/search-index-current/photon_data/elasticsearch/config/scripts/location-bia
sed-score.groovy]
[main] INFO org.elasticsearch.node - [Meggan Braddock] initialized
[main] INFO org.elasticsearch.node - [Meggan Braddock] starting ...
[main] INFO org.elasticsearch.transport - [Meggan Braddock] bound_address
{inet[/127.0.0.1:9300]}, publish_address {inet[/127.0.0.1:9300
<http://127.0.0.1:9300> ]}
[main] INFO org.elasticsearch.discovery - [Meggan Braddock]
photon/N7JgGqkrRzGD8554lEImJA
[elasticsearch[Meggan Braddock][clusterService#updateTask][T#1]] INFO
org.elasticsearch.cluster.service - [Meggan Braddock] new_master [Meggan
Braddock][N7JgGqkrRzGD8554lEImJA][srv851r][inet[/127.0.0.1:9300]], reason:
zen-disco-join (elected_as_master)
[main] INFO org.elasticsearch.http - [Meggan Braddock] bound_address
{inet[/127.0.0.1:9200]}, publish_address {inet[/127.0.0.1:9200
<http://127.0.0.1:9200> ]}
[main] INFO org.elasticsearch.node - [Meggan Braddock] started
[main] INFO de.komoot.photon.elasticsearch.Server - started elastic search
node
[elasticsearch[Meggan Braddock][clusterService#updateTask][T#1]] INFO
org.elasticsearch.gateway - [Meggan Braddock] recovered [1] indices into
cluster_state
== Spark has ignited ...
>> Listening on photon.mapsmarker.com:2322
<http://photon.mapsmarker.com:2322> 
[Thread-1] INFO org.eclipse.jetty.server.Server - jetty-9.0.z-SNAPSHOT
[Thread-1] INFO org.eclipse.jetty.server.ServerConnector - Started
ServerConnector at 4b95b26{HTTP/1.1}{photon.mapsmarker.com:2322
<http://photon.mapsmarker.com:2322> }

 

I wonder if there are any additional tasks related to plugins to be
performed when using a new version of photon. Regardless this error, photon
seems to run correctly and my endpoint is delivering results as expected.

Nevertheless I would appreciate any input if these errors have to be
resolved and if yes how exactly (e.g. by using the following command?:

java -jar photon.jar -listen-ip photon.mapsmarker.com
<http://photon.mapsmarker.com>  -data-dir /search-index-current/ --remove
mobz/elasticsearch-head --remove polyfractal/elasticsearch-inquisitor

thx for any help!

Robert

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/photon/attachments/20160217/5cd06ded/attachment.html>


More information about the Photon mailing list