Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escaping: Escape characters +-&|!(){}[]^"~*?:\ with \, e.g. \+
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
Unanswered
Where Can I Read About What Is Trains-Agent? I Get Confused With What'S What, And What Is Free And What Is Not


trains-agent-services |
trains-apiserver | Traceback (most recent call last):
trains-elastic | "at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:92) ~[elasticsearch-7.6.2.jar:7.6.2]",
trains-mongo | 2020-10-14T01:04:29.530+0000 I NETWORK [conn1004] received client metadata from 172.20.0.6:39178 conn1004: { driver: { name: "PyMongo", version: "3.10.1" }, os: { type: "Linux", name: "Linux", architecture: "x86_64", version: "5.4.0-48-generic" }, platform: "CPython 3.6.8.final.0" }
trains-agent-services | trains_agent: ERROR: Connection Error: it seems api_server is misconfigured. Is this the TRAINS API server http://apiserver:8008 ?
trains-apiserver | File "server.py", line 71, in <module>
trains-elastic | "Caused by: org.elasticsearch.ElasticsearchException: failed to bind service",
trains-mongo | 2020-10-14T01:04:30.097+0000 I NETWORK [conn1003] end connection 172.20.0.6:39176 (1 connection now open)
trains-agent-services |
trains-apiserver | "Error starting server: failed connecting to ElasticSearch service"
trains-elastic | "at org.elasticsearch.node.Node.<init>(Node.java:615) ~[elasticsearch-7.6.2.jar:7.6.2]",
trains-mongo | 2020-10-14T01:04:30.097+0000 I NETWORK [conn1004] end connection 172.20.0.6:39178 (0 connections now open)
trains-agent-services | http://62.0.8.131:8081 http://62.0.8.131:8080 http://apiserver:8008
trains-apiserver | Exception: Error starting server: failed connecting to ElasticSearch service
trains-elastic | "at org.elasticsearch.node.Node.<init>(Node.java:257) ~[elasticsearch-7.6.2.jar:7.6.2]",
trains-mongo | 2020-10-14T01:06:02.258+0000 I NETWORK [listener] connection accepted from 172.20.0.6:39300 #1005 (1 connection now open)
trains-agent-services | WARNING: You are using pip version 20.1.1; however, version 20.2.3 is available.
trains-apiserver | [2020-10-13 13:55:27,052] [8] [INFO] [ http://trains.es _factory] Using override elastic host elasticsearch
trains-elastic | "at org.elasticsearch.bootstrap.Bootstrap$5.<init>(Bootstrap.java:221) ~[elasticsearch-7.6.2.jar:7.6.2]",
trains-mongo | 2020-10-14T01:06:02.258+0000 I NETWORK [conn1005] received client metadata from 172.20.0.6:39300 conn1005: { driver: { name: "PyMongo", version: "3.10.1" }, os: { type: "Linux", name: "Linux", architecture: "x86_64", version: "5.4.0-48-generic" }, platform: "CPython 3.6.8.final.0" }
trains-agent-services | You should consider upgrading via the '/usr/bin/python3 -m pip install --upgrade pip' command.
trains-apiserver | [2020-10-13 13:55:27,052] [8] [INFO] [ http://trains.es _factory] Using override elastic port 9200
trains-elastic | "at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:221) ~[elasticsearch-7.6.2.jar:7.6.2]",
trains-mongo | 2020-10-14T01:06:02.259+0000 I NETWORK [listener] connection accepted from 172.20.0.6:39302 #1006 (2 connections now open)
trains-agent-services |
trains-apiserver | [2020-10-13 13:55:27,229] [8] [INFO] [trains.redis_manager] Using override redis host redis
trains-elastic | "at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:349) ~[elasticsearch-7.6.2.jar:7.6.2]",
trains-mongo | 2020-10-14T01:06:02.260+0000 I NETWORK [conn1006] received client metadata from 172.20.0.6:39302 conn1006: { driver: { name: "PyMongo", version: "3.10.1" }, os: { type: "Linux", name: "Linux", architecture: "x86_64", version: "5.4.0-48-generic" }, platform: "CPython 3.6.8.final.0" }
trains-agent-services | trains_agent: ERROR: Connection Error: it seems api_server is misconfigured. Is this the TRAINS API server http://apiserver:8008 ?
trains-apiserver | [2020-10-13 13:55:27,229] [8] [INFO] [trains.redis_manager] Using override redis port 6379
trains-elastic | "at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:170) ~[elasticsearch-7.6.2.jar:7.6.2]",
trains-mongo | 2020-10-14T01:06:02.823+0000 I NETWORK [conn1006] end connection 172.20.0.6:39302 (1 connection now open)
trains-agent-services |
trains-apiserver | [2020-10-13 13:55:27,282] [8] [INFO] [trains.schema] loading schema from cache
trains-elastic | "... 6 more",
trains-mongo | 2020-10-14T01:06:02.823+0000 I NETWORK [conn1005] end connection 172.20.0.6:39300 (0 connections now open)
trains-agent-services | http://62.0.8.131:8081 http://62.0.8.131:8080 http://apiserver:8008
trains-apiserver | [2020-10-13 13:55:27,305] [8] [INFO] [trains.server] ################ API Server initializing #####################
trains-elastic | "Caused by: java.nio.file.AccessDeniedException: /usr/share/elasticsearch/data/nodes",
trains-mongo | 2020-10-14T01:07:34.499+0000 I NETWORK [listener] connection accepted from 172.20.0.6:39422 #1007 (1 connection now open)
trains-agent-services | WARNING: You are using pip version 20.1.1; however, version 20.2.3 is available.
trains-apiserver | [2020-10-13 13:55:27,305] [8] [INFO] [trains.database] Initializing database connections
trains-elastic | "at sun.nio.fs.UnixException.translateToIOException(UnixException.java:90) ~[?:?]",
trains-mongo | 2020-10-14T01:07:34.500+0000 I NETWORK [conn1007] received client metadata from 172.20.0.6:39422 conn1007: { driver: { name: "PyMongo", version: "3.10.1" }, os: { type: "Linux", name: "Linux", architecture: "x86_64", version: "5.4.0-48-generic" }, platform: "CPython 3.6.8.final.0" }
trains-agent-services | You should consider upgrading via the '/usr/bin/python3 -m pip install --upgrade pip' command.
trains-apiserver | [2020-10-13 13:55:27,305] [8] [INFO] [trains.database] Using override mongodb host mongo
trains-elastic | "at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111) ~[?:?]",
trains-mongo | 2020-10-14T01:07:34.501+0000 I NETWORK [listener] connection accepted from 172.20.0.6:39424 #1008 (2 connections now open)
trains-agent-services |
trains-apiserver | [2020-10-13 13:55:27,305] [8] [INFO] [trains.database] Using override mongodb port 27017
trains-elastic | "at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:116) ~[?:?]",
trains-mongo | 2020-10-14T01:07:34.501+0000 I NETWORK [conn1008] received client metadata from 172.20.0.6:39424 conn1008: { driver: { name: "PyMongo", version: "3.10.1" }, os: { type: "Linux", name: "Linux", architecture: "x86_64", version: "5.4.0-48-generic" }, platform: "CPython 3.6.8.final.0" }

  
  
Posted 4 years ago
164 Views
0 Answers
4 years ago
one year ago