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: 

Can Kaggle Kernels be used in Databricks notebooks?

jch
New Contributor III

suggestions).

This one looks perfect 

kaggle kernels output rsrishav/starter-youtube-trending-video-dataset -p /path/to/dest

 but I'm not using CLI, I'm using a databricks notebook.

I tried using this code but it doesn't work.

data_path = 'rsrishav/youtube-trending-video-dataset' 
 
file_path = '/mnt/dlsi2023/testing' 
 
api.kernels_pull(data_path, file_path, metadata=True, quiet=True)

The error message I receieved was: 

HTTP response body: {"code":403,"message":"Permission \u0027kernels.get\u0027 was denied"}

Does anyone have suggestions for using a Kaggle kernel within a databricks notebook or have suggestions for another dataset?

2 REPLIES 2

Anonymous
Not applicable

Hi @jch​ 

Great to meet you, and thanks for your question!

Let's see if your peers in the community have an answer to your question. Thanks.

Kaniz_Fatma
Community Manager
Community Manager

Hi @jch​, The error message you received, "Permission 'kernels.get' was denied," suggests that you don't have the necessary permissions to access or view the Kaggle kernel. This error typically occurs when you try to access a kernel that you don't have permission to view or execute.

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