chenlinzhong opened a new pull request, #12276:
URL: https://github.com/apache/doris/pull/12276

   # Proposed changes
   
   Issue Number: close #xxx
   
   ## Problem summary
   Fe submits tasks to spark through the spark submit client, which needs two 
environment variables Hadoop_ user_ name hadoop_ user_ The two variables 
password do not support dynamic settings now. I want these two variables to 
support dynamic settings so that different jobs can be submitted with different 
accounts
   
   fe通过spark-submit客户提交任务到spark,这个客户端需要两个环境变量hadoop_user_name 
hadoop_user_password 这两个变量现在不支持动态设置,我想要这两个变量支持动态设置,这样不同的job可以使用不同的账号来提交
   
   前缀为`env.` 开头的变量为环境变量,hadoop认证方式不是simple的不用填
   ```
   CREATE EXTERNAL RESOURCE "zhihu_test_env"  PROPERTIES(
    "type" = "spark",
    "spark.master" = "yarn",
   "spark.executor.memory"="8g",
   "spark.master"="yarn",
   
"spark.driver.extraLibraryPath"="/usr/lib/hadoop/lzo/lib:/usr/lib/hadoop/lib/native",
   "env.HADOOP_USER_NAME"="user",
   "env.HADOOP_USER_PASSWORD"="password"
   );
   ```
   
   Describe your changes.
   
   ## Checklist(Required)
   
   1. Does it affect the original behavior: 
       - [ ] Yes
       - [ ] No
       - [ ] I don't know
   2. Has unit tests been added:
       - [ ] Yes
       - [ ] No
       - [ ] No Need
   3. Has document been added or modified:
       - [ ] Yes
       - [ ] No
       - [ ] No Need
   4. Does it need to update dependencies:
       - [ ] Yes
       - [ ] No
   5. Are there any changes that cannot be rolled back:
       - [ ] Yes (If Yes, please explain WHY)
       - [ ] No
   
   ## Further comments
   
   If this is a relatively large or complex change, kick off the discussion at 
[d...@doris.apache.org](mailto:d...@doris.apache.org) by explaining why you 
chose the solution you did and what alternatives you considered, etc...
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to