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 report] Display users Java API on playground fails #5132

Closed
justinmclean opened this issue Oct 14, 2024 · 1 comment
Closed

[Bug report] Display users Java API on playground fails #5132

justinmclean opened this issue Oct 14, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@justinmclean
Copy link
Member

justinmclean commented Oct 14, 2024

Version

main branch

Describe what's wrong

Try to display roles and this error occurs:
Unable to process: Error code: 405, error message: No content to map due to end-of-input
at [Source: (String)""; line: 1, column: 0], json string:

Error message and/or stacktrace

see above

How to reproduce

Start the playground and list role via the Java API and call the listUserNames method in GravitinoClient.

Additional context

I assume this is because no users exist? If so the API should handle this situation.

Note that other calls to create or delete users give this error below, so while the playground doesn't support users, that error should probably not occur.
You should set 'gravitino.authorization.enable' to true in the server side `gravitino.conf` to enable the authorization of the system, otherwise these interfaces can't work.

@justinmclean justinmclean added the bug Something isn't working label Oct 14, 2024
@jerqi
Copy link
Contributor

jerqi commented Oct 15, 2024

Playground uses 0.6.0. We supports list roles in 0.6.1 and 0.7.0. It's expected behaviour.

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

2 participants