Disabling multiple editors in HUE 4

313 views
Skip to first unread message

Karan Kumar

unread,
Aug 15, 2017, 8:08:23 AM8/15/17
to Hue-Users
I was able to successfully disable query editors in hue3 
Inline image 1


was not able to disable them in hue4 

Inline image 2

Can some one point me in the correct direction?


--
Thanks
Karan
Screen Shot 2017-08-15 at 5.34.54 PM.png

Romain Rigaux

unread,
Aug 16, 2017, 8:57:23 PM8/16/17
to Karan Kumar, Hue-Users
What do you have in the [notebook] section of your hue.ini?

--
You received this message because you are subscribed to the Google Groups "Hue-Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hue-user+unsubscribe@cloudera.org.

Karan Kumar

unread,
Aug 17, 2017, 2:29:00 AM8/17/17
to Romain Rigaux, Hue-Users
Hi Romain 

My [notebook] section looks like this

[notebook]


  ## Show the notebook menu or not

  # show_notebooks=true


  ## Flag to enable the selection of queries from files, saved queries into the editor or as snippet.

  # enable_external_statements=true


  ## Flag to enable the bulk submission of queries as a background task through Oozie.

  enable_batch_execute=false


  ## Flag to enable the SQL query builder of the table assist.

  # enable_query_builder=true


  ## Flag to enable the creation of a coordinator for the current SQL query.

  # enable_query_scheduling=true


  ## Main flag to override the automatic starting of the DBProxy server.

  # enable_dbproxy_server=true


  ## Classpath to be appended to the default DBProxy server classpath.

  # dbproxy_extra_classpath=


  ## Comma separated list of interpreters that should be shown on the wheel. This list takes precedence over the

  ## order in which the interpreter entries appear. Only the first 5 interpreters will appear on the wheel.

  #interpreters_shown_on_wheel=hive,redshift,presto


  # One entry for each type of snippet.

  [[interpreters]]

    # Define the name and how to connect and execute the language.


    [[[hive]]]

      # The name of the snippet.

      name=Hive

      # The backend connection to use to communicate with the server.

      interface=hiveserver2


    [[[redshift]]]

      name = Redshift

      interface=rdbms

###########################################################################

# Settings to configure your Analytics Dashboards

###########################################################################



--
Thanks
Karan

Romain Rigaux

unread,
Aug 17, 2017, 9:50:02 AM8/17/17
to Karan Kumar, Hue-Users
I see, so you just want the Notebook interface, not the Editors?

Karan Kumar

unread,
Aug 17, 2017, 11:51:03 AM8/17/17
to Romain Rigaux, Hue-Users
I want only one editor, that is hive, in the new hue4 interface.  



--
Thanks
Karan

Romain Rigaux

unread,
Aug 18, 2017, 12:26:33 AM8/18/17
to Karan Kumar, Hue-Users
Are you sure you modified the correct hue.ini? (can see the path and values on the page /hue/desktop/dump_config)

It should only list the two [[interpreters]]

Also:

[notebook]
show_notebooks=false

Karan Kumar

unread,
Aug 23, 2017, 6:35:52 AM8/23/17
to Hue-Users, karanku...@gmail.com
There were multiple .ini files in my config folder. Hence the issue. After removing them, it worked. Thanks Romain.
To unsubscribe from this group and stop receiving emails from it, send an email to hue-user+u...@cloudera.org.

--
You received this message because you are subscribed to the Google Groups "Hue-Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hue-user+u...@cloudera.org.



--
Thanks
Karan


Reply all
Reply to author
Forward
0 new messages