<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic MLFlow Project tutorial roadblock in viewing successful job run and run details. Resulted in failed status. in Machine Learning</title>
    <link>https://community.databricks.com/t5/machine-learning/mlflow-project-tutorial-roadblock-in-viewing-successful-job-run/m-p/14022#M739</link>
    <description>&lt;P&gt;Hi! Any help will be greatly appreciated!! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I'm following this tutorial: &lt;A href="https://docs.databricks.com/applications/mlflow/projects.html" target="test_blank"&gt;https://docs.databricks.com/applications/mlflow/projects.html&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I decided to use a folder in DBFS that contains my MLflow Project details. And so, in my project I have: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MLproject: &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;conda_env: /dbfs/FileStore/shared_uploads/mcai2@optumcloud.com/wineTest/conda.yaml
&amp;nbsp;
entry_points:
  main:
    parameters:
      n_estimators: {type: int, default: 0.5}
    command: "python3 /dbfs/FileStore/shared_uploads/mcai2@optumcloud.com/wineTest/train.py {n_estimators}"&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;conda.yaml&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;name: mlflow-env
channels:
- conda-forge
dependencies:
- python=3.8.10
- pip
- pip:
  - mlflow
  - pandas==1.2.4
  - psutil==5.8.0
  - scikit-learn==0.24.1
  - typing-extensions==3.7.4.3
  - xgboost==1.5.2&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;train.py (which is code taken from this notebook: &lt;A href="https://docs.databricks.com/_static/notebooks/mlflow/mlflow-end-to-end-example.html" target="test_blank"&gt;https://docs.databricks.com/_static/notebooks/mlflow/mlflow-end-to-end-example.html&lt;/A&gt; &lt;/P&gt;&lt;P&gt;[I basically copied the cells into a .py file. Sorry, the code is too long to include here.])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then for my cluster specification, I have this code: &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;{
  "new_cluster": {
    "spark_version": "9.1.x-cpu-ml-scala2.12",
    "num_workers": 2,
    "node_type_id": "Standard_DS3_v2"
  },
  "libraries": [
    {
      "pypi": {
        "package": "/dbfs/FileStore/shared_uploads/mcai2@optumcloud.com/requests-2.28.1-py3-none-any.whl"
     }
    },
.... (47 other packages of same format)&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;And so I get to step 3 in the tutorial, and I end up getting this: &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Screen Shot 2022-07-11 at 3.38.09 PM"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/1714i99F7C44F17F68E2E/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2022-07-11 at 3.38.09 PM" alt="Screen Shot 2022-07-11 at 3.38.09 PM" /&gt;&lt;/span&gt;and when I go to the experiment I made in step 1, there is nothing like what is outlined in step 4. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm sure my mistake is somewhere in my folder containing the parts to the project, but I'm not sure what I'm doing wrong. I'm a newcomer to databricks and to writing code like this. Any help would be so greatly appreciated. Thank you so much for your time and help! &lt;/P&gt;</description>
    <pubDate>Mon, 11 Jul 2022 20:50:04 GMT</pubDate>
    <dc:creator>confusedIntern</dc:creator>
    <dc:date>2022-07-11T20:50:04Z</dc:date>
    <item>
      <title>MLFlow Project tutorial roadblock in viewing successful job run and run details. Resulted in failed status.</title>
      <link>https://community.databricks.com/t5/machine-learning/mlflow-project-tutorial-roadblock-in-viewing-successful-job-run/m-p/14022#M739</link>
      <description>&lt;P&gt;Hi! Any help will be greatly appreciated!! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I'm following this tutorial: &lt;A href="https://docs.databricks.com/applications/mlflow/projects.html" target="test_blank"&gt;https://docs.databricks.com/applications/mlflow/projects.html&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I decided to use a folder in DBFS that contains my MLflow Project details. And so, in my project I have: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MLproject: &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;conda_env: /dbfs/FileStore/shared_uploads/mcai2@optumcloud.com/wineTest/conda.yaml
&amp;nbsp;
entry_points:
  main:
    parameters:
      n_estimators: {type: int, default: 0.5}
    command: "python3 /dbfs/FileStore/shared_uploads/mcai2@optumcloud.com/wineTest/train.py {n_estimators}"&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;conda.yaml&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;name: mlflow-env
channels:
- conda-forge
dependencies:
- python=3.8.10
- pip
- pip:
  - mlflow
  - pandas==1.2.4
  - psutil==5.8.0
  - scikit-learn==0.24.1
  - typing-extensions==3.7.4.3
  - xgboost==1.5.2&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;train.py (which is code taken from this notebook: &lt;A href="https://docs.databricks.com/_static/notebooks/mlflow/mlflow-end-to-end-example.html" target="test_blank"&gt;https://docs.databricks.com/_static/notebooks/mlflow/mlflow-end-to-end-example.html&lt;/A&gt; &lt;/P&gt;&lt;P&gt;[I basically copied the cells into a .py file. Sorry, the code is too long to include here.])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then for my cluster specification, I have this code: &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;{
  "new_cluster": {
    "spark_version": "9.1.x-cpu-ml-scala2.12",
    "num_workers": 2,
    "node_type_id": "Standard_DS3_v2"
  },
  "libraries": [
    {
      "pypi": {
        "package": "/dbfs/FileStore/shared_uploads/mcai2@optumcloud.com/requests-2.28.1-py3-none-any.whl"
     }
    },
.... (47 other packages of same format)&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;And so I get to step 3 in the tutorial, and I end up getting this: &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Screen Shot 2022-07-11 at 3.38.09 PM"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/1714i99F7C44F17F68E2E/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2022-07-11 at 3.38.09 PM" alt="Screen Shot 2022-07-11 at 3.38.09 PM" /&gt;&lt;/span&gt;and when I go to the experiment I made in step 1, there is nothing like what is outlined in step 4. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm sure my mistake is somewhere in my folder containing the parts to the project, but I'm not sure what I'm doing wrong. I'm a newcomer to databricks and to writing code like this. Any help would be so greatly appreciated. Thank you so much for your time and help! &lt;/P&gt;</description>
      <pubDate>Mon, 11 Jul 2022 20:50:04 GMT</pubDate>
      <guid>https://community.databricks.com/t5/machine-learning/mlflow-project-tutorial-roadblock-in-viewing-successful-job-run/m-p/14022#M739</guid>
      <dc:creator>confusedIntern</dc:creator>
      <dc:date>2022-07-11T20:50:04Z</dc:date>
    </item>
  </channel>
</rss>

