cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
cancel
Showing results for 
Search instead for 
Did you mean: 

Databricks web terminal not able to parse notebooks.

ae20cg
New Contributor III

In the web terminal, I am not able to search for text for example using

grep -l "search_term" db_notebook

This leads to "Operation not permitted on <notebook> error", any ideas why?

This is for all DB notebooks in my cluster.

Thanks!

4 REPLIES 4

Debayan
Esteemed Contributor III
Esteemed Contributor III

Hi @Andrej Erkelens​ , Could you please start the shell with %sh . Also, could you please provide the whole screenshot with the error here along with the whole command tried?

ae20cg
New Contributor III

@Debayan Mukherjee​ I am not running the command from a notebook, I am using a web terminal.

All I did was cd to `/Workspace/Repos/<Repo>` and run `grep -ni "<search term>" <notebook>` on the notebook I am interested in searching the result is.

`grep: <notebook>: Operation not supported.`

Thanks

Debayan
Esteemed Contributor III
Esteemed Contributor III

Could you please go through the limitations if this at all is a problem:

https://docs.databricks.com/clusters/web-terminal.html#limitations

Kaniz
Community Manager
Community Manager

Hi @Andrej Erkelens​ ​, We haven’t heard from you since the last response from @Debayan Mukherjee​​, and I was checking back to see if his suggestions helped you.

Or else, If you have any solution, please share it with the community, as it can be helpful to others.

Also, Please don't forget to click on the "Select As Best" button whenever the information provided helps resolve your question.

Welcome to Databricks Community: Lets learn, network and celebrate together

Join our fast-growing data practitioner and expert community of 80K+ members, ready to discover, help and collaborate together while making meaningful connections. 

Click here to register and join today! 

Engage in exciting technical discussions, join a group with your peers and meet our Featured Members.