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

Issue running the adapter : Http Error: 404 Client Error: Not Found #25

Open
achrafcei opened this issue Jun 19, 2024 · 6 comments
Open

Comments

@achrafcei
Copy link

achrafcei commented Jun 19, 2024

Hello,
On a new project, I'm testing if I can use this adapter for my workloads, but when I try to just debug the project, I hit a snag :

Traceback (most recent call last): File "/home/unix/dbt/bin/dbt", line 8, in <module> sys.exit(cli()) File "/home/unix/dbt/lib/python3.10/site-packages/click/core.py", line 1157, in __call__ return self.main(*args, **kwargs) File "/home/unix/dbt/lib/python3.10/site-packages/click/core.py", line 1078, in main rv = self.invoke(ctx) File "/home/unix/dbt/lib/python3.10/site-packages/click/core.py", line 1687, in invoke with sub_ctx: File "/home/unix/dbt/lib/python3.10/site-packages/click/core.py", line 466, in __exit__ self.close() File "/home/unix/dbt/lib/python3.10/site-packages/click/core.py", line 595, in close self._exit_stack.close() File "/usr/lib/python3.10/contextlib.py", line 584, in close self.__exit__(None, None, None) File "/usr/lib/python3.10/contextlib.py", line 576, in __exit__ raise exc_details[1] File "/usr/lib/python3.10/contextlib.py", line 153, in __exit__ self.gen.throw(typ, value, traceback) File "/home/unix/dbt/lib/python3.10/site-packages/dbt/tracking.py", line 493, in track_run yield File "/usr/lib/python3.10/contextlib.py", line 561, in __exit__ if cb(*exc_details): File "/usr/lib/python3.10/contextlib.py", line 142, in __exit__ next(self.gen) File "/home/unix/dbt/lib/python3.10/site-packages/dbt/adapters/factory.py", line 237, in adapter_management cleanup_connections() File "/home/unix/dbt/lib/python3.10/site-packages/dbt/adapters/factory.py", line 196, in cleanup_connections FACTORY.cleanup_connections() File "/home/unix/dbt/lib/python3.10/site-packages/dbt/adapters/factory.py", line 124, in cleanup_connections adapter.cleanup_connections() File "/home/unix/dbt/lib/python3.10/site-packages/dbt/adapters/base/impl.py", line 261, in cleanup_connections self.connections.cleanup_all() File "/home/unix/dbt/lib/python3.10/site-packages/dbt/adapters/fabricspark/connections.py", line 203, in cleanup_all livySession.disconnect() File "/home/unix/dbt/lib/python3.10/site-packages/dbt/adapters/fabricspark/livysession.py", line 489, in disconnect if __class__.livy_global_session.is_valid_session(): File "/home/unix/dbt/lib/python3.10/site-packages/dbt/adapters/fabricspark/livysession.py", line 195, in is_valid_session self.connect_url + "/sessions/" + self.session_id, TypeError: can only concatenate str (not "NoneType") to str

It seems not to be able to start a session, is the api available to be used ?

@achrafcei
Copy link
Author

Hello,
Any possible answer for this ?

@jcvdodson
Copy link
Contributor

Have you applied for the Livy Public Preview? If your workspace/lakehouse hasn't been approved for Livy's Public Preview, then the adapter won't be able to connect.

@achrafcei
Copy link
Author

Is there a link to apply for the public preview?

@dandical
Copy link

dandical commented Aug 6, 2024

@jcvdodson I am getting this same issue, is this because livy needs to be explicitly turned on? If so how can we go about obtaining access to the livy preview?

@sudo-pradip
Copy link

Find any solution ?

@simaopedrotoga
Copy link

I'm too unable to establish a connection to Livy endpoint with error 404 by using the dbt-fabric adapter.
Is there a solution for this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants