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
Answered
When I Run A Task With

When I run a task with Dataset.get the agent requests the dataset from a weird url. adamastor.gaiavf.local in this case.
2022-10-03 17:50:17,556 - clearml.storage - ERROR - Could not download , err: HTTPConnectionPool(host='adamastor.gaiavf.local', port=8081): Max retries exceeded with url: /plants/.datasets/plants/plants.6eca8fc6690f4ef8aa6c6831fcea2a63/artifacts/state/state.json (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fe746afe690>: Failed to establish a new connection: [Errno -2] Name or service not known'))Even though the agent’s config has different urls:
api { # Notice: 'host' is the api server (default port 8008), not the web server. api_server: web_server: files_server: }And the env variables for clearml server are also set to the same urls.

How can I make it get the dataset from the right url?

  
  
Posted one year ago
Votes Newest

Answers 2


Hi AdventurousButterfly15 , can you share the output of this small script?
from clearml import Task session = Task._get_default_session() print(session.get_files_server_host())

  
  
Posted one year ago

When trying it I realized that my local clearml.conf had the old hostnames still ( adamastor.gaiavf.local ). Now your script returns the proper value of http://adamastor-office.periploinnovation.com:8081 . I will see if it works now!

  
  
Posted one year ago