Skip to content

What is the "ELASTIC_ENDPOINT"? #219

@xiaoToby

Description

@xiaoToby

When I tried that tuitorial(https://github.com/logicalclocks/hopsworks-tutorials/blob/master/advanced_tutorials/recommender-system/3_build_index.ipynb), I met that error.
The logs:
Traceback (most recent call last):
File “/root/hopsworks/recommender-system/build_index.py”, line 55, in
client = OpenSearch(**opensearch_api.get_default_py_config())
File “/kvm/miniconda3/envs/hopsworks/lib/python3.9/site-packages/hopsworks/core/opensearch_api.py”, line 66, in get_default_py_config
url = furl(self._get_opensearch_url())
File “/kvm/miniconda3/envs/hopsworks/lib/python3.9/site-packages/hopsworks/core/opensearch_api.py”, line 33, in _get_opensearch_url
return os.environ[constants.ENV_VARS.ELASTIC_ENDPOINT_ENV_VAR]
File “/kvm/miniconda3/envs/hopsworks/lib/python3.9/os.py”, line 679, in getitem
raise KeyError(key) from None
KeyError: ‘ELASTIC_ENDPOINT’

I am confused about the ELASTIC_ENDPOINT, what is it , and how to fix it? help!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions