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

[fix](cloud) Fix auth compatibility logic run errer mode #38136

Merged
merged 1 commit into from
Jul 19, 2024

Conversation

deardeng
Copy link
Contributor

Caused by: java.lang.IllegalStateException: 11
	at com.google.common.base.Preconditions.checkState(Preconditions.java:512) ~[guava-32.1.2-jre.jar:?]
	at org.apache.doris.mysql.privilege.PrivBitSet.get(PrivBitSet.java:63) ~[doris-fe.jar:1.2-SNAPSHOT]
	at org.apache.doris.mysql.privilege.PrivBitSet.containsPrivs(PrivBitSet.java:116) ~[doris-fe.jar:1.2-SNAPSHOT]
	at org.apache.doris.mysql.privilege.Role.lambda$compatibilityErrEnum$4(Role.java:1150) ~[doris-fe.jar:1.2-SNAPSHOT]
	at java.util.LinkedHashMap$LinkedValues.forEach(LinkedHashMap.java:647) ~[?:?]
	at org.apache.doris.mysql.privilege.Role.compatibilityErrEnum(Role.java:1149) ~[doris-fe.jar:1.2-SNAPSHOT]
	at org.apache.doris.mysql.privilege.Role.gsonPostProcess(Role.java:1100) ~[doris-fe.jar:1.2-SNAPSHOT]

Proposed changes

Issue Number: close #xxx

```
Caused by: java.lang.IllegalStateException: 11
	at com.google.common.base.Preconditions.checkState(Preconditions.java:512) ~[guava-32.1.2-jre.jar:?]
	at org.apache.doris.mysql.privilege.PrivBitSet.get(PrivBitSet.java:63) ~[doris-fe.jar:1.2-SNAPSHOT]
	at org.apache.doris.mysql.privilege.PrivBitSet.containsPrivs(PrivBitSet.java:116) ~[doris-fe.jar:1.2-SNAPSHOT]
	at org.apache.doris.mysql.privilege.Role.lambda$compatibilityErrEnum$4(Role.java:1150) ~[doris-fe.jar:1.2-SNAPSHOT]
	at java.util.LinkedHashMap$LinkedValues.forEach(LinkedHashMap.java:647) ~[?:?]
	at org.apache.doris.mysql.privilege.Role.compatibilityErrEnum(Role.java:1149) ~[doris-fe.jar:1.2-SNAPSHOT]
	at org.apache.doris.mysql.privilege.Role.gsonPostProcess(Role.java:1100) ~[doris-fe.jar:1.2-SNAPSHOT]
```
@doris-robot
Copy link

Thank you for your contribution to Apache Doris.
Don't know what should be done next? See How to process your PR

Since 2024-03-18, the Document has been moved to doris-website.
See Doris Document.

@deardeng
Copy link
Contributor Author

run buildall

@github-actions github-actions bot added the approved Indicates a PR has been approved by one committer. label Jul 19, 2024
Copy link
Contributor

PR approved by at least one committer and no changes requested.

Copy link
Contributor

PR approved by anyone and no changes requested.

@hello-stephen hello-stephen merged commit 4ea423d into apache:master Jul 19, 2024
28 of 30 checks passed
dataroaring pushed a commit that referenced this pull request Jul 22, 2024
```
Caused by: java.lang.IllegalStateException: 11
	at com.google.common.base.Preconditions.checkState(Preconditions.java:512) ~[guava-32.1.2-jre.jar:?]
	at org.apache.doris.mysql.privilege.PrivBitSet.get(PrivBitSet.java:63) ~[doris-fe.jar:1.2-SNAPSHOT]
	at org.apache.doris.mysql.privilege.PrivBitSet.containsPrivs(PrivBitSet.java:116) ~[doris-fe.jar:1.2-SNAPSHOT]
	at org.apache.doris.mysql.privilege.Role.lambda$compatibilityErrEnum$4(Role.java:1150) ~[doris-fe.jar:1.2-SNAPSHOT]
	at java.util.LinkedHashMap$LinkedValues.forEach(LinkedHashMap.java:647) ~[?:?]
	at org.apache.doris.mysql.privilege.Role.compatibilityErrEnum(Role.java:1149) ~[doris-fe.jar:1.2-SNAPSHOT]
	at org.apache.doris.mysql.privilege.Role.gsonPostProcess(Role.java:1100) ~[doris-fe.jar:1.2-SNAPSHOT]
```

## Proposed changes

Issue Number: close #xxx

<!--Describe your changes.-->
eldenmoon pushed a commit to eldenmoon/incubator-doris that referenced this pull request Nov 12, 2024
```
Caused by: java.lang.IllegalStateException: 11
	at com.google.common.base.Preconditions.checkState(Preconditions.java:512) ~[guava-32.1.2-jre.jar:?]
	at org.apache.doris.mysql.privilege.PrivBitSet.get(PrivBitSet.java:63) ~[doris-fe.jar:1.2-SNAPSHOT]
	at org.apache.doris.mysql.privilege.PrivBitSet.containsPrivs(PrivBitSet.java:116) ~[doris-fe.jar:1.2-SNAPSHOT]
	at org.apache.doris.mysql.privilege.Role.lambda$compatibilityErrEnum$4(Role.java:1150) ~[doris-fe.jar:1.2-SNAPSHOT]
	at java.util.LinkedHashMap$LinkedValues.forEach(LinkedHashMap.java:647) ~[?:?]
	at org.apache.doris.mysql.privilege.Role.compatibilityErrEnum(Role.java:1149) ~[doris-fe.jar:1.2-SNAPSHOT]
	at org.apache.doris.mysql.privilege.Role.gsonPostProcess(Role.java:1100) ~[doris-fe.jar:1.2-SNAPSHOT]
```

## Proposed changes

Issue Number: close #xxx

<!--Describe your changes.-->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by one committer. dev/3.0.1-merged reviewed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants