THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
- Create the sink table in the catalog using the new API(createStageTable) according to the schema of the query result, the table is visible but not persistentrecorded in memory.
- Submit job to the cluster.
- After JM starts, create a table through Catalog.
- If the job executes successfully, then make data visible.
- If the job execution fails, then drop the sink table or delete data.(This capability requires runtime module support, such as hook, and SQL passes relevant parameters to the runtime module.)
Internal JM Hook Definition
/** |
Register JobStatusHook with StreamGraph
public class StreamGraph implements Pipeline { /** Registers the JobStatusHook. */ |
Supported Job Mode
Support both streaming and batch mode.
...