kyuubi icon indicating copy to clipboard operation
kyuubi copied to clipboard

[KYUUBI #5935] Engine YARN mode support proxy appUser

Open yikf opened this issue 1 year ago โ€ข 3 comments

:mag: Description

Issue References ๐Ÿ”—

This pull request fixes https://github.com/apache/kyuubi/issues/5935

Describe Your Solution ๐Ÿ”ง

Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.

Types of changes :bookmark:

  • [ ] Bugfix (non-breaking change which fixes an issue)
  • [x] New feature (non-breaking change which adds functionality)
  • [ ] Breaking change (fix or feature that would cause existing functionality to change)

Test Plan ๐Ÿงช

Behavior Without This Pull Request :coffin:

Behavior With This Pull Request :tada:

Related Unit Tests


Checklist ๐Ÿ“

Be nice. Be informative.

yikf avatar Dec 30 '23 03:12 yikf

I use https://github.com/awesome-kyuubi/hadoop-testing as the hadoop test environment and bin/beeline -u 'jdbc:hive2://hadoop-master1.orb.local:10009/;#kyuubi.engine.type=HIVE_SQL;kyuubi.engine.hive.deploy.mode=YARN;kyuubi.engineEnv.HIVE_HADOOP_CLASSPATH=/opt/kyuubi/externalJars/*' -n meme9 to start hiveengine. yarn ui has correct user information image

yikf avatar Dec 30 '23 03:12 yikf

Codecov Report

Attention: 8 lines in your changes are missing coverage. Please review.

Comparison is base (5d59cf1) 61.21% compared to head (08a959a) 61.13%.

Files Patch % Lines
...i/engine/deploy/yarn/EngineYarnModeSubmitter.scala 0.00% 8 Missing :warning:
Additional details and impacted files
@@             Coverage Diff              @@
##             master    #5936      +/-   ##
============================================
- Coverage     61.21%   61.13%   -0.08%     
  Complexity       23       23              
============================================
  Files           621      621              
  Lines         36864    36872       +8     
  Branches       5014     5016       +2     
============================================
- Hits          22566    22543      -23     
- Misses        11869    11889      +20     
- Partials       2429     2440      +11     

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

codecov-commenter avatar Dec 30 '23 05:12 codecov-commenter

BTW, for hadoop-testing environment, the recommended HIVE_HADOOP_CLASSPATH is /opt/hadoop/share/hadoop/client/*, there are only Hadoop Shaded client jars

pan3793 avatar Dec 30 '23 07:12 pan3793