"Because FsRestfulApi obtains files using submitter, if you want to
determine part of the file to be executor, you will have to change a
lot and rely on "get Executor API ".
My opinion is: can I add admin user in FsRestfulApi?
WorkSpaceConfiguration. FILESYSTEM_LOG_ADMIN "reads the log and data
switch configuration."
Add the missing part of the EN version. +1.

Shuai Di
Best Regards.

peacewong <peacew...@apache.org> 于2022年2月14日周一 16:41写道:


>
> +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