+1 Support for proxy execution is an important feature

朱辉 <liangqil...@apache.org> 于2022年2月14日周一 16:28写道:

>      When the job is submitted as “execute_user”, it will encounter the
> following problems:
>
> 1. the class “LabelCheckInterceptor” determines whether the submitter and
> the executor are equal
>
> 2. The job log will be created by default with submitter, and the data will
> be created with executor by default
>
> 3. The method of reading logs and data in “linkis-publicservice” is “login
> user”, submitter, and there will be bugs in the function “
> checkIsUsersDirectory.”
>
> 4. The system api does not support the API that provides executors
>
>
> 当作业以execute_user方式提交时会遇到一下问题:
>
> 1、LabelCheckInterceptor  判断submitter和 executor是否相等
>
> 2、作业日志会默认以submitter来创建、数据会默认以executor来创建
>
> 3、publicservice中读取日志和数据的方法都是login user
> 也就是说submitter,并且checkIsUsersDirectory
> 会出现bug。
>
> 4、系统api 缺少提供executor的API
>
>     因为FsRestfulApi 获取文件均是使用submitter,如果要改为判断部分文件区分executor的话,改动比较大,并且还需要依赖
> “get
> executor API”。
>
>    我的意见是:是否可以在FsRestfulApi增加 以管理员用户“
> WorkSpaceConfiguration.FILESYSTEM_LOG_ADMIN” 读取log 和 数据的开关配置。
>

Reply via email to