Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Hue has no spark notebook menu

Hue has no spark notebook menu

Contributor

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.

 

13 REPLIES 13
Highlighted

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

Re: Hue has no spark notebook menu

Contributor

It do not works .

 

Thanks

Re: Hue has no spark notebook menu

New Contributor

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

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

Re: Hue has no spark notebook menu

Contributor

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

```

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.

Re: Hue has no spark notebook menu

New Contributor

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

Re: Hue has no spark notebook menu

Explorer

Hi,

 

Can you please let me know how to configure it in Cloudera Manager?

 

Is Notebook also working in CDH 5.13.0 and Hue 4?

 

I was trying to change settings in hue.ini, but with no results. Now I am also wondering why I have few 'duplicated folders' in /var/run/cloudera-scm-agent/process/:

 

275-hue-HUE_SERVER

284-hue-HUE_SERVER

289-hue-HUE_SERVER

 

Why does server recreate it?

 

Thanks

Anna

Re: Hue has no spark notebook menu

Super Guru

@Annkaa,

 

Please see:

 

https://www.cloudera.com/documentation/enterprise/latest/topics/hue_adm_ini_files.html

 

Cloudera Manager will create a new process directory every time a command is executed by the agent.

This page should give you a good start at the basics behind Cloudera Manager's management of CDH:

 

https://www.cloudera.com/documentation/enterprise/latest/topics/cm_intro_primer.html

 

 

Don't have an account?
Coming from Hortonworks? Activate your account here