question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Nominatim import is hanging

See original GitHub issue

Hi! When i star import from nominatim db i get exeption like:

[main] ERROR de.komoot.photon.elasticsearch.Server - cannot install plugin: mobz /elasticsearch-head: java.io.IOException: plugin directory c:\gis\photon\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: poly fractal/elasticsearch-inquisitor: java.io.IOException: plugin directory c:\gis\p hoton\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 - [Ringmaster] version[1.4.1], pid[4056], bui ld[89d3241/2014-11-26T15:49:29Z] [main] INFO org.elasticsearch.node - [Ringmaster] initializing … [main] INFO org.elasticsearch.plugins - [Ringmaster] loaded [lang-mvel, wordendi ng], sites [head, inquisitor] [main] INFO org.elasticsearch.script - [Ringmaster] compiling script file [c:\gi s\photon\photon_data\elasticsearch\config\scripts\general-score.mvel] [main] INFO org.elasticsearch.script - [Ringmaster] compiling script file [c:\gi s\photon\photon_data\elasticsearch\config\scripts\location-biased-score.mvel] [main] INFO org.elasticsearch.node - [Ringmaster] initialized [main] INFO org.elasticsearch.node - [Ringmaster] starting … [main] INFO org.elasticsearch.transport - [Ringmaster] bound_address {inet[/127. 0.0.1:9301]}, publish_address {inet[/127.0.0.1:9301]} [main] INFO org.elasticsearch.discovery - [Ringmaster] photon/QbPSEUuYQiyuDWm0aH R0tg [elasticsearch[Ringmaster][clusterService#updateTask][T#1]] INFO org.elasticsear ch.cluster.service - [Ringmaster] new_master [Ringmaster][QbPSEUuYQiyuDWm0aHR0tg ][WS-1882][inet[/127.0.0.1:9301]], reason: zen-disco-join (elected_as_master) [main] INFO org.elasticsearch.http - [Ringmaster] bound_address {inet[/127.0.0.1 :9201]}, publish_address {inet[/127.0.0.1:9201]} [main] INFO org.elasticsearch.node - [Ringmaster] started [main] INFO de.komoot.photon.elasticsearch.Server - started elastic search node [elasticsearch[Ringmaster][clusterService#updateTask][T#1]] INFO org.elasticsear ch.gateway - [Ringmaster] recovered [1] indices into cluster_state Exception in thread “main” org.elasticsearch.indices.IndexAlreadyExistsException : [photon] already exists at org.elasticsearch.cluster.metadata.MetaDataCreateIndexService.validat eIndexName(MetaDataCreateIndexService.java:167) at org.elasticsearch.cluster.metadata.MetaDataCreateIndexService.validat e(MetaDataCreateIndexService.java:559) at org.elasticsearch.cluster.metadata.MetaDataCreateIndexService.access$ 200(MetaDataCreateIndexService.java:87) at org.elasticsearch.cluster.metadata.MetaDataCreateIndexService$2.execu te(MetaDataCreateIndexService.java:243) at org.elasticsearch.cluster.service.InternalClusterService$UpdateTask.r un(InternalClusterService.java:329) at org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecu tor$TieBreakingPrioritizedRunnable.run(PrioritizedEsThreadPoolExecutor.java:153)

    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)

Is that normal mode and i should have to wait or what,s going wrong with it?

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:25 (9 by maintainers)

github_iconTop GitHub Comments

2reactions
christophlinggcommented, Jun 19, 2015

just delete the photon_data directory, that’s how you start from scratch

1reaction
phibo23commented, Feb 20, 2016

sorry, our photon installation is part of a project we currently cannot spend much time on and I don’t want to risk anything going wrong and causing downtime. never touch a running system.

just close the ticket. I promise I will report any problems that might occur in future. 😉

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to check Nominatim planet import execution is running in ...
I am doing Nominatim OSM installation as per the steps given in ... Even then, it should not hang in this particular line....
Read more >
Troubleshooting - Nominatim 4.2.0
It is possible if the import already got to the indexing stage. Check the last line of output that was logged before the...
Read more >
How to load multiple osm files into Nominatim - Stack Overflow
The answer can be found at help.openstreetmap.org. First you need to import it via the update script: ./utils/update.php --import-file ...
Read more >
Nominatim with osm2pgsql for rhel 6 - GIS Stack Exchange
Import /opt/Nominatim/osm2pgsql/osm2pgsql: error while loading shared libraries: libboost_filesystem-mt.so.1.58.0: cannot open shared object ...
Read more >
Open Street Maps Nominatim Part 2: Importing Planet File
If you have hung in there, we are done with the OSM Nominatim planet file load. The next article shall address loading and...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found