โ04-23-2023 05:09 PM
I do have multiple groups created in my databricks account and I have databricks cli installed on my mac. Some of the cli functions return errors that i cannot find solution for.
databricks groups list
Returns:
Error: b'{"error_code":"INTERNAL_ERROR","message":"Unexpected error: java.lang.RuntimeException: `forAccount` not implemented."}'
Version of java on my mac is 11.0.18:
java -version
Returns:
openjdk version "11.0.18" 2023-01-17 LTS
OpenJDK Runtime Environment Corretto-11.0.18.10.1 (build 11.0.18+10-LTS)
OpenJDK 64-Bit Server VM Corretto-11.0.18.10.1 (build 11.0.18+10-LTS, mixed mode)
โ04-25-2023 06:50 AM
@kenan hasanovโ which version python you have installed on your machine please, you need to have 3-3.6 or 2-2.7.9 above , please try to go with latest one as you are only seeing issues with few functions. please raise issue in case if you are still facing ( as this in experimental state) https://github.com/databricks/databricks-cli/issues
โ04-24-2023 12:01 PM
HI @kenan hasanovโ, Thank you for contacting us regarding your issue with Databricks CLI v0.17.6 on your Mac. I understand you're receiving an error when listing the groups using the CLI.
The error you're encountering ("Unexpected error: java.lang.RuntimeException:โ forAccountโ not implemented.") is likely related to a bug in the Databricks CLI version you're using.
Here are a few steps you can take to resolve this issue:
pip install --upgrade databricks-cli
After updating the CLI, try rerunning the command to see if the issue is resolved.
databricks configure --token
If neither of these steps resolves the issue, please provide us with additional information, such as the output of the databricks --version command and any other relevant error messages or logs so that we can investigate further.
โ04-25-2023 04:42 AM
All the mentioned steps have been done already and cli version is written in the topic. As i also mentioned it is only some functions are returning the above error , while other functions work fine.
Can you elaborate on what exact information you require from me to help with the above error?
โ04-25-2023 06:50 AM
@kenan hasanovโ which version python you have installed on your machine please, you need to have 3-3.6 or 2-2.7.9 above , please try to go with latest one as you are only seeing issues with few functions. please raise issue in case if you are still facing ( as this in experimental state) https://github.com/databricks/databricks-cli/issues
โ04-25-2023 08:29 PM
Hi @karthick_p,
I was using python v3.10. Once i have switched to older version of python (3.7.13) the issue is resolved. Thanks for the heads up.
Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you wonโt want to miss the chance to attend and share knowledge.
If there isnโt a group near you, start one and help create a community that brings people together.
Request a New Group