Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bug]After switching the proxy user, the file directory displayed in the front-end "Workspace" is incorrect #632

Closed
1 of 2 tasks
yuankang134 opened this issue May 26, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@yuankang134
Copy link
Collaborator

yuankang134 commented May 26, 2022

Search before asking

  • I had searched in the issues and found no similar feature requirement.

Problem Description

  1. After logging in for the first time, after switching to hduser05, the workspace displays the folders and files of the logged-in user janicegong; after clicking the [Refresh] button in the upper left corner, the folder name is still the logged-in user janicegong, but the files under the folder are refreshed for proxy user hduser05. The data displayed in the database, UDF function, HDFS, etc. are all proxy users, correct
    (首次登录,切换到hduser05后,工作空间展示的是登录用户janicegong的文件夹及文件;点击左上角【刷新】按钮后,文件夹名称依旧是登录用户janicegong,但文件夹下面的文件才刷新为代理用户hduser05的。数据库、UDF函数、HDFS等展示的数据都是代理用户的,正确)
    image (12)

image (10)

  1. Switch to stacyyan again, the workspace displays the folders and files of the last proxy user hduser05; after clicking the [Refresh] button in the upper left corner, the folder name is still the last proxy user hduser05, but the files under the folder are only Refresh for the latest proxy user stacyyan;
    (再次切换到stacyyan,工作空间展示的是上一个代理用户hduser05的文件夹及文件;点击左上角【刷新】按钮后,文件夹名称依旧是上一个代理用户hduser05,但文件夹下面的文件才刷新为最新代理用户stacyyan的)

In addition: At this time, the data displayed in the database, UDF function, HDFS, etc. are all of the last proxy user, which is incorrect! ! !
(另外:此时数据库、UDF函数、HDFS等展示的数据都是上一个代理用户的,不正确!!!)
image (11)

Description

No response

Use case

No response

solutions

No response

Anything else

No response

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!
@yuankang134 yuankang134 added the enhancement New feature or request label May 26, 2022
@yuankang134 yuankang134 changed the title 切换代理用户后,前端“工作空间”展示的文件目录不正确 [bug]After switching the proxy user, the file directory displayed in the front-end "Workspace" is incorrect May 30, 2022
@yuankang134 yuankang134 added bug Something isn't working and removed enhancement New feature or request labels May 30, 2022
@yuankang134
Copy link
Collaborator Author

this bug had fixed on dss-1.1.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant