planetfederal / registry

pycsw + elasticsearch + opensearch + swagger - Based on HHyperMap
MIT License
11 stars 9 forks source link

FileNotFoundException[/var/lib/elasticsearch/elasticsearch/nodes/0/indices/registry/3/index/_0.fdt #29

Closed davisc closed 7 years ago

davisc commented 7 years ago

The first time running the command curl -XPOST -d @payload.xml http://localhost:8004/ results in the error. Running the command a second results in the unique constraint error documented in the ReadMe.

Exception Below:

user@ip:/srv/git/registry-master$ curl -XPOST -d @payload.xml http://localhost:8004/

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- pycsw 2.1-dev-20161019 -->
<ows:ExceptionReport xmlns:csw="http://www.opengis.net/cat/csw/2.0.2" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dct="http://purl.org/dc/terms/" xmlns:gmd="http://www.isotc211.org/2005/gmd" xmlns:gml="http://www.opengis.net/gml" xmlns:ows="http://www.opengis.net/ows" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" language="en-US" version="1.2.0" xsi:schemaLocation="http://www.opengis.net/ows http://schemas.opengis.net/ows/1.0.0/owsExceptionReport.xsd">
  <ows:Exception exceptionCode="NoApplicableCode" locator="insert">
    <ows:ExceptionText>Transaction (insert) failed: (ElasticException(...), 'ElasticSearch Error: {"error":"CreateFailedEngineException[[registry][3] Create failed for [layer#AVhpwlnH3cXjfg3eKLaE]]; nested: FileNotFoundException[/var/lib/elasticsearch/elasticsearch/nodes/0/indices/registry/3/index/_0.fdt (Too many open files)]; ","status":500}').</ows:ExceptionText>
  </ows:Exception>
</ows:ExceptionReport>
ingenieroariel commented 7 years ago

@JorgeMartinezG have you seen this before?

-a

ingenieroariel commented 7 years ago

should he be posting to a catalog namespaced url instead?

ingenieroariel commented 7 years ago

Let's close this one when we disable writing to a catalog-less url. Also let's make sure the docs are updated. /cc @JorgeMartinezG

ingenieroariel commented 7 years ago

Writing to a url without selecting a catalog is not possible anymore. Catalog creation is also now documented in the README.