chrispc
10/11/2021, 5:45 AMRubén Lopez Lozoya
10/11/2021, 9:15 AM@solid(input_defs=[InputDefinition(name="current", dagster_type=Union[Series, int, float]), InputDefinition(name="previous", dagster_type=Union[Series, int, float])])
dixel
10/11/2021, 10:26 AMrun_launcher
for different repositories within a workspace? What would be the way to configure this behaviour?Koby Kilimnik
10/11/2021, 2:41 PMKoby Kilimnik
10/11/2021, 2:41 PMKoby Kilimnik
10/11/2021, 2:42 PMKoby Kilimnik
10/11/2021, 2:50 PMEmily
10/11/2021, 2:59 PMSebastian Napiorkowski
10/11/2021, 3:10 PMAndy H
10/11/2021, 3:22 PMKoby Kilimnik
10/11/2021, 4:08 PMKoby Kilimnik
10/11/2021, 4:09 PMKoby Kilimnik
10/11/2021, 4:11 PMKoby Kilimnik
10/11/2021, 4:52 PM@hourly_schedule(
pipeline_name="athena_table_creation",
start_date=datetime(2021, 1, 1),
execution_timezone="UTC",
mode="prod"
)
def my_hourly_schedule(_context):
run_config = {"resources": {...}, "solids": {...}}
return run_config
the pipeline config looks as follows:
MODE_PROD = ModeDefinition(name="prod", resource_defs={
"athena_connection": athena_connection,
"s3": s3_resource
})
MODE_TEST = ModeDefinition(name="test", resource_defs={
"athena_connection": athena_connection,
"s3": s3_resource
})
@pipeline(mode_defs=[MODE_PROD, MODE_TEST])
def athena_table_creation():
""" implementation reducted """
Koby Kilimnik
10/11/2021, 4:53 PMdagster.check.CheckError: Failure condition: Could not find mode default in pipeline athena_table_creation
File "/home/ubuntu/Envs/dagster/lib/python3.8/site-packages/dagster/grpc/impl.py", line 342, in get_external_execution_plan_snapshot
create_execution_plan(
File "/home/ubuntu/Envs/dagster/lib/python3.8/site-packages/dagster/core/execution/api.py", line 718, in create_execution_plan
resolved_run_config = ResolvedRunConfig.build(pipeline_def, run_config, mode=mode)
File "/home/ubuntu/Envs/dagster/lib/python3.8/site-packages/dagster/core/system_config/objects.py", line 166, in build
run_config_schema = pipeline_def.get_run_config_schema(mode)
File "/home/ubuntu/Envs/dagster/lib/python3.8/site-packages/dagster/core/definitions/pipeline.py", line 292, in get_run_config_schema
mode_def = self.get_mode_definition(mode)
File "/home/ubuntu/Envs/dagster/lib/python3.8/site-packages/dagster/core/definitions/pipeline.py", line 357, in get_mode_definition
check.failed(
File "/home/ubuntu/Envs/dagster/lib/python3.8/site-packages/dagster/check/__init__.py", line 119, in failed
raise CheckError("Failure condition: {desc}".format(desc=desc))
Koby Kilimnik
10/11/2021, 4:54 PMKoby Kilimnik
10/11/2021, 5:24 PMChris Chan
10/11/2021, 6:12 PMdbt_rpc_run_and_wait
solid to retry when it hits the dbt RPC server while it’s compiling 🧵Alejandro A
10/11/2021, 8:36 PMKoby Kilimnik
10/11/2021, 9:03 PMKoby Kilimnik
10/11/2021, 9:03 PMAleksandr Filippov
10/12/2021, 2:22 AMAlexis M
10/12/2021, 8:23 AMVladislav Ladenkov
10/12/2021, 9:32 AMDockerLauncher
take envs from repository container?
Because now i see two ways how pipeline container can inherit envs:
1. DagsterDaemon has these envs inside himself.
2. All envs are embedded into repository image, so pipeline image has all envs embedded (pipeline image is the same as repository image)
IMHO, both are not goodKobi
10/12/2021, 10:54 AMKoby Kilimnik
10/12/2021, 11:43 AMKoby Kilimnik
10/12/2021, 11:47 AMKoby Kilimnik
10/12/2021, 11:50 AMKoby Kilimnik
10/12/2021, 11:50 AMMohammad Nazeeruddin
10/12/2021, 12:38 PMrpc._channel._InactiveRpcError: <_InactiveRpcError of RPC that terminated with:
status = StatusCode.UNAVAILABLE
details = "no healthy upstream"
debug_error_string = "{"created":"@1634031954.613875382","description":"Error received from peer ipv4192.168.125.1483030","file":"src/core/lib/surface/call.cc","file_line":1067,"grpc_message":"no healthy upstream","grpc_status":14}"
This our workspace.yaml and gateway yaml files in helm. in gateway we configured Istio things to access our dagit ui.
Please help us to resolve this error.