昨天刚装了Livy,可是hue spark livy 怎么联系起来呢?头就提醒了一个notebook。
m9( `д´ )!!!!
1、在clodera manager->hue->配置->高级->"hue_safety_value.ini的Hue服务高级配置代码段(安全阀)"里面,添加一下内容:
[spark]
server_url=http://cdh1:8998
#注意:server_url 根据自己实际情况填 (此行不用复制)
languages='[{"name": "Scala Shell", "type": "spark"},{"name": "PySpark Shell", "type": "pyspark"},{"name": "R Shell", "type": "r"},{"name": "Jar", "type": "Jar"},{"name": "Python", "type": "py"},{"name": "Impala SQL", "type": "impala"},{"name": "Hive SQL", "type": "hive"},{"name": "Text", "type": "text"}]'
[notebook]
show_notebooks=true
enable_batch_execute=true
enable_query_builder&