cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results for 
Search instead for 
Did you mean: 

Databricks CLI v0.17.6 issue

k9
New Contributor II

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)

1 ACCEPTED SOLUTION

Accepted Solutions

karthik_p
Esteemed Contributor

@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

View solution in original post

3 REPLIES 3

k9
New Contributor II

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?

karthik_p
Esteemed Contributor

@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

k9
New Contributor II

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.

Connect with Databricks Users in Your Area

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