Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configuring URI #33

Open
LarkRanger opened this issue Jan 16, 2022 · 2 comments
Open

Configuring URI #33

LarkRanger opened this issue Jan 16, 2022 · 2 comments

Comments

@LarkRanger
Copy link

LarkRanger commented Jan 16, 2022

Hello.
I followed the instructions in the README:

  1. Create env
  2. Activate Env
  3. Use the following:
export-experiment-list --experiments 'all' --output-dir out

But I am getting the following error:

Traceback (most recent call last):
  File "C:\Users\ronnye\mlflow-temp\mlflow-export-import\Scripts\export-experiment-list-script.py", line 33, in <module>
    sys.exit(load_entry_point('mlflow-export-import==1.0.0', 'console_scripts', 'export-experiment-list')())
  File "C:\Users\ronnye\mlflow-temp\mlflow-export-import\lib\site-packages\click\core.py", line 1128, in __call__
    return self.main(*args, **kwargs)
  File "C:\Users\ronnye\mlflow-temp\mlflow-export-import\lib\site-packages\click\core.py", line 1053, in main
    rv = self.invoke(ctx)
  File "C:\Users\ronnye\mlflow-temp\mlflow-export-import\lib\site-packages\click\core.py", line 1395, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "C:\Users\ronnye\mlflow-temp\mlflow-export-import\lib\site-packages\click\core.py", line 754, in invoke
    return __callback(*args, **kwargs)
  File "C:\Users\ronnye\mlflow-temp\mlflow-export-import\lib\site-packages\mlflow_export_import\experiment\export_experiment_list.py", line 79, in main
    export_experiment_list(experiments, output_dir, export_metadata_tags, notebook_formats, export_notebook_revision)
  File "C:\Users\ronnye\mlflow-temp\mlflow-export-import\lib\site-packages\mlflow_export_import\experiment\export_experiment_list.py", line 26, in export_experiment_list
    exporter = ExperimentExporter(client, export_metadata_tags, utils.string_to_list(notebook_formats), export_notebook_revision)
  File "C:\Users\ronnye\mlflow-temp\mlflow-export-import\lib\site-packages\mlflow_export_import\experiment\export_experiment.py", line 20, in __init__
    self.run_exporter = RunExporter(self.client, export_metadata_tags, notebook_formats, export_notebook_revision)
  File "C:\Users\ronnye\mlflow-temp\mlflow-export-import\lib\site-packages\mlflow_export_import\run\export_run.py", line 23, in __init__
    self.dbx_client = DatabricksHttpClient()
  File "C:\Users\ronnye\mlflow-temp\mlflow-export-import\lib\site-packages\mlflow_export_import\common\http_client.py", line 70, in __init__
    super().__init__("api/2.0", host, token)
  File "C:\Users\ronnye\mlflow-temp\mlflow-export-import\lib\site-packages\mlflow_export_import\common\http_client.py", line 21, in __init__
    raise MlflowExportImportException("MLflow host or token is not configured correctly")
mlflow_export_import.common.MlflowExportImportException: MLflow host or token is not configured correctly

I made sure to set set MLFLOW_TRACKING_URI=http://localhost:5051 (this is on Windows 11).
My Mlflow is running on Kubernetes and I am port-forwarding, but the pf works fine as I have access to it through the browser.
There is no token that I'm aware of.
Still I get this error.

@LarkRanger LarkRanger changed the title Configuring URI from Command Line? Configuring URI Jan 17, 2022
@LarkRanger LarkRanger reopened this Jan 17, 2022
@amesar
Copy link
Owner

amesar commented Jan 17, 2022 via email

@ReHoss
Copy link

ReHoss commented Oct 12, 2022

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants