Reply
New Contributor
Posts: 3
Registered: ‎02-15-2016
Accepted Solution

HUE Spark notebook

Hi guys,

 

I've upgrade from CDH 5.5.x to 5.7.x and after this upgrade I can't see "Spark Notebook" in Hue interface anymore (specifically Query Editors -> Spark Notebook). My Advanced configuration snippet contains following and except the spark issue it works as it should:

 

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

 

And yet there's no link in Hue UI. Although I am able to access the Spark Notebook if I enter the address directly https://hue.example.com/notebook/. Any recommendations? Thanks.

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

Re: HUE Spark notebook

In the advanced configuration, could you add

[notebook
show_notebooks=true

https://github.com/cloudera/hue/blob/master/desktop/conf.dist/hue.ini#L577


We are currently working on merging both the editor and the notebook, it
will be all unified in Hue 4
New Contributor
Posts: 3
Registered: ‎02-15-2016

Re: HUE Spark notebook

Hi,

 

Thank you for your answer. I've tested proposed solution - currently my hue_safety_valve.ini contains:

 

[notebook]
show_notebooks=true
[desktop]
app_blacklist=hbase,search,indexer,security
[[database]]
engine=postgresql_psycopg2
name=hue
host=localhost
port=5552
user=hue
password=<<somepass>>

but the result is the same as before - it doesn't work :/.

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

Re: HUE Spark notebook

Ha, in 5.7 it was actually

[beeswax]
use_new_editor=true
New Contributor
Posts: 5
Registered: ‎02-08-2016

Re: HUE Spark notebook

[ Edited ]

That did not work for us for Hue 3.9.0. We used

[desktop]

use_new_editor=true

Highlighted
Expert Contributor
Posts: 252
Registered: ‎01-25-2017

Re: HUE Spark notebook

Hi Guys,

 

is there is an  alternative to the --jars option of spark-submit in the spark notebook in Hue?

Announcements