starrocks icon indicating copy to clipboard operation
starrocks copied to clipboard

Non-root user cannot stream load

Open mcgray opened this issue 1 year ago • 3 comments

Using SR 3.0 and Stream Load (Scala application). While testing and piloting with root user had no issues. When separate user created for load - seeing errors accessing SR.

Steps to reproduce the behavior (Required)

Create DB/Table. Create user with Insert/Select permissions to that table Try to stream load into table with user

Expected behavior (Required)

Stream load successful.

Real behavior (Required)

Seeing errors:

20:55:13.828 ERROR blaze - Supervisor RestartSupervisor saw failure: Stream load failed, statusCode=401 load result={"status":"FAILED","msg":"Access denied for blaze-gom@<removed_infosec>"}
java.lang.RuntimeException: Stream load failed, statusCode=401 load result={"status":"FAILED","msg":"Access denied for blaze-gom@<removed_infosec>"}

StarRocks version (Required)

3.0

mcgray avatar Aug 11 '23 17:08 mcgray

401 means no authentication.

Would you mind to migive more information? Does that you mean you submit a curl requrest to SR with a non-root user, then SR gives you a failed message?

jaogoy avatar Aug 25 '23 07:08 jaogoy

Correct. For non-root user we are having auth issue BUT for root users - everything works fine.

mcgray avatar Aug 28 '23 17:08 mcgray

We have marked this issue as stale because it has been inactive for 6 months. If this issue is still relevant, removing the stale label or adding a comment will keep it active. Otherwise, we'll close it in 10 days to keep the issue queue tidy. Thank you for your contribution to StarRocks!

github-actions[bot] avatar Feb 26 '24 11:02 github-actions[bot]

Folks can you please re-open this one. This is still a problem for us.

mcgray avatar Mar 13 '24 17:03 mcgray