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

Christoph Lingg christoph at lingg.eu
Thu Feb 18 08:46:49 UTC 2016


i guess, photon just tries to install a plugin and fails to do so if it already exists. nothing to be worried about

> Am 17.02.2016 um 23:12 schrieb MapsMarker.com <info at mapsmarker.com>:
> 
> 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-score.groovy]
> [main] INFO org.elasticsearch.script - [Meggan Braddock] compiling script file [/search-index-current/photon_data/elasticsearch/config/scripts/location-biased-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
>  
> _______________________________________________
> Photon mailing list
> Photon at openstreetmap.org <mailto:Photon at openstreetmap.org>
> https://lists.openstreetmap.org/listinfo/photon <https://lists.openstreetmap.org/listinfo/photon>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/photon/attachments/20160218/e7c47a47/attachment.html>


More information about the Photon mailing list