Hue 2.0 Packs New Features in a Refreshing UI

Hue 2.0.1 has just been released. 2.0.1 represents major improvement on top of the Hue 1.x series. To list a few key new features:

  • Frontend has been re-implemented as full screen pages.
  • Hue supports LDAP (OpenLDAP and Active Directory). Hue can be configured to authenticate against LDAP. Additionally, Hue can import users and groups from LDAP, and refresh group membership from LDAP.
  • Hue supports per-application authorization. Administrators can grant or limit group access to applications.
  • Hue has a new Shell application, which allows access to the HBase shell, Pig shell, and more.
  • The Job Designer now submits jobs through Oozie, which is more secured.
Please see the release notes for a complete reference.
 
A New Frontend

In particular, I am really excited about the new frontend. The Hue 1.x frontend renders application UIs via Javascript in desktop-like windows, which coexist in a single browser window. This desktop-like frontend turns out to be hard to maintain, as well as inconvenient and inflexible for third party application developers. In Hue 2.0, each application gets its own browser window or tab: 

 Applications in multiple tabs

For end users, this means that every page view has its own URL and can be bookmarked. Users also have better control of the windowing behaviours (maximize, minimize, alt-tab) and browsing history. And for enterprise users, Hue 2.0 works on Internet Explorer, which is plagued by memory reclamation issues with Hue 1.x.

For third party application developers, this greatly reduces the complexity of writing an application frontend. Developers also have full control of the rendered HTML, and can therefore employ their favourite Javascript and CSS libraries (jQuery, Bootstrapknockout.js, Highcharts, etc.). Hue 2.0 itself uses jQuery and Bootstrap extensively, which has sped up our own frontend development cycles.

Compatibility

Applications written for Hue 1.x are not compatible with Hue 2.0. Fortunately, the transition is straightforward and is documented in the SDK guide. For example, Hue 1.x provides an “HtmlTable” widget that supports banding, column sorting and more. In Hue 2.0, the same functionality is provided by the DataTables.

Hue 2.0.1 is compatible with (and included in) CDH4.

  • It works with HA NameNode, since it communicates with HDFS via the HttpFS REST API.
  • It can submit jobs to YARN, since job submission is executed via Oozie. But it cannot browse any YARN jobs.
  • It supports Hive 0.8.1.

Acknowledgement

This release is possible thanks to the contributions from the team. Your feedback is greatly appreciated. Drop us a note in our user list.

Filed under:

1 Response

Leave a comment


× six = 12