You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@linkis.apache.org by 康悦Rita <ri...@163.com> on 2022/11/25 02:28:10 UTC
[DISCUSS] tenant=hadoop tenant label processing
Dear:
Wechat group "Apache Linkis(incubating) community Development group "chat records are as follows: 微信群"Apache Linkis(incubating) 社区开发群"的聊天记录如下:
————— 2022-11-24 —————
Mr. Flash 17:32
The tenant=hadoop tenant tag is included in the task. I really don't know how to do this in ds scheduling. Currently, linkis publishes the past scheduling which is not editable. Do you need to add the execution parameter variables?
peacewong@WDS 17:33
Yes you need to add labels
Mr. Flash 17:35
peacewong@WDS 17:38
peacewong@WDS 17:38
tenant: hadoop
Mr. Flash 17:39
OK, let's put a label here
Mr. Flash 17:39
Let me see how I can change this
peacewong@WDS 17:40
Well, if it's a script type, you can also configure it in the dss script editor -- add the tenant hadoop variable
Mr. Flash 17:41
I see that each assignment has a business tag and an application tag
Can the tenant be either of the two
peacewong@WDS 17:42
No, it's different
peacewong@WDS 17:42
This is the way to go
Mr. Flash 17:42
Let me give it a try
Mr. Flash 17:49
@peacewong@WDS Set environment variables on workflow and it took effect
闪电先生 17:32
任务里面带上tenant=hadoop的租户标签。 这个确实不知道在ds调度那边怎么做,目前linkis发布过去的调度是不可编辑的,是添加执行参数变量吗?
peacewong@WDS 17:33
是需要添加标签
闪电先生 17:35
peacewong@WDS 17:38
peacewong@WDS 17:38
tenant: hadoop
闪电先生 17:39
OK 在这里加上一个label是吧
闪电先生 17:39
我看看这个怎么改
peacewong@WDS 17:40
好了,如果是脚本类型,也可以在dss的脚本编辑里面配置--添加tenant hadoop变量
闪电先生 17:41
我看到每个作业都有 业务标签 应用标签
,这个租户是这二个任意一个都可以吗
peacewong@WDS 17:42
不可以的,不同的
peacewong@WDS 17:42
建议用这种方式
闪电先生 17:42
我先试下
闪电先生 17:49
@peacewong@WDS 在workflow设置了环境变量,生效了
--
Best Regards
------
康悦 ritakang
GitHub:Ritakang0451
E-mail:rita0451@163.com