Support Questions
Find answers, ask questions, and share your expertise

[%sh wget http://en.wikipedia.org/wiki/Hortonworks] isn't working.

[%sh wget http://en.wikipedia.org/wiki/Hortonworks] isn't working.

New Contributor

I'm learning with tutorial Hands-on Tour Of Apache Spark In 5 Minutes .

If I run

%sh wget http://en.wikipedia.org/wiki/Hortonworks

I get result

sh interpreter not found

Can anyone resolve this problem ?

3 REPLIES 3

Re: [%sh wget http://en.wikipedia.org/wiki/Hortonworks] isn't working.

Can you check for these two things

- if you see shell (sh) interpreter in the interpreter menu i.e. on http://zeppelin_host:zeppelin_port/#/interpreter

here is an example how it should look like.

5030-screen-shot-2016-06-15-at-43302-pm.png

- on the notebook on which you are trying to execute this command, can you check for the interpreter binding if it active or not.

Here is an example where it is disabled

5031-screen-shot-2016-06-15-at-43246-pm.png

Re: [%sh wget http://en.wikipedia.org/wiki/Hortonworks] isn't working.

New Contributor

@prabhjyot singh ,

In notebook's settings %sh is enable.

Here is the interpreter menu:

5032-untitled.png

Re: [%sh wget http://en.wikipedia.org/wiki/Hortonworks] isn't working.

Contributor

In the Notebook that you are trying to run the %sh command, click on the gear icon which will bring up the list of interpreter bindings. Verify that the %sh interpreter is selected and highlighted in blue.