https://dagster.io/ logo
#announcements
Title
# announcements
k

Kevin

08/30/2020, 4:37 AM
Hello. I installed dagster and dagit in a conda env and am trying to go through the basic tutorial for dagster. Was able to create and run hello_dagster.py with
Copy code
dagster pipeline execute -f hello_dagster.py
but can't get http://localhost:3000 to open now (on any browser). Just get a "Firefox can’t establish a connection to the server at localhost:3000."
(conda_dagster_env) kk@kevins-MacBook-Air conda_dagster_env % dagster pipeline execute -f hello_dagster.py
2020-08-30 002509 - dagster - DEBUG - hello_pipeline - bc85ec27-20db-4590-ba8b-488330b5b9b2 - PIPELINE_START - Started execution of pipeline "hello_pipeline".
         pid = 17504
2020-08-30 002509 - dagster - DEBUG - hello_pipeline - bc85ec27-20db-4590-ba8b-488330b5b9b2 - ENGINE_EVENT - Executing steps in process (pid: 17504)
 event_specific_data = {"error": null, "marker_end": null, "marker_start": null, "metadata_entries": [["pid", null, ["17504"]], ["step_keys", null, ["['get_name.compute', 'hello.compute']"]]]}
         pid = 17504
2020-08-30 002510 - dagster - DEBUG - hello_pipeline - bc85ec27-20db-4590-ba8b-488330b5b9b2 - STEP_START - Started execution of step "get_name.compute".
         pid = 17504
        solid = "get_name"
  solid_definition = "get_name"
      step_key = "get_name.compute"
2020-08-30 002510 - dagster - DEBUG - hello_pipeline - bc85ec27-20db-4590-ba8b-488330b5b9b2 - STEP_OUTPUT - Yielded output "result" of type "Any". (Type check passed).
 event_specific_data = {"intermediate_materialization": null, "step_output_handle": ["get_name.compute", "result"], "type_check_data": [true, "result", null, []]}
         pid = 17504
        solid = "get_name"
  solid_definition = "get_name"
      step_key = "get_name.compute"
2020-08-30 002510 - dagster - DEBUG - hello_pipeline - bc85ec27-20db-4590-ba8b-488330b5b9b2 - STEP_SUCCESS - Finished execution of step "get_name.compute" in 1.39ms.
 event_specific_data = {"duration_ms": 1.3937400000001432}
         pid = 17504
        solid = "get_name"
  solid_definition = "get_name"
      step_key = "get_name.compute"
2020-08-30 002510 - dagster - DEBUG - hello_pipeline - bc85ec27-20db-4590-ba8b-488330b5b9b2 - STEP_START - Started execution of step "hello.compute".
         pid = 17504
        solid = "hello"
  solid_definition = "hello"
      step_key = "hello.compute"
2020-08-30 002510 - dagster - DEBUG - hello_pipeline - bc85ec27-20db-4590-ba8b-488330b5b9b2 - STEP_INPUT - Got input "name" of type "String". (Type check passed).
 event_specific_data = {"input_name": "name", "type_check_data": [true, "name", null, []]}
         pid = 17504
        solid = "hello"
  solid_definition = "hello"
      step_key = "hello.compute"
2020-08-30 002510 - dagster - INFO - system - bc85ec27-20db-4590-ba8b-488330b5b9b2 - Hello, dagster!
        solid = "hello"
  solid_definition = "hello"
      step_key = "hello.compute"
2020-08-30 002510 - dagster - DEBUG - hello_pipeline - bc85ec27-20db-4590-ba8b-488330b5b9b2 - STEP_OUTPUT - Yielded output "result" of type "Any". (Type check passed).
 event_specific_data = {"intermediate_materialization": null, "step_output_handle": ["hello.compute", "result"], "type_check_data": [true, "result", null, []]}
         pid = 17504
        solid = "hello"
  solid_definition = "hello"
      step_key = "hello.compute"
2020-08-30 002510 - dagster - DEBUG - hello_pipeline - bc85ec27-20db-4590-ba8b-488330b5b9b2 - STEP_SUCCESS - Finished execution of step "hello.compute" in 1.38ms.
 event_specific_data = {"duration_ms": 1.3763710000000984}
         pid = 17504
        solid = "hello"
  solid_definition = "hello"
      step_key = "hello.compute"
2020-08-30 002510 - dagster - DEBUG - hello_pipeline - bc85ec27-20db-4590-ba8b-488330b5b9b2 - ENGINE_EVENT - Finished steps in process (pid: 17504) in 8.72ms
 event_specific_data = {"error": null, "marker_end": null, "marker_start": null, "metadata_entries": [["pid", null, ["17504"]], ["step_keys", null, ["['get_name.compute', 'hello.compute']"]]]}
         pid = 17504
2020-08-30 002510 - dagster - DEBUG - hello_pipeline - bc85ec27-20db-4590-ba8b-488330b5b9b2 - PIPELINE_SUCCESS - Finished execution of pipeline "hello_pipeline".
         pid = 17504
a

Andrey Alekseev

08/30/2020, 9:03 AM
If you want to use GUI, you should run dagit (not dagster) command:
dagit <some attrs if you like>
After this, if everything was successful, you'll see:
Loading repository... Serving on <http://127.0.0.1:3000|http://127.0.0.1:3000>
Here you may find several ways to run dagster pipeline https://docs.dagster.io/tutorial/execute
d

daniel

08/30/2020, 1:53 PM
Hi Kevin - I see how the instructions on https://docs.dagster.io/tutorial/setup could be clearer here, sorry about that - the instructions to navigate to localhost in your browser only apply to the third option for executing the pipeline (Dagit web UI). The other two options execute the pipeline right there in the command line.
k

Kevin

08/30/2020, 5:02 PM
Doh... well I feel dumb. Appreciate the help and responses from everyone. Completely new to programs like dagster and just learning python now. I have an extensive SQL background and am trying to learn new tools while setting up an ETL process to pull, load, and process data into a postgresql db.