Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OSM import stopps without error message #107

Closed
moosi opened this issue May 29, 2019 · 17 comments
Closed

OSM import stopps without error message #107

moosi opened this issue May 29, 2019 · 17 comments

Comments

@moosi
Copy link

moosi commented May 29, 2019

I was able to run the import of a small area (portland-metro) without any problems but when I try to perform a full planet import, the osm importer stopps after ~100mio. documents without any error message. Right now I do not run the importers in parallel, only the osm importer is running. I use the default configuration of pelias / docker-compose (starting with the configuration using Elasticsearch 2.4 and also tried with the updated configuration using Elasticsearch 5.6). To speed up debugging I disabled admin lookup.

VM Specs:
16 cores
32 GB RAM
1TB Elasticsearch storage (>1,5TB for tmp storage)

Elasticsearch status:
100148808 docs
46379422702 bytes store size

OSM importer log tail:

[pbf2json]: 2019/05/28 17:26:05 denormalize failed for relation: 9385600 no ways found
[pbf2json]: 2019/05/28 17:26:05 denormalize failed for relation: 9385601 no ways found
[pbf2json]: 2019/05/28 17:26:05 denormalize failed for relation: 9385602 no ways found
[pbf2json]: 2019/05/28 17:26:05 denormalize failed for relation: 9385603 no ways found
[pbf2json]: 2019/05/28 17:26:05 denormalize failed for relation: 9385604 no ways found
[pbf2json]: 2019/05/28 17:26:05 denormalize failed for relation: 9385605 no ways found
[pbf2json]: 2019/05/28 17:26:05 denormalize failed for relation: 9385606 no ways found
[pbf2json]: 2019/05/28 17:26:05 denormalize failed for relation: 9385613 no ways found
[pbf2json]: 2019/05/28 17:26:05 denormalize failed for relation: 9385614 no ways found
[pbf2json]: 2019/05/28 17:26:05 denormalize failed for relation: 9385615 no ways found
2019-05-28T17:26:05.323Z - verbose: [openstreetmap] [address_extractor] duplicating a venue with address
[pbf2json]: 2019/05/28 17:26:05 denormalize failed for relation: 9385635 no ways found
[pbf2json]: 2019/05/28 17:26:05 denormalize failed for relation: 9385636 no ways found
[pbf2json]: 2019/05/28 17:26:05 denormalize failed for relation: 9385637 no ways found
[pbf2json]: 2019/05/28 17:26:05 denormalize failed for relation: 9385638 no ways found
[pbf2json]: 2019/05/28 17:26:05 denormalize failed for relation: 9385643 no ways found
[pbf2json]: 2019/05/28 17:26:05 denormalize failed for relation: 9385657 no ways found
[pbf2json]: 2019/05/28 17:26:05 denormalize failed for relation: 9385658 no ways found
[pbf2json]: 2019/05/28 17:26:05 denormalize failed for relation: 9385659 no ways found
[pbf2json]: 2019/05/28 17:26:05 denormalize failed for relation: 9385660 no ways found
[pbf2json]: 2019/05/28 17:26:05 denormalize failed for relation: 9385702 no ways found
[pbf2json]: 2019/05/28 17:26:05 denormalize failed for relation: 9385703 no ways found
[pbf2json]: 2019/05/28 17:26:05 denormalize failed for relation: 9385704 no ways found
[pbf2json]: 2019/05/28 17:26:05 denormalize failed for relation: 9385705 no ways found
[pbf2json]: 2019/05/28 17:26:05 denormalize failed for relation: 9385706 no ways found
[pbf2json]: 2019/05/28 17:26:05 denormalize failed for relation: 9385707 no ways found
[pbf2json]: 2019/05/28 17:26:05 denormalize failed for relation: 9385741 no ways found
[pbf2json]: 2019/05/28 17:26:05 denormalize failed for relation: 9385767 no ways found
[pbf2json]: 2019/05/28 17:26:05 denormalize failed for relation: 9385768 no ways found
[pbf2json]: 2019/05/28 17:26:05 denormalize failed for relation: 9385769 no ways found
[pbf2json]: 2019/05/28 17:26:05 denormalize failed for relation: 9385783 no ways found
[pbf2json]: 2019/05/28 17:26:05 denormalize failed for relation: 9385793 no ways found
[pbf2json]: 2019/05/28 17:26:05 denormalize failed for relation: 9385798 no ways found
[pbf2json]: 2019/05/28 17:26:05 denormalize failed for relation: 9385802 no ways found
[pbf2json]: 2019/05/28 17:26:05 denormalize failed for relation: 9385932 no ways found
[pbf2json]: 2019/05/28 17:26:05 denormalize failed for relation: 9385933 no ways found
[pbf2json]: 2019/05/28 17:26:05 denormalize failed for relation: 9385934 no ways found
[pbf2json]: 2019/05/28 17:26:05 denormalize failed for relation: 9385935 no ways found
[pbf2json]: 2019/05/28 17:26:05 denormalize failed for relation: 9385936 no ways found
[pbf2json]: 2019/05/28 17:26:05 denormalize failed for relation: 9385937 no ways found
[pbf2json]: 2019/05/28 17:26:05 denormalize failed for relation: 9385938 no ways found
[pbf2json]: 2019/05/28 17:26:05 denormalize failed for relation: 9385983 no ways found
[pbf2json]: 2019/05/28 17:26:05 denormalize failed for relation: 9385984 no ways found
[pbf2json]: 2019/05/28 17:26:05 denormalize failed for relation: 9386021 no ways found
[pbf2json]: 2019/05/28 17:26:05 denormalize failed for relation: 9386456 no ways found
[pbf2json]: 2019/05/28 17:26:05 denormalize failed for relation: 9386573 no ways found
[pbf2json]: 2019/05/28 17:26:05 denormalize failed for relation: 9386574 no ways found
[pbf2json]: 2019/05/28 17:26:05 denormalize failed for relation: 9386575 no ways found
[pbf2json]: 2019/05/28 17:26:05 denormalize failed for relation: 9386576 no ways found
[pbf2json]: 2019/05/28 17:26:05 denormalize failed for relation: 9386577 no ways found
[pbf2json]: 2019/05/28 17:26:05 denormalize failed for relation: 9386578 no ways found
[pbf2json]: 2019/05/28 17:26:05 denormalize failed for relation: 9386579 no ways found
[pbf2json]: 2019/05/28 17:26:05 denormalize failed for relation: 9386580 no ways found
[pbf2json]: 2019/05/28 17:26:05 denormalize failed for relation: 9386581 no ways found
[pbf2json]: 2019/05/28 17:26:05 denormalize failed for relation: 9386582 no ways found
[pbf2json]: 2019/05/28 17:26:05 denormalize failed for relation: 9386583 no ways found
[pbf2json]: 2019/05/28 17:26:05 denormalize failed for relation: 9386584 no ways found
[pbf2json]: 2019/05/28 17:26:05 denormalize failed for relation: 9386585 no ways found
[pbf2json]: 2019/05/28 17:26:05 denormalize failed for relation: 9386586 no ways found
2019-05-28T17:26:05.502Z - verbose: [openstreetmap] [address_extractor] duplicating a venue with address
2019-05-28T17:26:05.508Z - verbose: [openstreetmap] [address_extractor] duplicating a venue with address
2019-05-28T17:26:05.539Z - verbose: [openstreetmap] [address_extractor] duplicating a venue with address
[pbf2json]: 2019/05/28 17:26:05 denormalize failed for relation: 9387007 no ways found
2019-05-28T17:26:05.582Z - verbose: [openstreetmap] [address_extractor] duplicating a venue with address
2019-05-28T17:26:05.720Z - info: [dbclient-openstreetmap]  paused=false, transient=0, current_length=0, indexed=100148812, batch_ok=200298, batch_retries=0, failed_records=0, venue=23022762, address=77126050, persec=131.2
2019-05-28T17:26:05.720Z - info: [dbclient-openstreetmap]  paused=false, transient=0, current_length=0, indexed=100148812, batch_ok=200298, batch_retries=0, failed_records=0, venue=23022762, address=77126050, persec=131.2

Elasticsearch log tail:

[2019-05-28T12:40:51,269][WARN ][o.e.d.i.m.StringFieldMapper$TypeParser] The [string] field is deprecated, please use [text] or [keyword] instead on [li]
[2019-05-28T12:40:51,302][INFO ][o.e.c.m.MetaDataMappingService] [YICKzsA] [pelias/pAKPqXxxTqOYbGsW5TN0DA] update_mapping [venue]
[2019-05-28T12:42:41,001][WARN ][o.e.d.i.m.StringFieldMapper$TypeParser] The [string] field is deprecated, please use [text] or [keyword] instead on [sn]
[2019-05-28T12:42:41,001][WARN ][o.e.d.i.m.StringFieldMapper$TypeParser] The [string] field is deprecated, please use [text] or [keyword] instead on [sn]
[2019-05-28T12:42:41,031][INFO ][o.e.c.m.MetaDataMappingService] [YICKzsA] [pelias/pAKPqXxxTqOYbGsW5TN0DA] update_mapping [venue]
[2019-05-28T12:46:03,957][WARN ][o.e.d.i.m.StringFieldMapper$TypeParser] The [string] field is deprecated, please use [text] or [keyword] instead on [ik]
[2019-05-28T12:46:03,957][WARN ][o.e.d.i.m.StringFieldMapper$TypeParser] The [string] field is deprecated, please use [text] or [keyword] instead on [ik]
[2019-05-28T12:46:03,989][INFO ][o.e.c.m.MetaDataMappingService] [YICKzsA] [pelias/pAKPqXxxTqOYbGsW5TN0DA] update_mapping [venue]
[2019-05-28T12:59:01,399][WARN ][o.e.d.i.m.StringFieldMapper$TypeParser] The [string] field is deprecated, please use [text] or [keyword] instead on [av]
[2019-05-28T12:59:01,399][WARN ][o.e.d.i.m.StringFieldMapper$TypeParser] The [string] field is deprecated, please use [text] or [keyword] instead on [av]
[2019-05-28T12:59:01,434][INFO ][o.e.c.m.MetaDataMappingService] [YICKzsA] [pelias/pAKPqXxxTqOYbGsW5TN0DA] update_mapping [venue]
[2019-05-28T13:04:39,624][WARN ][o.e.d.i.m.StringFieldMapper$TypeParser] The [string] field is deprecated, please use [text] or [keyword] instead on [st]
[2019-05-28T13:04:39,624][WARN ][o.e.d.i.m.StringFieldMapper$TypeParser] The [string] field is deprecated, please use [text] or [keyword] instead on [st]
[2019-05-28T13:04:39,657][INFO ][o.e.c.m.MetaDataMappingService] [YICKzsA] [pelias/pAKPqXxxTqOYbGsW5TN0DA] update_mapping [venue]
[2019-05-28T13:07:25,990][WARN ][o.e.d.i.m.StringFieldMapper$TypeParser] The [string] field is deprecated, please use [text] or [keyword] instead on [sd]
[2019-05-28T13:07:25,991][WARN ][o.e.d.i.m.StringFieldMapper$TypeParser] The [string] field is deprecated, please use [text] or [keyword] instead on [sd]
[2019-05-28T13:07:26,023][INFO ][o.e.c.m.MetaDataMappingService] [YICKzsA] [pelias/pAKPqXxxTqOYbGsW5TN0DA] update_mapping [venue]
[2019-05-28T13:09:11,921][WARN ][o.e.d.i.m.StringFieldMapper$TypeParser] The [string] field is deprecated, please use [text] or [keyword] instead on [kl]
[2019-05-28T13:09:11,921][WARN ][o.e.d.i.m.StringFieldMapper$TypeParser] The [string] field is deprecated, please use [text] or [keyword] instead on [kl]
[2019-05-28T13:09:11,952][INFO ][o.e.c.m.MetaDataMappingService] [YICKzsA] [pelias/pAKPqXxxTqOYbGsW5TN0DA] update_mapping [venue]
[2019-05-28T13:13:45,823][WARN ][o.e.d.i.m.StringFieldMapper$TypeParser] The [string] field is deprecated, please use [text] or [keyword] instead on [lg]
[2019-05-28T13:13:45,823][WARN ][o.e.d.i.m.StringFieldMapper$TypeParser] The [string] field is deprecated, please use [text] or [keyword] instead on [lg]
[2019-05-28T13:13:45,824][WARN ][o.e.d.i.m.StringFieldMapper$TypeParser] The [string] field is deprecated, please use [text] or [keyword] instead on [lg]
[2019-05-28T13:13:45,824][WARN ][o.e.d.i.m.StringFieldMapper$TypeParser] The [string] field is deprecated, please use [text] or [keyword] instead on [lg]
[2019-05-28T13:13:45,824][WARN ][o.e.d.i.m.StringFieldMapper$TypeParser] The [string] field is deprecated, please use [text] or [keyword] instead on [lg]
[2019-05-28T13:13:45,824][WARN ][o.e.d.i.m.StringFieldMapper$TypeParser] The [string] field is deprecated, please use [text] or [keyword] instead on [lg]
[2019-05-28T13:13:45,824][WARN ][o.e.d.i.m.StringFieldMapper$TypeParser] The [string] field is deprecated, please use [text] or [keyword] instead on [lg]
[2019-05-28T13:13:45,825][WARN ][o.e.d.i.m.StringFieldMapper$TypeParser] The [string] field is deprecated, please use [text] or [keyword] instead on [lg]
[2019-05-28T13:13:45,825][WARN ][o.e.d.i.m.StringFieldMapper$TypeParser] The [string] field is deprecated, please use [text] or [keyword] instead on [lg]
[2019-05-28T13:13:45,825][WARN ][o.e.d.i.m.StringFieldMapper$TypeParser] The [string] field is deprecated, please use [text] or [keyword] instead on [lg]
[2019-05-28T13:13:45,859][INFO ][o.e.c.m.MetaDataMappingService] [YICKzsA] [pelias/pAKPqXxxTqOYbGsW5TN0DA] update_mapping [venue]
[2019-05-28T13:15:09,396][WARN ][o.e.d.i.m.StringFieldMapper$TypeParser] The [string] field is deprecated, please use [text] or [keyword] instead on [ha]
[2019-05-28T13:15:09,396][WARN ][o.e.d.i.m.StringFieldMapper$TypeParser] The [string] field is deprecated, please use [text] or [keyword] instead on [ha]
[2019-05-28T13:15:09,428][INFO ][o.e.c.m.MetaDataMappingService] [YICKzsA] [pelias/pAKPqXxxTqOYbGsW5TN0DA] update_mapping [venue]
[2019-05-28T13:15:13,627][WARN ][o.e.d.i.m.StringFieldMapper$TypeParser] The [string] field is deprecated, please use [text] or [keyword] instead on [nb]
[2019-05-28T13:15:13,627][WARN ][o.e.d.i.m.StringFieldMapper$TypeParser] The [string] field is deprecated, please use [text] or [keyword] instead on [nb]
[2019-05-28T13:15:13,659][INFO ][o.e.c.m.MetaDataMappingService] [YICKzsA] [pelias/pAKPqXxxTqOYbGsW5TN0DA] update_mapping [venue]
[2019-05-28T13:20:38,476][WARN ][o.e.d.i.m.StringFieldMapper$TypeParser] The [string] field is deprecated, please use [text] or [keyword] instead on [za]
[2019-05-28T13:20:38,476][WARN ][o.e.d.i.m.StringFieldMapper$TypeParser] The [string] field is deprecated, please use [text] or [keyword] instead on [za]
[2019-05-28T13:20:38,519][INFO ][o.e.c.m.MetaDataMappingService] [YICKzsA] [pelias/pAKPqXxxTqOYbGsW5TN0DA] update_mapping [venue]
[2019-05-28T13:23:32,250][WARN ][o.e.d.i.m.StringFieldMapper$TypeParser] The [string] field is deprecated, please use [text] or [keyword] instead on [io]
[2019-05-28T13:23:32,251][WARN ][o.e.d.i.m.StringFieldMapper$TypeParser] The [string] field is deprecated, please use [text] or [keyword] instead on [io]
[2019-05-28T13:23:32,287][INFO ][o.e.c.m.MetaDataMappingService] [YICKzsA] [pelias/pAKPqXxxTqOYbGsW5TN0DA] update_mapping [venue]
[2019-05-28T13:50:43,632][WARN ][o.e.d.i.m.StringFieldMapper$TypeParser] The [string] field is deprecated, please use [text] or [keyword] instead on [ti]
[2019-05-28T13:50:43,633][WARN ][o.e.d.i.m.StringFieldMapper$TypeParser] The [string] field is deprecated, please use [text] or [keyword] instead on [ti]
[2019-05-28T13:50:43,665][INFO ][o.e.c.m.MetaDataMappingService] [YICKzsA] [pelias/pAKPqXxxTqOYbGsW5TN0DA] update_mapping [venue]
[2019-05-28T13:53:23,977][WARN ][o.e.d.i.m.StringFieldMapper$TypeParser] The [string] field is deprecated, please use [text] or [keyword] instead on [ie]
[2019-05-28T13:53:23,978][WARN ][o.e.d.i.m.StringFieldMapper$TypeParser] The [string] field is deprecated, please use [text] or [keyword] instead on [ie]
[2019-05-28T13:53:24,009][INFO ][o.e.c.m.MetaDataMappingService] [YICKzsA] [pelias/pAKPqXxxTqOYbGsW5TN0DA] update_mapping [venue]
[2019-05-28T13:56:54,389][WARN ][o.e.d.i.m.StringFieldMapper$TypeParser] The [string] field is deprecated, please use [text] or [keyword] instead on [ig]
[2019-05-28T13:56:54,389][WARN ][o.e.d.i.m.StringFieldMapper$TypeParser] The [string] field is deprecated, please use [text] or [keyword] instead on [ig]
[2019-05-28T13:56:54,425][INFO ][o.e.c.m.MetaDataMappingService] [YICKzsA] [pelias/pAKPqXxxTqOYbGsW5TN0DA] update_mapping [venue]
[2019-05-28T14:03:43,979][WARN ][o.e.d.i.m.StringFieldMapper$TypeParser] The [string] field is deprecated, please use [text] or [keyword] instead on [tw]
[2019-05-28T14:03:43,980][WARN ][o.e.d.i.m.StringFieldMapper$TypeParser] The [string] field is deprecated, please use [text] or [keyword] instead on [tw]
[2019-05-28T14:03:44,013][INFO ][o.e.c.m.MetaDataMappingService] [YICKzsA] [pelias/pAKPqXxxTqOYbGsW5TN0DA] update_mapping [venue]
[2019-05-28T14:06:03,021][WARN ][o.e.d.i.m.StringFieldMapper$TypeParser] The [string] field is deprecated, please use [text] or [keyword] instead on [na]
[2019-05-28T14:06:03,021][WARN ][o.e.d.i.m.StringFieldMapper$TypeParser] The [string] field is deprecated, please use [text] or [keyword] instead on [na]
[2019-05-28T14:06:03,065][INFO ][o.e.c.m.MetaDataMappingService] [YICKzsA] [pelias/pAKPqXxxTqOYbGsW5TN0DA] update_mapping [venue]
[2019-05-28T14:17:42,682][WARN ][o.e.d.i.m.StringFieldMapper$TypeParser] The [string] field is deprecated, please use [text] or [keyword] instead on [dz]
[2019-05-28T14:17:42,683][WARN ][o.e.d.i.m.StringFieldMapper$TypeParser] The [string] field is deprecated, please use [text] or [keyword] instead on [dz]
[2019-05-28T14:17:42,717][INFO ][o.e.c.m.MetaDataMappingService] [YICKzsA] [pelias/pAKPqXxxTqOYbGsW5TN0DA] update_mapping [venue]
[2019-05-28T14:23:29,061][WARN ][o.e.d.i.m.StringFieldMapper$TypeParser] The [string] field is deprecated, please use [text] or [keyword] instead on [rn]
[2019-05-28T14:23:29,062][WARN ][o.e.d.i.m.StringFieldMapper$TypeParser] The [string] field is deprecated, please use [text] or [keyword] instead on [rn]
[2019-05-28T14:23:29,095][INFO ][o.e.c.m.MetaDataMappingService] [YICKzsA] [pelias/pAKPqXxxTqOYbGsW5TN0DA] update_mapping [venue]
[2019-05-28T14:27:14,742][WARN ][o.e.d.i.m.StringFieldMapper$TypeParser] The [string] field is deprecated, please use [text] or [keyword] instead on [lu]
[2019-05-28T14:27:14,743][WARN ][o.e.d.i.m.StringFieldMapper$TypeParser] The [string] field is deprecated, please use [text] or [keyword] instead on [lu]
[2019-05-28T14:27:14,775][INFO ][o.e.c.m.MetaDataMappingService] [YICKzsA] [pelias/pAKPqXxxTqOYbGsW5TN0DA] update_mapping [venue]
[2019-05-28T14:30:19,582][WARN ][o.e.d.i.m.StringFieldMapper$TypeParser] The [string] field is deprecated, please use [text] or [keyword] instead on [ak]
[2019-05-28T14:30:19,583][WARN ][o.e.d.i.m.StringFieldMapper$TypeParser] The [string] field is deprecated, please use [text] or [keyword] instead on [ak]
[2019-05-28T14:30:19,618][INFO ][o.e.c.m.MetaDataMappingService] [YICKzsA] [pelias/pAKPqXxxTqOYbGsW5TN0DA] update_mapping [venue]
[2019-05-28T14:34:18,349][WARN ][o.e.d.i.m.StringFieldMapper$TypeParser] The [string] field is deprecated, please use [text] or [keyword] instead on [ny]
[2019-05-28T14:34:18,349][WARN ][o.e.d.i.m.StringFieldMapper$TypeParser] The [string] field is deprecated, please use [text] or [keyword] instead on [ny]
[2019-05-28T14:34:18,384][INFO ][o.e.c.m.MetaDataMappingService] [YICKzsA] [pelias/pAKPqXxxTqOYbGsW5TN0DA] update_mapping [venue]
[2019-05-28T14:46:54,797][WARN ][o.e.d.i.m.StringFieldMapper$TypeParser] The [string] field is deprecated, please use [text] or [keyword] instead on [rw]
[2019-05-28T14:46:54,797][WARN ][o.e.d.i.m.StringFieldMapper$TypeParser] The [string] field is deprecated, please use [text] or [keyword] instead on [rw]
[2019-05-28T14:46:54,829][INFO ][o.e.c.m.MetaDataMappingService] [YICKzsA] [pelias/pAKPqXxxTqOYbGsW5TN0DA] update_mapping [venue]
[2019-05-28T14:47:54,903][WARN ][o.e.d.i.m.StringFieldMapper$TypeParser] The [string] field is deprecated, please use [text] or [keyword] instead on [zu]
[2019-05-28T14:47:54,903][WARN ][o.e.d.i.m.StringFieldMapper$TypeParser] The [string] field is deprecated, please use [text] or [keyword] instead on [zu]
[2019-05-28T14:47:54,936][INFO ][o.e.c.m.MetaDataMappingService] [YICKzsA] [pelias/pAKPqXxxTqOYbGsW5TN0DA] update_mapping [venue]
[2019-05-28T14:48:30,930][WARN ][o.e.d.i.m.StringFieldMapper$TypeParser] The [string] field is deprecated, please use [text] or [keyword] instead on [iu]
[2019-05-28T14:48:30,930][WARN ][o.e.d.i.m.StringFieldMapper$TypeParser] The [string] field is deprecated, please use [text] or [keyword] instead on [iu]
[2019-05-28T14:48:30,967][INFO ][o.e.c.m.MetaDataMappingService] [YICKzsA] [pelias/pAKPqXxxTqOYbGsW5TN0DA] update_mapping [venue]
[2019-05-28T14:49:05,226][WARN ][o.e.d.i.m.StringFieldMapper$TypeParser] The [string] field is deprecated, please use [text] or [keyword] instead on [mh]
[2019-05-28T14:49:05,227][WARN ][o.e.d.i.m.StringFieldMapper$TypeParser] The [string] field is deprecated, please use [text] or [keyword] instead on [mh]
[2019-05-28T14:49:05,262][INFO ][o.e.c.m.MetaDataMappingService] [YICKzsA] [pelias/pAKPqXxxTqOYbGsW5TN0DA] update_mapping [venue]
[2019-05-28T14:50:44,910][WARN ][o.e.d.i.m.StringFieldMapper$TypeParser] The [string] field is deprecated, please use [text] or [keyword] instead on [yo]
[2019-05-28T14:50:44,910][WARN ][o.e.d.i.m.StringFieldMapper$TypeParser] The [string] field is deprecated, please use [text] or [keyword] instead on [yo]
[2019-05-28T14:50:44,945][INFO ][o.e.c.m.MetaDataMappingService] [YICKzsA] [pelias/pAKPqXxxTqOYbGsW5TN0DA] update_mapping [venue]
[2019-05-28T15:04:33,876][WARN ][o.e.d.i.m.StringFieldMapper$TypeParser] The [string] field is deprecated, please use [text] or [keyword] instead on [ks]
[2019-05-28T15:04:33,877][WARN ][o.e.d.i.m.StringFieldMapper$TypeParser] The [string] field is deprecated, please use [text] or [keyword] instead on [ks]
[2019-05-28T15:04:33,911][INFO ][o.e.c.m.MetaDataMappingService] [YICKzsA] [pelias/pAKPqXxxTqOYbGsW5TN0DA] update_mapping [venue]
[2019-05-28T15:18:46,232][WARN ][o.e.d.i.m.StringFieldMapper$TypeParser] The [string] field is deprecated, please use [text] or [keyword] instead on [ff]
[2019-05-28T15:18:46,232][WARN ][o.e.d.i.m.StringFieldMapper$TypeParser] The [string] field is deprecated, please use [text] or [keyword] instead on [ff]
[2019-05-28T15:18:46,268][INFO ][o.e.c.m.MetaDataMappingService] [YICKzsA] [pelias/pAKPqXxxTqOYbGsW5TN0DA] update_mapping [venue]
[2019-05-28T15:19:10,851][WARN ][o.e.d.i.m.StringFieldMapper$TypeParser] The [string] field is deprecated, please use [text] or [keyword] instead on [cu]
[2019-05-28T15:19:10,851][WARN ][o.e.d.i.m.StringFieldMapper$TypeParser] The [string] field is deprecated, please use [text] or [keyword] instead on [cu]
[2019-05-28T15:19:10,886][INFO ][o.e.c.m.MetaDataMappingService] [YICKzsA] [pelias/pAKPqXxxTqOYbGsW5TN0DA] update_mapping [venue]
[2019-05-28T15:31:23,311][WARN ][o.e.d.i.m.StringFieldMapper$TypeParser] The [string] field is deprecated, please use [text] or [keyword] instead on [bi]
[2019-05-28T15:31:23,311][WARN ][o.e.d.i.m.StringFieldMapper$TypeParser] The [string] field is deprecated, please use [text] or [keyword] instead on [bi]
[2019-05-28T15:31:23,311][WARN ][o.e.d.i.m.StringFieldMapper$TypeParser] The [string] field is deprecated, please use [text] or [keyword] instead on [bi]
[2019-05-28T15:31:23,311][WARN ][o.e.d.i.m.StringFieldMapper$TypeParser] The [string] field is deprecated, please use [text] or [keyword] instead on [bi]
[2019-05-28T15:31:23,347][INFO ][o.e.c.m.MetaDataMappingService] [YICKzsA] [pelias/pAKPqXxxTqOYbGsW5TN0DA] update_mapping [venue]
[2019-05-28T15:39:34,034][WARN ][o.e.d.i.m.StringFieldMapper$TypeParser] The [string] field is deprecated, please use [text] or [keyword] instead on [ss]
[2019-05-28T15:39:34,034][WARN ][o.e.d.i.m.StringFieldMapper$TypeParser] The [string] field is deprecated, please use [text] or [keyword] instead on [ss]
[2019-05-28T15:39:34,068][INFO ][o.e.c.m.MetaDataMappingService] [YICKzsA] [pelias/pAKPqXxxTqOYbGsW5TN0DA] update_mapping [venue]
[2019-05-28T15:47:45,038][WARN ][o.e.d.i.m.StringFieldMapper$TypeParser] The [string] field is deprecated, please use [text] or [keyword] instead on [sg]
[2019-05-28T15:47:45,038][WARN ][o.e.d.i.m.StringFieldMapper$TypeParser] The [string] field is deprecated, please use [text] or [keyword] instead on [sg]
[2019-05-28T15:47:45,073][INFO ][o.e.c.m.MetaDataMappingService] [YICKzsA] [pelias/pAKPqXxxTqOYbGsW5TN0DA] update_mapping [venue]
[2019-05-28T16:26:33,825][WARN ][o.e.d.i.m.StringFieldMapper$TypeParser] The [string] field is deprecated, please use [text] or [keyword] instead on [wo]
[2019-05-28T16:26:33,825][WARN ][o.e.d.i.m.StringFieldMapper$TypeParser] The [string] field is deprecated, please use [text] or [keyword] instead on [wo]
[2019-05-28T16:26:33,860][INFO ][o.e.c.m.MetaDataMappingService] [YICKzsA] [pelias/pAKPqXxxTqOYbGsW5TN0DA] update_mapping [venue]
[2019-05-28T16:26:34,273][WARN ][o.e.d.i.m.StringFieldMapper$TypeParser] The [string] field is deprecated, please use [text] or [keyword] instead on [cr]
[2019-05-28T16:26:34,273][WARN ][o.e.d.i.m.StringFieldMapper$TypeParser] The [string] field is deprecated, please use [text] or [keyword] instead on [cr]
[2019-05-28T16:26:34,308][INFO ][o.e.c.m.MetaDataMappingService] [YICKzsA] [pelias/pAKPqXxxTqOYbGsW5TN0DA] update_mapping [venue]
[2019-05-28T16:45:03,454][WARN ][o.e.d.i.m.StringFieldMapper$TypeParser] The [string] field is deprecated, please use [text] or [keyword] instead on [ts]
[2019-05-28T16:45:03,454][WARN ][o.e.d.i.m.StringFieldMapper$TypeParser] The [string] field is deprecated, please use [text] or [keyword] instead on [ve]
[2019-05-28T16:45:03,455][WARN ][o.e.d.i.m.StringFieldMapper$TypeParser] The [string] field is deprecated, please use [text] or [keyword] instead on [ts]
[2019-05-28T16:45:03,455][WARN ][o.e.d.i.m.StringFieldMapper$TypeParser] The [string] field is deprecated, please use [text] or [keyword] instead on [ve]
[2019-05-28T16:45:03,491][INFO ][o.e.c.m.MetaDataMappingService] [YICKzsA] [pelias/pAKPqXxxTqOYbGsW5TN0DA] update_mapping [venue]
[2019-05-28T17:22:40,632][WARN ][o.e.d.i.m.StringFieldMapper$TypeParser] The [string] field is deprecated, please use [text] or [keyword] instead on [ki]
[2019-05-28T17:22:40,632][WARN ][o.e.d.i.m.StringFieldMapper$TypeParser] The [string] field is deprecated, please use [text] or [keyword] instead on [to]
[2019-05-28T17:22:40,633][WARN ][o.e.d.i.m.StringFieldMapper$TypeParser] The [string] field is deprecated, please use [text] or [keyword] instead on [ki]
[2019-05-28T17:22:40,633][WARN ][o.e.d.i.m.StringFieldMapper$TypeParser] The [string] field is deprecated, please use [text] or [keyword] instead on [to]
[2019-05-28T17:22:40,664][INFO ][o.e.c.m.MetaDataMappingService] [YICKzsA] [pelias/pAKPqXxxTqOYbGsW5TN0DA] update_mapping [venue]
[2019-05-29T02:28:00,003][INFO ][o.e.x.m.MlDailyMaintenanceService] triggering scheduled [ML] maintenance tasks
[2019-05-29T02:28:00,004][INFO ][o.e.x.m.a.DeleteExpiredDataAction$TransportAction] [YICKzsA] Deleting expired data
@missinglink
Copy link
Member

Hi @moosi did you manage to resolve the issue?
Did the import actually stop with an error or just stopped emitting log lines for a while?

@moosi
Copy link
Author

moosi commented Jun 5, 2019

Hey @missinglink, the problem is still present.

The import stopped without an error and the pelias cli removed the container, so it assumes the import is finished.

I did some more research on this issue. I used a bigger machine for the import (32 cores, 128 GB RAM) and the import stopped at exactly the same document count (100148808 docs). Today I will download a new .pbf and start another import to make sure my osm file is not corrupted.

I will keep you updated.

@moosi
Copy link
Author

moosi commented Jun 6, 2019

@missinglink I downloaded the latest osm file (planet-190527.osm.pbf) and checked the md5 sum. The import stopped again after ~100 mio. documents (103504866 docs) so it is safe to say that the .pbf file is not corrupted.

@missinglink
Copy link
Member

100 million documents sounds about right for openstreetmap.

I'm trying to understand what is the problem?
Could it be that it just finished importing or is there something that makes you suspect an error?

@moosi
Copy link
Author

moosi commented Jun 6, 2019

Okay, so I may got confused with the documentation saying a full planet import should be around 600 mio. documents. When I look at the current pelias dashboard it tells 538.4 mio. addresses are imported. In turn this would mean that ~440 mio. addresses are imported from openaddresses.io. Or does a single document contain more than 1 address?

@missinglink
Copy link
Member

That sounds about right, I think openaddresses has between 400-500 million records worldwide.

A single document only contains one 'thing'.

@moosi
Copy link
Author

moosi commented Jun 6, 2019

In this case it seems like pelias is only usable for address search when importing osm and openaddresses.io data (e.g. compared to nominatim that only relies on osm data).

Thanks a lot for the input and the fast reply!

@moosi moosi closed this as completed Jun 6, 2019
@missinglink
Copy link
Member

You can choose which data you want to import, but yes, if you only import OSM then you'll have a similar amount of addresses as nominatim.

For our geocode.earth cloud service we also import all of openaddresses and then we additionally generate a planet-wide interpolation index which includes TIGER block ranges too.

Hopefully that brings us to pretty much complete coverage in the USA and most of Europe, depending on how willing the governments are in each country to provide open data :)

@mohammedayub44
Copy link

mohammedayub44 commented Jun 6, 2019

@missinglink
What was the reason and resolution for this error ? I was trying the same with OSM north-america files and I ran into the same errors. I posted an issue in OSM repo. pelias/openstreetmap#491

Can I safely ignore these "denormalize failed on relation xxxx...." errors , is it suppose to happen or I'm a missing something ?

I can see the the record count increasing by the way in elasticsearch.

Thanks !

@moosi
Copy link
Author

moosi commented Jun 11, 2019

@missinglink I still think there is a problem with the OSM import. I did some tests on my instance and benchmarked the results using api.geocode.earth . Whenever I hit an address that is provided by openaddresses, both return the correct result. When I hit an address that is based on openstreetmap, the api.geocode.earth API will find the address while my instance often returns a fallback (=whosonfirst result).

OSM addresses found:

  • Merianstraße 22 Frankfurt
  • Schillerstraße 103 Münster
  • Willy-Brandt-Weg 17 Münster
  • Eishövel 8 Hamburg

OSM addresses not found:

  • Sebastianstraße 53 Bonn
  • Meßdorfer Str. 127 Bonn
  • Am Kettelerplatz 21 Bonn
  • Brucknerstraße 16 München
  • Kattowitzer Str. 59 München
  • Rosenheimer Str. 16 München
  • Josephinenstraße 7 Dresden
  • Zwickauer Str. 27 Dresden
  • Mohorner Str. 21 Dresden

All full-text addresses are correctly parsed into street, number and city. It seems like for some cities it is working fine, some cites are not imported at all. Also interesting: An address that returns results from openstreetmap and openaddresses using api.geocode.earth will return a fallback on my instance. Thats why I think there is a problem with the OSM import.

Do we have a chance to find out when the last successfull import of api.geocode.earth did take place?

@moosi moosi reopened this Jun 11, 2019
@missinglink
Copy link
Member

Hi @moosi, I just looked at our current config, at time of writing we are running api master-2019-05-28 and an elasticsearch snapshot generated 2019.05.21.

You mentioned in the issue description that admin-lookup is disabled, is that still the case?
If so, do you get a result for /v1/search?text=Sebastianstraße 53 (omitting the admin info)?

@missinglink
Copy link
Member

There is another full planet build running now which we hope to have available in the next few days.

@moosi
Copy link
Author

moosi commented Jun 11, 2019

I did the OSM import using "planet-190527.osm.pbf" and an openaddresses download of the 6th of June. Admin lookup is enabled. Here a diff comparison for the search "/v1/search?text=Sebastianstraße 53":

https://jsoncompare.com/#!/diff/id=53fe004f1c0d35ed382ab53858f55c4c/

The address of "Bonn" is missing and the address of "Dinslaken" is differend/missing.

@missinglink
Copy link
Member

missinglink commented Jun 11, 2019

It seems that your build is missing the county and macrocounty information.
I just checked the current geocode.earth build which is running and that information is still present in our builds:

$ curl -s 'localhost:9200/pelias/address/way%2F284476365?pretty'
{
  "_index" : "pelias",
  "_type" : "address",
  "_id" : "way/284476365",
  "_version" : 1,
  "found" : true,
  "_source" : {
    "center_point" : {
      "lon" : 8.555305,
      "lat" : 51.54399
    },
    "parent" : {
      "continent" : [ "Europe" ],
      "country" : [ "Germany" ],
      "macrocounty_a" : [ null ],
      "country_a" : [ "DEU" ],
      "locality_a" : [ null ],
      "region_id" : [ "85682513" ],
      "county" : [ "Paderborn" ],
      "locality" : [ "Büren" ],
      "continent_a" : [ null ],
      "region_a" : [ "NRW" ],
      "macrocounty" : [ "Detmold" ],
      "county_id" : [ "102063835" ],
      "locality_id" : [ "101810347" ],
      "continent_id" : [ "102191581" ],
      "region" : [ "Nordrhein-Westfalen" ],
      "macrocounty_id" : [ "404227571" ],
      "country_id" : [ "85633111" ],
      "county_a" : [ "PD" ]
    },
    "name" : {
      "default" : "53 Sebastianstraße"
    },
    "address_parts" : {
      "zip" : "33142",
      "number" : "53",
      "street" : "Sebastianstraße"
    },
    "source" : "openstreetmap",
    "source_id" : "way/284476365",
    "layer" : "address"
  }
}

When the openstreetmap importer starts running there are a few lines output from the pip-service, is there any information in your logs regarding those two missing layers?

You should see something like this:

info: [wof-pip-service:master] macrocounty worker loaded 371 features in 0.742 seconds
info: [wof-pip-service:master] county worker loaded 40639 features in 42.127 seconds

@moosi
Copy link
Author

moosi commented Jun 11, 2019

This is the output of the pip-service, so they seem to load correctly:

2019-06-11T07:57:39.362Z - info: [wof-pip-service:master] starting with layers neighbourhood,borough,locality,localadmin,county,macrocounty,macroregion,region,dependency,country,empire,continent,marinearea,ocean
pip-service is now running on port 4200
2019-06-11T07:57:41.336Z - info: [wof-pip-service:master] empire worker loaded 0 features in 0.066 seconds
2019-06-11T07:57:41.926Z - info: [wof-pip-service:master] ocean worker loaded 7 features in 0.404 seconds
2019-06-11T07:57:42.696Z - info: [wof-pip-service:master] dependency worker loaded 32 features in 1.399 seconds
2019-06-11T07:57:42.898Z - info: [wof-pip-service:master] macrocounty worker loaded 23 features in 1.436 seconds
2019-06-11T07:57:43.238Z - info: [wof-pip-service:master] macroregion worker loaded 25 features in 1.77 seconds
2019-06-11T07:57:43.341Z - info: [wof-pip-service:master] marinearea worker loaded 305 features in 1.899 seconds
2019-06-11T07:57:43.354Z - info: [wof-pip-service:master] borough worker loaded 138 features in 1.799 seconds
2019-06-11T07:57:43.624Z - info: [wof-pip-service:master] continent worker loaded 8 features in 2.23 seconds
2019-06-11T07:57:52.812Z - info: [wof-pip-service:master] country worker loaded 199 features in 11.38 seconds
2019-06-11T07:59:21.467Z - info: [wof-pip-service:master] region worker loaded 4268 features in 99.938 seconds
2019-06-11T08:08:39.779Z - info: [wof-pip-service:master] county worker loaded 24845 features in 657.803 seconds
2019-06-11T08:17:43.332Z - info: [wof-pip-service:master] neighbourhood worker loaded 17726 features in 1203.126 seconds
2019-06-11T08:31:41.610Z - info: [wof-pip-service:master] localadmin worker loaded 99206 features in 2039.495 seconds
2019-06-11T08:40:23.448Z - info: [wof-pip-service:master] locality worker loaded 143249 features in 2560.039 seconds
2019-06-11T08:40:23.622Z - info: [wof-pip-service:master] PIP Service Loading Completed!!!

@missinglink
Copy link
Member

It looks as though the source data has changed with whosonfirst, we're probably using a slightly older version before the change was made.

I'm going to have to close this issue because its quickly got off-topic and turned in to a general support thread.
As far as I can tell there are no bugs identified in the software and I can't afford to spend any more voluntary hours looking into this for your team.

If you need any additional help setting up a full planet build you can contact us for consultancy
https://geocode.earth/consultancy

@orangejulius
Copy link
Member

I was also thinking about this, and it would definitely be good to add a message to the OSM importer that indicates a successful (or unsuccessful) completion of the import process.

We discussed that in pelias/pelias#255 and it would be nice to use a standard message across all our importers as described there. If anyone wants to take a quick try at adding it, we'd be happy to help them get started with a pull request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants