question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[BUG]mlflow run_recipe_step raising an error "The system cannot find the file specified"(mlflow\recipes\recipe.py:87)

See original GitHub issue

Issues Policy acknowledgement

  • I have read and agree to submit bug reports in accordance with the issues policy

Willingness to contribute

Yes. I would be willing to contribute a fix for this bug with guidance from the MLflow community.

MLflow version

  • Client: 1.x.y
  • Tracking server: 1.x.y

System information

  • OS Platform and Distribution (e.g., Linux Ubuntu 16.04):
  • Python version:
  • yarn version, if running the dev UI:

Describe the problem

mlflow run_recipe_step raising an error “The system cannot find the file specified”(mlflow\recipes\recipe.py:87) while executing “classification” model on wine data set. The code is exact copy of mlflow github “https://github.com/mlflow/recipes-examples/tree/main/classification”.

the proper has been defined in local.yaml file already as below INGEST_CONFIG:

For different options please read: https://github.com/mlflow/recipes-classification-template#ingest-step

using: csv location: [“./data/winequality-white.csv”, “./data/winequality-red.csv”] loader_method: load_file_as_dataframe

Tracking information

No response

Code to reproduce issue

%load_ext autoreload %autoreload 2 from mlflow.recipes import Recipe import os r = Recipe(profile=“local”) r.clean() r.inspect()

r.run(“ingest”)

Stack trace

FileNotFoundError Traceback (most recent call last) Cell In[6], line 1 ----> 1 r.run(“ingest”)

File c:\Users\M1097476\AppData\Local\Programs\Python\Python310\lib\site-packages\mlflow\recipes\classification\v1\recipe.py:267, in ClassificationRecipe.run(self, step) 195 def run(self, step: str = None) -> None: 196 “”" 197 Runs the full recipe or a particular recipe step, producing outputs and displaying a 198 summary of results upon completion. Step outputs are cached from previous executions, and (…) 265 classification_recipe.run() 266 “”" –> 267 return super().run(step=step)

File c:\Users\M1097476\AppData\Local\Programs\Python\Python310\lib\site-packages\mlflow\recipes\recipe.py:87, in _BaseRecipe.run(self, step) 85 self._steps = self._resolve_recipe_steps() 86 target_step = self._get_step(step) if step else self._get_default_step() —> 87 last_executed_step = run_recipe_step( 88 self._recipe_root_path, 89 self._get_subgraph_for_target_step(target_step), 90 target_step, 91 self._recipe, 92 ) 94 self.inspect(last_executed_step.name) … 1455 self._close_pipe_fds(p2cread, p2cwrite, 1456 c2pread, c2pwrite, 1457 errread, errwrite) FileNotFoundError: [WinError 2] The system cannot find the file specified

Other info / logs

No response

What component(s) does this bug affect?

  • area/artifacts: Artifact stores and artifact logging
  • area/build: Build and test infrastructure for MLflow
  • area/docs: MLflow documentation pages
  • area/examples: Example code
  • area/model-registry: Model Registry service, APIs, and the fluent client calls for Model Registry
  • area/models: MLmodel format, model serialization/deserialization, flavors
  • area/recipes: Recipes, Recipe APIs, Recipe configs, Recipe Templates
  • area/projects: MLproject format, project running backends
  • area/scoring: MLflow Model server, model deployment tools, Spark UDFs
  • area/server-infra: MLflow Tracking server backend
  • area/tracking: Tracking Service, tracking client APIs, autologging

What interface(s) does this bug affect?

  • area/uiux: Front-end, user experience, plotting, JavaScript, JavaScript dev server
  • area/docker: Docker use across MLflow’s components, such as MLflow Projects and MLflow Models
  • area/sqlalchemy: Use of SQLAlchemy in the Tracking Service or Model Registry
  • area/windows: Windows support

What language(s) does this bug affect?

  • language/r: R APIs and clients
  • language/java: Java APIs and clients
  • language/new: Proposals for new client languages

What integration(s) does this bug affect?

  • integrations/azure: Azure and Azure ML integrations
  • integrations/sagemaker: SageMaker integrations
  • integrations/databricks: Databricks integrations

Issue Analytics

  • State:closed
  • Created 9 months ago
  • Comments:15 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
smsrghoshcommented, Dec 9, 2022

This is the full stack trace only :

-> r.run(“split”)

2022/12/09 15:08:33 INFO mlflow.recipes.utils.execution: ingest: No changes. Skipping. process_begin: CreateProcess(NULL, # Run MLFlow Recipe step: split, …) failed. make (e=2): The system cannot find the file specified.

make: *** [Makefile:21: steps/split/outputs/train.parquet] Error 2

On Fri, Dec 9, 2022 at 3:35 PM Harutaka Kawamura @.***> wrote:

@smsrghosh https://github.com/smsrghosh Can you provide the full traceback?

— Reply to this email directly, view it on GitHub https://github.com/mlflow/mlflow/issues/7483#issuecomment-1344103025, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJMTGR67CMXOZL3D4RJIMMTWML74ZANCNFSM6AAAAAASYCDR5M . You are receiving this because you were mentioned.Message ID: @.***>

Read more comments on GitHub >

github_iconTop Results From Across the Web

No results found

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found