Reply
Contributor
Posts: 26
Registered: ‎12-30-2015

Hue has no spark notebook menu

Hi ,

I can not see the `spark notebook ` sub menu in `Query Editor` menu.

Anyone has any idea about it .

I have edit this value  :

 

[desktop]
app_blacklist=zookeeper,hbase,search,indexer,sqoop,security

 

in 

- /etc/hue/conf/hue.ini

- /var/run/cloudera-scm-agent/process/${60-81}-hue-HUE_SERVER/hue.ini

- cdh-manager -> hue -> configuration -> `Hue Service Advanced Configuration Snippet (Safety Valve) for hue_safety_valve.ini`

 

restart the hue server ,`spark notebook ` ever show up.

 

Cloudera Employee
Posts: 701
Registered: ‎07-30-2013

Re: Hue has no spark notebook menu

You can try:

[notebook]
## Show the notebook menu or not
show_notebooks=true

But remember that this is more a Hadoop notebook, not a supported Spark
notebook
Contributor
Posts: 26
Registered: ‎12-30-2015

Re: Hue has no spark notebook menu

It do not works .

 

Thanks

New Contributor
Posts: 2
Registered: ‎10-03-2016

Re: Hue has no spark notebook menu

Hi all,

 

This is definetly not working in CDH 5.8.2. I've followed the steps to enable the Notebook but there is no way to enable it in the Query Editor Menu... It has to be a Bug

 

Could you take a look?


Diego

Cloudera Employee
Posts: 701
Registered: ‎07-30-2013

Re: Hue has no spark notebook menu

It should be just 'Notebook' if you enable the flag in

[notebook]
show_notebooks=true

Can see the value on the /desktop/dump_config page
Contributor
Posts: 26
Registered: ‎12-30-2015

Re: Hue has no spark notebook menu

Hi,

Thanks for your reply

 

the page http://hue.*.com/desktop/dump_config  shows 'No help available.'

 

And this is my config in CDH manager of the field 'Hue Service Advanced Configuration Snippet (Safety Valve) for hue_safety_valve.ini'

 

```

[desktop]
app_blacklist=zookeeper,hbase,search,indexer,sqoop,security
[spark]
livy_server_host=node1
livy_server_port=8998
[notebook]
## Show the notebook menu or not
show_notebooks=true

```

Cloudera Employee
Posts: 701
Registered: ‎07-30-2013

Re: Hue has no spark notebook menu

I checked on CDH 5.8 and

[notebook]
show_notebooks=true

works.

To check the config on the /desktop/dump_config page, you need to click on
the left Notebook tab.
New Contributor
Posts: 2
Registered: ‎10-03-2016

Re: Hue has no spark notebook menu

Hi Romainr,

 

Yes, I've fixed the problem. I was trying to modify it in the hue.ini file, but it seems that you need to do it by means of the configuration tab in Cloudera Manager. Do you know the reason?

 

Many thanks,

 

Diego

Contributor
Posts: 26
Registered: ‎12-30-2015

Re: Hue has no spark notebook menu

f.png

 

 

OK,I got it .

 

It does have PySpark functions. The button is hidden ,when mouse move on 4 ,it shows up.

Expert Contributor
Posts: 263
Registered: ‎01-25-2017

Re: Hue has no spark notebook menu

Use:

 

your_hue_server:8888/notebook

Announcements