Giter VIP home page Giter VIP logo

Comments (4)

QuentinAmbard avatar QuentinAmbard commented on July 17, 2024

hey @conradtan, it looks like you can't list the clusters for some reason. Do you know why?

Can you try to install it with the option use_current_cluster=True? It should prevent all cluster list/creation.

from dbdemos.

conradtan avatar conradtan commented on July 17, 2024

Still has error when using dbdemos.install('feature-store', use_current_cluster=True)
I am using Databricks Enterprise and have workspace admin/unrestricted cluster creation privileges.
No issues creating clusters or read/write from unity catalog.


JSONDecodeError Traceback (most recent call last)
File /databricks/python/lib/python3.9/site-packages/requests/models.py:910, in Response.json(self, **kwargs)
909 try:
--> 910 return complexjson.loads(self.text, **kwargs)
911 except JSONDecodeError as e:
912 # Catch JSON-related errors and raise as requests.JSONDecodeError
913 # This aliases json.JSONDecodeError and simplejson.JSONDecodeError

File /databricks/python/lib/python3.9/site-packages/simplejson/init.py:525, in loads(s, encoding, cls, object_hook, parse_float, parse_int, parse_constant, object_pairs_hook, use_decimal, **kw)
521 if (cls is None and encoding is None and object_hook is None and
522 parse_int is None and parse_float is None and
523 parse_constant is None and object_pairs_hook is None
524 and not use_decimal and not kw):
--> 525 return _default_decoder.decode(s)
526 if cls is None:

File /databricks/python/lib/python3.9/site-packages/simplejson/decoder.py:370, in JSONDecoder.decode(self, s, _w, _PY3)
369 s = str(s, self.encoding)
--> 370 obj, end = self.raw_decode(s)

from dbdemos.

QuentinAmbard avatar QuentinAmbard commented on July 17, 2024

I wonder if the pat token generation from you cluster could have been blocked by an admin
Can you run this in a notebook is it working or throwing an error? dbutils.notebook.entry_point.getDbutils().notebook().getContext().apiToken().get()

from dbdemos.

conradtan avatar conradtan commented on July 17, 2024

@QuentinAmbard The provided command was able to run successfully as below.

image

However it till has error when using dbdemos.install('feature-store', use_current_cluster=True)

from dbdemos.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.