CatalogueOfLife / backend

Complete backend of COL ChecklistBank
Apache License 2.0
15 stars 11 forks source link

Stop import not working #231

Closed gdower closed 5 years ago

gdower commented 5 years ago

When clicking the stop import button, the importer seems to reopen a new import process for the stopped process, which blocks priority imports when all three import queues are occupied by long running imports.


{
  "offset": 0,
  "limit": 25,
  "total": 25,
  "result": [
    {
      "datasetKey": 1022,
      "attempt": 3,
      "state": "inserting",
      "downloadUri": "https://raw.githubusercontent.com/Sp2000/colplus-repo/master/ACEF/22.tar.gz",
      "download": "2018-12-14T14:31:18",
      "started": "2018-12-14T14:31:17.68",
      "md5": "BE0A2C072194DE56D58FB93051F4B285"
    },
    {
      "datasetKey": 1018,
      "attempt": 4,
      "state": "inserting",
      "downloadUri": "https://raw.githubusercontent.com/Sp2000/colplus-repo/master/ACEF/18.tar.gz",
      "download": "2018-12-14T14:31:18",
      "started": "2018-12-14T14:31:17.638",
      "md5": "BC463949269B7919614E7E7D90E1BC3A"
    },
    {
      "datasetKey": 1021,
      "attempt": 4,
      "state": "inserting",
      "downloadUri": "https://raw.githubusercontent.com/Sp2000/colplus-repo/master/ACEF/21.tar.gz",
      "download": "2018-12-14T14:31:18",
      "started": "2018-12-14T14:31:17.637",
      "md5": "FDD57BF62EDCB761F6641F7090A9432B"
    },
    {
      "datasetKey": 1021,
      "attempt": 3,
      "state": "canceled",
      "downloadUri": "https://raw.githubusercontent.com/Sp2000/colplus-repo/master/ACEF/21.tar.gz",
      "download": "2018-12-14T13:17:15",
      "started": "2018-12-14T13:17:14.762",
      "finished": "2018-12-14T14:31:17.599",
      "md5": "FDD57BF62EDCB761F6641F7090A9432B"
    },
    {
      "datasetKey": 1018,
      "attempt": 3,
      "state": "canceled",
      "downloadUri": "https://raw.githubusercontent.com/Sp2000/colplus-repo/master/ACEF/18.tar.gz",
      "download": "2018-12-14T13:17:15",
      "started": "2018-12-14T13:17:14.749",
      "finished": "2018-12-14T14:31:17.625",
      "md5": "BC463949269B7919614E7E7D90E1BC3A"
    },
    {
      "datasetKey": 1022,
      "attempt": 2,
      "state": "canceled",
      "downloadUri": "https://raw.githubusercontent.com/Sp2000/colplus-repo/master/ACEF/22.tar.gz",
      "download": "2018-12-14T13:17:15",
      "started": "2018-12-14T13:17:14.726",
      "finished": "2018-12-14T14:31:17.633",
      "md5": "BE0A2C072194DE56D58FB93051F4B285"
    },
    {
      "datasetKey": 1022,
      "attempt": 1,
      "state": "canceled",
      "downloadUri": "https://raw.githubusercontent.com/Sp2000/colplus-repo/master/ACEF/22.tar.gz",
      "download": "2018-12-14T11:24:18",
      "started": "2018-12-14T11:24:17.741",
      "finished": "2018-12-14T13:17:14.669",
      "md5": "BE0A2C072194DE56D58FB93051F4B285"
    },
    {
      "datasetKey": 1018,
      "attempt": 2,
      "state": "canceled",
      "downloadUri": "https://raw.githubusercontent.com/Sp2000/colplus-repo/master/ACEF/18.tar.gz",
      "download": "2018-12-14T11:24:18",
      "started": "2018-12-14T11:24:17.717",
      "finished": "2018-12-14T13:17:14.724",
      "md5": "BC463949269B7919614E7E7D90E1BC3A"
    },
    {
      "datasetKey": 1021,
      "attempt": 2,
      "state": "canceled",
      "downloadUri": "https://raw.githubusercontent.com/Sp2000/colplus-repo/master/ACEF/21.tar.gz",
      "download": "2018-12-14T11:24:18",
      "started": "2018-12-14T11:24:17.528",
      "finished": "2018-12-14T13:17:14.746",
      "md5": "FDD57BF62EDCB761F6641F7090A9432B"
    },
    {
      "datasetKey": 1021,
      "attempt": 1,
      "state": "canceled",
      "downloadUri": "https://raw.githubusercontent.com/Sp2000/colplus-repo/master/ACEF/21.tar.gz",
      "download": "2018-12-13T23:05:10",
      "started": "2018-12-13T23:05:09.677",
      "finished": "2018-12-14T11:24:17.343",
      "md5": "FDD57BF62EDCB761F6641F7090A9432B"
    },
    {
      "datasetKey": 1020,
      "attempt": 1,
      "state": "finished",
      "downloadUri": "https://raw.githubusercontent.com/Sp2000/colplus-repo/master/ACEF/20.tar.gz",
      "download": "2018-12-13T23:04:07",
      "started": "2018-12-13T23:04:07.373",
      "finished": "2018-12-13T23:05:05.289",
      "md5": "D92285A480951505CEDBBFDE1FC5F220",
      "distributionCount": 2466,
      "nameCount": 9028,
      "referenceCount": 2419,
      "taxonCount": 7124,
      "verbatimCount": 15360,
      "vernacularCount": 2140,
      "distributionsByGazetteerCount": {
        "text": 2466
      },
      "issuesCount": {
        "name match inserted": 8188,
        "partial date": 6431,
        "parent id invalid": 6431,
        "csl container unparsed": 2419,
        "vernacular name transliterated": 2140,
        "duplicate name": 260,
        "unmatched reference brackets": 86,
        "name match variant": 82,
        "parsed name differs": 2,
        "indetermined": 2,
        "name match none": 2
      },
      "vernacularsByLanguageCount": {
        "eng": 1363,
        "nld": 158,
        "afr": 150,
        "deu": 130,
        "fra": 127,
        "dan": 53,
        "fin": 52,
        "swe": 52
      },
      "namesByTypeCount": {
        "scientific": 9026,
        "informal": 2
      },
      "namesByOriginCount": {
        "source": 8335,
        "denormed classification": 693
      },
      "namesByRankCount": {
        "species": 8335,
        "genus": 660,
        "family": 29,
        "kingdom": 1,
        "phylum": 1,
        "class": 1,
        "order": 1
      },
      "taxaByRankCount": {
        "species": 6431,
        "genus": 660,
        "family": 29,
        "kingdom": 1,
        "phylum": 1,
        "class": 1,
        "order": 1
      },
      "usagesByStatusCount": {
        "accepted": 7124,
        "synonym": 1904
      },
      "
      verbatimByTypeCount
      ":{"
      acef: CommonNames
      ":2140,"
      acef: Reference
      ":2419,"
      acef: Distribution
      ":2466,"
      acef: Synonyms
      ":1904,"
      acef: AcceptedSpecies
      ":6431}},{"
      datasetKey
      ":1019,"
      attempt
      ":1,"
      state
      ":"
      finished
      ","
      downloadUri
      ":"
      https: //raw.githubusercontent.com/Sp2000/colplus-repo/master/ACEF/19.tar.gz","download":"2018-12-13T23:02:24","started":"2018-12-13T23:02:23.866","finished":"2018-12-13T23:03:58.077","md5":"84FA589448658D93D641A64862BD6650","distributionCount":0,"nameCount":14429,"referenceCount":0,"taxonCount":14429,"verbatimCount":39779,"vernacularCount":0,"issuesCount":{"reference id invalid":26415,"partial date":13364,"parent id invalid":13364,"name match inserted":13356,"duplicate name":14,"name match variant":7,"parsed name differs":2,"indetermined":1,"name match none":1},"namesByTypeCount":{"scientific":14428,"informal":1},"namesByOriginCount":{"source":13364,"denormed classification":1065},"namesByRankCount":{"species":13364,"genus":941,"family":97,"order":22,"class":3,"kingdom":1,"phylum":1},"taxaByRankCount":{"species":13364,"genus":941,"family":97,"order":22,"class":3,"kingdom":1,"phylum":1},"usagesByStatusCount":{"accepted":14426,"provisionally accepted":3},"verbatimByTypeCount":{"acef:AcceptedSpecies":13364,"acef:NameReferencesLinks":26415}},{"datasetKey":1018,"attempt":1,"state":"canceled","downloadUri":"https://raw.githubusercontent.com/Sp2000/colplus-repo/master/ACEF/18.tar.gz","download":"2018-12-13T22:59:42","started":"2018-12-13T22:59:41.723","finished":"2018-12-14T11:24:17.515","md5":"BC463949269B7919614E7E7D90E1BC3A"},{"datasetKey":1017,"attempt":1,"state":"finished","downloadUri":"https://raw.githubusercontent.com/Sp2000/colplus-repo/master/ACEF/17.tar.gz","download":"2018-12-13T22:56:45","started":"2018-12-13T22:56:44.516","finished":"2018-12-13T23:01:54.35","md5":"B0B45E20142842273DAC5D824D7E8A8D","distributionCount":16159,"nameCount":49010,"referenceCount":1110,"taxonCount":42860,"verbatimCount":63611,"vernacularCount":2236,"distributionsByGazetteerCount":{"text":16159},"issuesCount":{"name match inserted":41173,"partial date":35960,"parent id invalid":35275,"synonym data moved":2722,"vernacular name transliterated":2298,"reference id invalid":2287,"duplicate name":1545,"reftype invalid":1263,"csl container unparsed":1110,"name match variant":441,"not interpreted":62,"name match ambiguous":17,"unmatched name brackets":8,"id not unique":3,"taxonomic status doubtful":2,"unparsable authorship":1,"truncated name":1},"vernacularsByLanguageCount":{"eng":1491,"fra":332,"spa":214,"por":19,"ita":7},"namesByTypeCount":{"scientific":49010},"namesByOriginCount":{"source":42109,"denormed classification":6901},"namesByRankCount":{"species":40871,"genus":5459,"variety":951,"family":755,"subgenus":425,"infraspecific name":229,"superfamily":119,"order":106,"form":57,"class":22,"phylum":12,"kingdom":3,"subspecies":1},"taxaByRankCount":{"species":35275,"genus":5459,"family":755,"variety":644,"subgenus":425,"superfamily":119,"order":106,"form":40,"class":22,"phylum":12,"kingdom":3},"usagesByStatusCount":{"accepted":42860,"synonym":6148,"ambiguous synonym":2},"verbatimByTypeCount":{"acef:AcceptedInfraSpecificTaxa":684,"acef:CommonNames":2298,"acef:Reference":1110,"acef:Distribution":16159,"acef:Synonyms":6151,"acef:AcceptedSpecies":35276,"acef:NameReferencesLinks":1933}},{"datasetKey":1015,"attempt":1,"state":"finished","downloadUri":"https://raw.githubusercontent.com/Sp2000/colplus-repo/master/ACEF/15.tar.gz","download":"2018-12-13T22:55:04","started":"2018-12-13T22:55:03.993","finished":"2018-12-13T22:59:26.488","md5":"87C2CB1CE072DFD8CAB37BB36A7C0E05","distributionCount":0,"nameCount":44381,"referenceCount":2617,"taxonCount":21358,"verbatimCount":63565,"vernacularCount":14142,"issuesCount":{"name match inserted":42071,"synonym data moved":20272,"parent id invalid":16371,"vernacular name transliterated":14073,"reference id invalid":5158,"partial date":5003,"duplicate name":2861,"csl container unparsed":2616,"taxonomic status doubtful":1730,"name match variant":1295,"lifezone invalid":80,"name match ambiguous":42,"id not 
      unique
      ":30,"
      unmatched
      reference
      brackets
      ":21,"
      parsed
      name
      differs
      ":1},"
      vernacularsByLanguageCount
      ":{"
      eng
      ":2708,"
      rus
      ":1836,"
      fra
      ":638,"
      hin
      ":531,"
      deu
      ":333,"
      sin
      ":194,"
      spa
      ":167,"
      mon
      ":134,"
      ron
      ":103,"
      ukr
      ":89,"
      tam
      ":88,"
      aze
      ":81,"
      por
      ":78,"
      hye
      ":74,"
      zho
      ":69,"
      lit
      ":68,"
      lav
      ":51,"
      est
      ":46,"
      pol
      ":44,"
      ita
      ":43,"
      kat
      ":42,"
      uzb
      ":42,"
      kaz
      ":37,"
      swe
      ":37,"
      fin
      ":34,"
      bod
      ":15,"
      kom
      ":12,"
      urd
      ":12,"
      heb
      ":9,"
      chv
      ":8,"
      tur
      ":7},"
      namesByTypeCount
      ":{"
      scientific
      ":44381},"
      namesByOriginCount
      ":{"
      source
      ":43649,"
      denormed
      classification
      ":732},"
      namesByRankCount
      ":{"
      species
      ":35790,"
      variety
      ":5574,"
      subspecies
      ":2285,"
      genus
      ":727,"
      kingdom
      ":1,"
      phylum
      ":1,"
      class
      ":1,"
      order
      ":1,"
      family
      ":1},"
      taxaByRankCount
      ":{"
      species
      ":16371,"
      variety
      ":2682,"
      subspecies
      ":1573,"
      genus
      ":727,"
      kingdom
      ":1,"
      phylum
      ":1,"
      class
      ":1,"
      order
      ":1,"
      family
      ":1},"
      usagesByStatusCount
      ":{"
      accepted
      ":21334,"
      synonym
      ":21293,"
      misapplied
      ":946,"
      ambiguous
      synonym
      ":784,"
      provisionally
      accepted
      ":24},"
      verbatimByTypeCount
      ":{"
      acef: AcceptedInfraSpecificTaxa
      ":4255,"
      acef: CommonNames
      ":14142,"
      acef: Reference
      ":2617,"
      acef: Synonyms
      ":23038,"
      acef: AcceptedSpecies
      ":16371,"
      acef: NameReferencesLinks
      ":3142}},{"
      datasetKey
      ":1014,"
      attempt
      ":1,"
      state
      ":"
      finished
      ","
      downloadUri
      ":"
      https: //raw.githubusercontent.com/Sp2000/colplus-repo/master/ACEF/14.tar.gz","download":"2018-12-13T22:54:40","started":"2018-12-13T22:54:39.819","finished":"2018-12-13T22:55:01.553","md5":"F387C753DB10F2B4EEE4625F630B37AE","distributionCount":0,"nameCount":3827,"referenceCount":2,"taxonCount":3827,"verbatimCount":3188,"vernacularCount":0,"issuesCount":{"partial date":3186,"parent id invalid":3186,"name match inserted":3092,"name match none":93,"duplicate name":2,"csl container unparsed":2,"name match variant":1},"namesByTypeCount":{"virus":3093,"scientific":641,"placeholder":93},"namesByOriginCount":{"source":3186,"denormed classification":641},"namesByRankCount":{"species":3186,"genus":524,"family":106,"order":8,"kingdom":1,"phylum":1,"class":1},"taxaByRankCount":{"species":3186,"genus":524,"family":106,"order":8,"kingdom":1,"phylum":1,"class":1},"usagesByStatusCount":{"accepted":3827},"verbatimByTypeCount":{"acef:Reference":2,"acef:AcceptedSpecies":3186}},{"datasetKey":1012,"attempt":1,"state":"finished","downloadUri":"https://raw.githubusercontent.com/Sp2000/colplus-repo/master/ACEF/12.tar.gz","download":"2018-12-13T22:54:33","started":"2018-12-13T22:54:33.639","finished":"2018-12-13T22:54:39.343","md5":"8FFF15EE170C3301BECE57DD0A8C6A78","distributionCount":24,"nameCount":580,"referenceCount":526,"taxonCount":338,"verbatimCount":1076,"vernacularCount":0,"distributionsByGazetteerCount":{"text":24},"issuesCount":{"csl container unparsed":526,"escaped characters":524,"name match inserted":524,"partial date":284,"parent id invalid":284,"distribution area invalid":24,"taxonomic status doubtful":6,"duplicate name":4,"name match variant":2,"truncated name":2},"namesByTypeCount":{"scientific":580},"namesByOriginCount":{"source":526,"denormed classification":54},"namesByRankCount":{"species":519,"genus":33,"family":13,"variety":7,"order":5,"kingdom":1,"phylum":1,"class":1},"taxaByRankCount":{"species":284,"genus":33,"family":13,"order":5,"kingdom":1,"phylum":1,"class":1},"usagesByStatusCount":{"accepted":338,"synonym":236,"ambiguous synonym":4,"misapplied":2},"verbatimByTypeCount":{"acef:Reference":526,"acef:Distribution":24,"acef:Synonyms":242,"acef:AcceptedSpecies":284}},{"datasetKey":1011,"attempt":1,"state":"finished","downloadUri":"https://raw.githubusercontent.com/Sp2000/colplus-repo/master/ACEF/11.tar.gz","download":"2018-12-13T22:51:32","started":"2018-12-13T22:51:32.173","finished":"2018-12-13T22:54:22.795","md5":"67E38C065C1B6D23798D8CAE50A4A827","distributionCount":25928,"nameCount":25210,"referenceCount":2604,"taxonCount":16291,"verbatimCount":51377,"vernacularCount":224,"distributionsByGazetteerCount":{"text":25928},"issuesCount":{"distribution gazeteer invalid":25928,"name match inserted":21373,"partial date":13702,"parent id invalid":13671,"csl container unparsed":2602,"duplicate name":2350,"name match variant":569,"vernacular name transliterated":224,"taxonomic status doubtful":78,
      "reference id invalid"
      :
      47,
      "unusual name characters": 30,
      "name match ambiguous": 9,
      "unmatched reference brackets": 8,
      "parsed name differs": 2,
      "indetermined": 1,
      "name match none": 1
    },
    "vernacularsByLanguageCount"
    :
    {
      "kor": 1
    },
    "namesByTypeCount"
    :
    {
      "scientific": 25209,
      "informal": 1
    },
    "namesByOriginCount"
    :
    {
      "source": 22621,
      "denormed classification": 2589
    },
    "namesByRankCount"
    :
    {
      "species": 22441,
      "genus": 2364,
      "subgenus": 188,
      "infraspecific name": 105,
      "variety": 65,
      "family": 32,
      "form": 10,
      "kingdom": 1,
      "phylum": 1,
      "class": 1,
      "order": 1,
      "superfamily": 1
    },
    "taxaByRankCount"
    :
    {
      "species": 13671,
      "genus": 2364,
      "subgenus": 188,
      "family": 32,
      "variety": 26,
      "form": 5,
      "kingdom": 1,
      "phylum": 1,
      "class": 1,
      "order": 1,
      "superfamily": 1
    },
    "usagesByStatusCount"
    :
    {
      "accepted": 16275,
      "synonym": 8841,
      "ambiguous synonym": 78,
      "provisionally accepted": 16
    },
    "verbatimByTypeCount"
    :
    {
      "acef:AcceptedInfraSpecificTaxa": 31,
      "acef:CommonNames": 224,
      "acef:Reference": 2604,
      "acef:Distribution": 25928,
      "acef:Synonyms": 8919,
      "acef:AcceptedSpecies": 13671
    }
    },
    {
      "datasetKey": 1010,
      "attempt": 1,
      "state": "finished",
      "downloadUri": "https://raw.githubusercontent.com/Sp2000/colplus-repo/master/ACEF/10.tar.gz",
      "download": "2018-12-13T22:50:43",
      "started": "2018-12-13T22:50:42.897",
      "finished": "2018-12-13T23:09:33.786",
      "md5": "029FD6C0337BD2A9C5D89F34CCAA1B88",
      "distributionCount": 33968,
      "nameCount": 102527,
      "referenceCount": 9997,
      "taxonCount": 39751,
      "verbatimCount": 462302,
      "vernacularCount": 321570,
      "distributionsByGazetteerCount": {
        "text": 33968
      },
      "issuesCount": {
        "vernacular name transliterated": 261947,
        "name match inserted": 86398,
        "synonym data moved": 62550,
        "parent id invalid": 33987,
        "partial date": 33985,
        "duplicate name": 18335,
        "csl container unparsed": 9997,
        "taxonomic status doubtful": 9568,
        "name match variant": 8710,
        "escaped characters": 8065,
        "lifezone invalid": 2988,
        "unusual name characters": 94,
        "reference id invalid": 75,
        "unmatched reference brackets": 43,
        "parsed name differs": 37,
        "indetermined": 28,
        "name match none": 28,
        "name match ambiguous": 24,
        "taxon id invalid": 4,
        "repl enclosing quote": 2,
        "according to date invalid": 2,
        "inconsistent authorship": 1
      },
      "vernacularsByLanguageCount": {
        "eng": 73847,
        "spa": 20396,
        "por": 13148,
        "fra": 11901,
        "est": 10429,
        "msa": 9330,
        "deu": 7477,
        "dan": 5785,
        "ita": 5539,
        "fin": 5360,
        "ces": 5267,
        "jpn": 5084,
        "ara": 3940,
        "tgl": 3747,
        "rus": 3417,
        "tam": 2995,
        "mal": 2824,
        "ell": 2433,
        "afr": 2268,
        "pol": 1863,
        "swe": 1701,
        "tur": 1662,
        "nld": 1477,
        "kor": 1454,
        "vie": 1446,
        "tha": 1382,
        "fij": 1095,
        "mar": 1091,
        "swa": 1016,
        "tel": 1014,
        "smo": 923,
        "hrv": 918,
        "ben": 877,
        "sqi": 872,
        "mlt": 860,
        "tah": 832,
        "wol": 764,
        "srp": 744,
        "kan": 694,
        "khm": 642,
        "nor": 627,
        "jav": 587,
        "div": 578,
        "cat": 554,
        "fas": 538,
        "sin": 528,
        "mah": 497,
        "iku": 485,
        "nya": 416,
        "guj": 414,
        "som": 398,
        "isl": 394,
        "nep": 393,
        "mya": 343,
        "fao": 330,
        "ind": 323,
        "cos": 311,
        "ewe": 288,
        "mlg": 287,
        "heb": 279,
        "hin": 265,
        "cym": 249,
        "hau": 223,
        "slv": 211,
        "mri": 156,
        "asm": 152,
        "ton": 141,
        "pan": 136,
        "ori": 133,
        "kin": 132,
        "bul": 122,
        "grn": 114,
        "yor": 112,
        "slk": 90,
        "cha": 85,
        "lit": 83,
        "kau": 81,
        "lav": 80,
        "gle": 73,
        "hun": 66,
        "kir": 65,
        "ibo": 63,
        "snd": 50,
        "ukr": 49,
        "bis": 44,
        "cre": 40,
        "urd": 35,
        "ven": 30,
        "glv": 28,
        "amh": 24,
        "kal": 24,
        "mkd": 22,
        "kas": 21,
        "bam": 14,
        "run": 10,
        "aka": 8,
        "orm": 6,
        "eus": 3,
        "lin": 3,
        "tir": 3,
        "bre": 2,
        "kaz": 2,
        "kik": 2,
        "que": 2,
        "bih": 1,
        "bos": 1,
        "lug": 1,
        "hmo": 1
      },
      "namesByTypeCount": {
        "scientific": 102498,
        "informal": 29
      },
      "namesByOriginCount": {
        "source": 96763,
        "denormed classification": 5764
      },
      "namesByRankCount": {
        "species": 91751,
        "genus": 5139,
        "infraspecific name": 4879,
        "family": 553,
        "variety": 116,
        "order": 64,
        "form": 17,
        "class": 6,
        "kingdom": 1,
        "phylum": 1
      },
      "taxaByRankCount": {
        "species": 33987,
        "genus": 5139,
        "family": 553,
        "order": 64,
        "class": 6,
        "kingdom": 1,
        "phylum": 1
      },
      "usagesByStatusCount": {
        "synonym": 53208,
        "accepted": 39706,
        "misapplied": 7448,
        "ambiguous synonym": 2120,
        "provisionally accepted": 45
      },
      "verbatimByTypeCount": {
        "acef:CommonNames": 321570,
        "acef:Reference": 9997,
        "acef:Distribution": 33968,
        "acef:Synonyms": 62776,
        "acef:AcceptedSpecies": 33987,
        "acef:NameReferencesLinks": 4
      }
    },
    {
      "datasetKey": 1009,
      "attempt": 1,
      "state": "finished",
      "downloadUri": "https://raw.githubusercontent.com/Sp2000/colplus-repo/master/ACEF/9.tar.gz",
      "download": "2018-12-13T22:50:40",
      "started": "2018-12-13T22:50:40.372",
      "finished": "2018-12-13T22:50:42.616",
      "md5": "
      CD77FC0C8DBE90FBE0E2C39480C8C23A
      ","
      distributionCount
      ":0,"
      nameCount
      ":103,"
      referenceCount
      ":0,"
      taxonCount
      ":103,"
      verbatimCount
      ":174,"
      vernacularCount
      ":0,"
      issuesCount
      ":{"
      reference
      id
      invalid
      ":88,"
      partial
      date
      ":86,"
      parent
      id
      invalid
      ":86,"
      name
      match
      inserted
      ":84,"
      parsed
      name
      differs
      ":1},"
      namesByTypeCount
      ":{"
      scientific
      ":103},"
      namesByOriginCount
      ":{"
      source
      ":86,"
      denormed
      classification
      ":17},"
      namesByRankCount
      ":{"
      species
      ":86,"
      genus
      ":11,"
      family
      ":2,"
      kingdom
      ":1,"
      phylum
      ":1,"
      class
      ":1,"
      order
      ":1},"
      taxaByRankCount
      ":{"
      species
      ":86,"
      genus
      ":11,"
      family
      ":2,"
      kingdom
      ":1,"
      phylum
      ":1,"
      class
      ":1,"
      order
      ":1},"
      usagesByStatusCount
      ":{"
      accepted
      ":103},"
      verbatimByTypeCount
      ":{"
      acef: AcceptedSpecies
      ":86,"
      acef: NameReferencesLinks
      ":88}},{"
      datasetKey
      ":1008,"
      attempt
      ":1,"
      state
      ":"
      finished
      ","
      downloadUri
      ":"
      https: //raw.githubusercontent.com/Sp2000/colplus-repo/master/ACEF/8.tar.gz","download":"2018-12-13T22:49:49","started":"2018-12-13T22:49:49.386","finished":"2018-12-13T22:56:34.561","md5":"30C9B98B764224D50600A17612D4CD2F","distributionCount":26325,"nameCount":45395,"referenceCount":28542,"taxonCount":15096,"verbatimCount":110755,"vernacularCount":11764,"distributionsByGazetteerCount":{"tdwg":26325},"issuesCount":{"name match inserted":37523,"csl container unparsed":28529,"partial date":13825,"parent id invalid":13825,"duplicate name":9084,"name match variant":2726,"parsed name differs":877,"name match none":864,"indetermined":849,"name match ambiguous":351,"unmatched reference brackets":325,"unusual name characters":62,"unmatched name brackets":12,"truncated name":10,"doubtful name":5,"question marks removed":3,"unparsable authorship":2,"escaped characters":1},"vernacularsByLanguageCount":{"eng":9433,"deu":1873,"spa":256,"vie":45,"nld":44,"fra":38,"tha":28,"sin":11,"zho":9,"tam":9,"ind":8,"ita":3,"jpn":2,"hin":1,"lao":1,"nep":1,"srp":1,"tur":1},"namesByTypeCount":{"scientific":44526,"informal":854,"no name":14,"placeholder":1},"namesByOriginCount":{"source":44124,"denormed classification":1271},"namesByRankCount":{"species":36768,"infraspecific name":6630,"genus":1176,"variety":706,"family":88,"form":12,"unranked":7,"order":4,"kingdom":1,"phylum":1,"class":1,"infrageneric name":1},"taxaByRankCount":{"species":13825,"genus":1176,"family":88,"order":4,"kingdom":1,"phylum":1,"class":1},"usagesByStatusCount":{"synonym":30299,"accepted":15096},"verbatimByTypeCount":{"acef:CommonNames":11764,"acef:Reference":28542,"acef:Distribution":26325,"acef:Synonyms":30299,"acef:AcceptedSpecies":13825}},{"datasetKey":1007,"attempt":1,"state":"finished","downloadUri":"https://raw.githubusercontent.com/Sp2000/colplus-repo/master/ACEF/7.tar.gz","download":"2018-12-13T22:49:47","started":"2018-12-13T22:49:47.287","finished":"2018-12-13T22:49:49.233","md5":"EB4C6E9A415802B9CB010A0F883C2895","distributionCount":0,"nameCount":9,"referenceCount":0,"taxonCount":9,"verbatimCount":20,"vernacularCount":18,"issuesCount":{"vernacular name transliterated":18,"partial date":2,"name match inserted":2,"parent id invalid":2},"vernacularsByLanguageCount":{"dan":4,"eng":3,"fra":2,"deu":2,"ita":2,"por":2,"spa":2,"nld":1},"namesByTypeCount":{"scientific":9},"namesByOriginCount":{"denormed classification":7,"source":2},"namesByRankCount":{"genus":2,"species":2,"kingdom":1,"phylum":1,"class":1,"order":1,"family":1},"taxaByRankCount":{"genus":2,"species":2,"kingdom":1,"phylum":1,"class":1,"order":1,"family":1},"usagesByStatusCount":{"accepted":9},"verbatimByTypeCount":{"acef:CommonNames":18,"acef:AcceptedSpecies":2}},{"datasetKey":1006,"attempt":1,"state":"finished","downloadUri":"https://raw.githubusercontent.com/Sp2000/colplus-repo/master/ACEF/6.tar.gz","download":"2018-12-13T22:49:31","started":"2018-12-13T22:49:31.454","finished":"2018-12-13T22:49:46.298","md5":"35A7053203799A241FC3221A69EAA791","distributionCount":1101,"nameCount":941,"referenceCount":301,"taxonCount":424,"verbatimCount":2452,"vernacularCount":0,"distributionsByGazetteerCount":{"text":1101},"issuesCount":{"distribution gazeteer invalid":1101,"name match inserted":734,"partial date":397,"parent id invalid":397,"duplicate name":331,"csl 
      container
      unparsed
      ":301,"
      reference
      id
      invalid
      ":136,"
      name
      match
      variant
      ":118,"
      taxonomic
      status
      doubtful
      ":100,"
      parsed
      name
      differs
      ":1,"
      unusual
      name
      characters
      ":1,"
      indetermined
      ":1,"
      name
      match
      none
      ":1,"
      unmatched
      reference
      brackets
      ":1},"
      namesByTypeCount
      ":{"
      scientific
      ":940,"
      informal
      ":1},"
      namesByOriginCount
      ":{"
      source
      ":914,"
      denormed
      classification
      ":27},"
      namesByRankCount
      ":{"
      species
      ":905,"
      subgenus
      ":19,"
      infraspecific
      name
      ":7,"
      genus
      ":3,"
      variety
      ":2,"
      kingdom
      ":1,"
      phylum
      ":1,"
      class
      ":1,"
      order
      ":1,"
      family
      ":1},"
      taxaByRankCount
      ":{"
      species
      ":397,"
      subgenus
      ":19,"
      genus
      ":3,"
      kingdom
      ":1,"
      phylum
      ":1,"
      class
      ":1,"
      order
      ":1,"
      family
      ":1},"
      usagesByStatusCount
      ":{"
      accepted
      ":424,"
      synonym
      ":417,"
      ambiguous
      synonym
      ":100},"
      verbatimByTypeCount
      ":{"
      acef: Reference
      ":301,"
      acef: Distribution
      ":1101,"
      acef: Synonyms
      ":517,"
      acef: AcceptedSpecies
      ":397,"
      acef: NameReferencesLinks
      ":136}},{"
      datasetKey
      ":1005,"
      attempt
      ":1,"
      state
      ":"
      finished
      ","
      downloadUri
      ":"
      https://raw.githubusercontent.com/Sp2000/colplus-repo/master/ACEF/5.tar.gz","download":"2018-12-13T22:49:31","started":"2018-12-13T22:49:31.45","finished":"2018-12-13T22:51:22.07","md5":"515AD16F9B3D4107B597E7337D75FD5D","distributionCount":15362,"nameCount":17393,"referenceCount":0,"taxonCount":15905,"verbatimCount":32212,"vernacularCount":0,"distributionsByGazetteerCount":{"text":15362},"issuesCount":{"name match inserted":16321,"partial date":15362,"parent id invalid":15362,"duplicate name":800,"name match variant":330,"name match none":98,"name match ambiguous":7,"taxonomic status doubtful":2,"parsed name differs":1,"indetermined":1},"namesByTypeCount":{"scientific":17295,"placeholder":97,"informal":1},"namesByOriginCount":{"source":16850,"denormed classification":543},"namesByRankCount":{"species":16850,"subgenus":330,"genus":204,"family":4,"kingdom":1,"phylum":1,"class":1,"order":1,"superfamily":1},"taxaByRankCount":{"species":15362,"subgenus":330,"genus":204,"family":4,"kingdom":1,"phylum":1,"class":1,"order":1,"superfamily":1},"usagesByStatusCount":{"accepted":15905,"synonym":1486,"ambiguous synonym":2},"verbatimByTypeCount":{"acef:Distribution":15362,"acef:Synonyms":1488,"acef:AcceptedSpecies":15362}},{"datasetKey":1000,"attempt":1,"state":"finished","downloadUri":"https://raw.githubusercontent.com/Sp2000/colplus-repo/master/ACEF/higher-classification.dwca.zip","download":"2018-12-13T22:49:31","started":"2018-12-13T22:49:31.437","finished":"2018-12-13T22:50:33.801","md5":"50C1603CE9266865F598E95C6CA237E9","distributionCount":0,"nameCount":14063,"referenceCount":0,"taxonCount":14063,"verbatimCount":14063,"vernacularCount":0,"issuesCount":{"name match inserted":13472,"name match none":542,"duplicate name":85,"doubtful name":3,"unusual name characters":3},"namesByTypeCount":{"scientific":13520,"placeholder":539,"informal":3,"virus":1},"namesByOriginCount":{"source":14063},"namesByRankCount":{"family":11181,"order":1354,"superfamily":1106,"class":315,"phylum":99,"kingdom":8},"taxaByRankCount":{"family":11181,"order":1354,"superfamily":1106,"class":315,"phylum":99,"kingdom":8},"usagesByStatusCount":{"accepted":14063},"verbatimByTypeCount":{"dwc:Taxon":14063}}],"last":true,"empty":false}
mdoering commented 5 years ago

Urf, finally got to the bottom of this. CompleteableFutures in Java8 cannot be interrupted once running: https://stackoverflow.com/questions/23320407/how-to-cancel-java-8-completable-future

I was using plain Futures initially and all was fine. Gotta refactor the ImportManager