Skip to content

while exporting the experiment we are facing issue  #1

Description

@surendraThot

while we bring to export the experiment from one Databricks Workspace we are getting the fallowing error

(mlflow-export-import-env) (base) semac5002:mlflow_export_import tempsutho$ python3 -u -m mlflow_export_import.experiment.export_experiments \

--experiments 3903592783888150 --output-dir /Users/tempsutho/Documents/MLFlowexportImport/experiments
MLflow Version: 1.12.0
MLflow Tracking URI: databricks
Options:
experiments: 3903592783888150
output_dir: /Users/tempsutho/Documents/MLFlowexportImport/experiments
export_metadata_tags: False
notebook_formats: SOURCE
Experiments:
3903592783888150
Filesystem: LocalFileSystem
WARNING: cannot import name 'databricks_cli_utils' from 'common' (/Users/tempsutho/Documents/MLFlowexportImport/mlflow-export-import/mlflow_export_import/common/init.py)
Traceback (most recent call last):
File "/Users/tempsutho/opt/anaconda3/lib/python3.8/runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/Users/tempsutho/opt/anaconda3/lib/python3.8/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/Users/tempsutho/Documents/MLFlowexportImport/mlflow-export-import/mlflow_export_import/experiment/export_experiments.py", line 108, in
main()
File "/Users/tempsutho/Documents/MLFlowexportImport/mlflow-export-import/mlflow-export-import-env/lib/python3.8/site-packages/click/core.py", line 829, in call
return self.main(*args, **kwargs)
File "/Users/tempsutho/Documents/MLFlowexportImport/mlflow-export-import/mlflow-export-import-env/lib/python3.8/site-packages/click/core.py", line 782, in main
rv = self.invoke(ctx)
File "/Users/tempsutho/Documents/MLFlowexportImport/mlflow-export-import/mlflow-export-import-env/lib/python3.8/site-packages/click/core.py", line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/Users/tempsutho/Documents/MLFlowexportImport/mlflow-export-import/mlflow-export-import-env/lib/python3.8/site-packages/click/core.py", line 610, in invoke
return callback(*args, **kwargs)
File "/Users/tempsutho/Documents/MLFlowexportImport/mlflow-export-import/mlflow_export_import/experiment/export_experiments.py", line 88, in main
exporter = ExperimentExporter(client, export_metadata_tags, utils.string_to_list(notebook_formats))
File "/Users/tempsutho/Documents/MLFlowexportImport/mlflow-export-import/mlflow_export_import/experiment/export_experiments.py", line 24, in init
self.run_exporter = RunExporter(self.client, export_metadata_tags, notebook_formats, self.fs)
File "/Users/tempsutho/Documents/MLFlowexportImport/mlflow-export-import/mlflow_export_import/run/export_run.py", line 23, in init
self.dbx_client = DatabricksHttpClient()
File "/Users/tempsutho/Documents/MLFlowexportImport/mlflow-export-import/mlflow_export_import/common/http_client.py", line 56, in init
super().init("api/2.0", host, token)
File "/Users/tempsutho/Documents/MLFlowexportImport/mlflow-export-import/mlflow_export_import/common/http_client.py", line 14, in init
raise MlflowToolsException("MLflow host or token is not configured correctly")
mlflow_export_import.common.MlflowToolsException: MLflow host or token is not configured correctly

we have provide the

export MLFLOW_TRACKING_URI=databricks
export DATABRICKS_HOST=https://northeurope.azuredatabricks.net
export DATABRICKS_TOKEN= my token here

python3 -u -m mlflow_export_import.experiment.export_experiments
--experiments 3903592783888150 --output-dir /Users/tempsutho/Documents/MLFlowexportImport/experiments

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions