Comments (4)
+1
Seen same issue, stops pelias chef recipe completing.
Seen on imports of west-yorkshire and south-yorkshire osm.pbf GBR imports.
from openstreetmap.
Any update or workaround to this?
from openstreetmap.
@cesozgen , yes, a quick and very dirty hack: change the module.exports = stats;
in /stream/stats.js
to module.exports = through.obj;
. This will prevent the OSM parser from spitting out ingestion stats (though you'll still see elasticsearch indexer stats), but the process will exit. Here's the reason why:
tl;dr, the OSM ingestion statistics-logging setInterval()
isn't getting clearInterval()
'd.
The stats
module exports a stream that tracks the number of records that pass through, and stores the total number of such streams instantiated globally. The counter is incremented on pipe
and decremented on unpipe
events respectively: the interval gets set when the first pipe's created and torn down when the last one's closed, which is inferenced from the value of the counter. It turns out that the number of pipe
s and unpipe
s detected is !=, meaning that the counter doesn't drop to 0 like it should.
from openstreetmap.
resolved by #27
from openstreetmap.
Related Issues (20)
- duplicate terms in name affecting scoring HOT 3
- An in-range update of pelias-config is breaking the build 🚨 HOT 2
- An in-range update of pelias-config is breaking the build 🚨 HOT 1
- importVenues option do not work HOT 6
- An in-range update of pelias-wof-admin-lookup is breaking the build 🚨 HOT 3
- An in-range update of pelias-wof-admin-lookup is breaking the build 🚨 HOT 2
- Remove broadcast antennas and other TV towers? HOT 2
- New venue_tags + additional names HOT 3
- "PeliasModelError: invalid regex test" during OSM extract import HOT 2
- Allow configuring whether disused/abandoned venues are removed HOT 1
- unable to locate sqlite folder HOT 2
- Support elasticsearch username / password HOT 5
- NPM install failing with Error: Missing required argument #1 HOT 2
- OSM records with 'constructor' tag result in invalid Pelias documents HOT 2
- Consider importing Brand alt names
- "Invalid regex" error about source=https://... tag HOT 2
- Category does not get mapped as defined in category_map.js HOT 9
- issue while executing npm start cmd HOT 1
- I run npm start in the import folder but it doesn't recognize my pelias.json file HOT 1
- Add Pelias OpenStreetMap data importer to Taginfo Projects HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openstreetmap.