Articles & News
Category:

24 September 2015

How to use the Livy Spark REST Job Server API for doing some interactive Spark with curl

Livy is an open source REST interface for using Spark from anywhere. Note: Livy is not supported in CDH, only in the upstream Hue community.  It supports executing snippets of code or programs in a Spark Context that runs locally or in YARN. This makes it ideal for building applications or Notebooks that can interact with Spark in real time. For example, it is currently used for powering the Spark snippets of the Hadoop Notebook in Hue.…

5 minutes read - Development

27 July 2015

Enhance your Search HTML results with Mustache!

The Search app in Hue is getting better and better! On the next Hue release (or already on Github's master) you will be able to add additional functions to Hue's version of Mustache so you call functions directly in the HTML display. Let's see how to use it! In our example we add a dashboard using the Yelp Demo data with an HTML result widget, like this We want to create a couple of functions to make our results prettier: a graphical star rating and a static Google Map of the restaurant per each review that we have.…

2 minutes read - Development

08 April 2015

Developer Guide on Upgrading Apps for Hue 3.8

The upcoming Hue 3.8 internals have gone through some major upgrades to improve performance, robustness, and security. The major change stems from upgrading Django from 1.4.5 to 1.6.10, which comes with a significant amount performance enhancements, bug fixes, and the removal of deprecated features. This post details how Hue developers that are building against the Hue SDK can upgrade their applications to work with Hue 3.8. Python version Python 2.…

3 minutes read - Development

26 March 2015

Using NGINX to speed up Hue

Need for Speed! In the soon to be released Hue 3.8, we have added the ability to serve Hue’s static files (images, JavaScript, and etc) with an external server like NGINX. This allows us to dramatically cut down on the number of files served by the Hue application, making the whole user experience dramatically faster. For example, in the old version of Hue, rendering the beeswax application on demo.gethue.com performs 73 requests in 3 seconds to download 2.…

2 minutes read - Development

26 March 2015

Add a top banner to Hue!

We have already seen in this post how you can configure Hue in your cluster. But did you know that there’s a property that can make a top banner appear in your Hue installation? This is quite useful if you want for instance to show a disclaimer to your users, or to clearly mark a testing or production environment, or if you want to display some dynamic information there. Depending on if you are using Cloudera Manager or not, you should either add a safety valve or edit a .…

2 minutes read - Development

23 March 2015

Start developing Hue on a Mac in a few minutes!

You might have already all the pre-requisites installed but we are going to show how to start from a fresh Yosemite (10.10) or El Capitan (10.11) install and end up with running Hue on your Mac in almost no time! We are going to be using the official Quickstart VM from Cloudera that already packs all the Hadoop ecosystem components your Hue will talk to. If you don’t have the latest already downloaded and running, please visit this link and choose the versions that suits you the best.…

4 minutes read - Development

08 February 2015

Hue API: Execute some builtin or shell commands

Last update: March 3rd 2016  Hue comes with a set of commands for simplifying the management of the service. Here is a quick guide about how to use them.  Get started If using CM, export this variable in order to point to the correct Hue: cd /opt/cloudera/parcels/CDH/lib/ HUE_CONF_DIR=/var/run/cloudera-scm-agent/process/-hue-HUE_SERVER-id echo $HUE_CONF_DIR export HUE_CONF_DIR Where is the most recent ID in that process directory for hue-HUE_SERVER. If not using CM, just append the root of Hue home, normally:…

4 minutes read - Development

21 January 2015

Automatic High Availability with Hue and Cloudera Manager

December 8th 2015 update: this post is now deprecated as of Hue 3.9: https://gethue.com/automatic-high-availability-and-load-balancing-of-hue-in-cloudera-manager-with-monitoring/</a></em></span> By default, Hue installs on a single machine, which means Hue is both constrained to that machine’s CPU and memory, which can limit the total number of active users before Hue becomes unstable. Furthermore, even a lightly loaded machine could crash, which would bring Hue out of service. This tutorial demonstrates hue-lb-example, an example load balancer that can automatically configure NGINX and HAProxy for a Cloudera Manager-managed Hue.…

4 minutes read - Development

22 November 2014

Updated SAML 2.0 Support

Hue has been shipping SAML 2.0 authentication for quite some time. SAML 2.0 is an alternative to LDAP which lets you provide single sign on (SSO) in your company so that users can use the same login/password in all the systems. Unfortunately our support for SAML 2.0 was limited to a few small use cases. In the upcoming Hue 3.8.0 / CDH 5.3.0, we now support all of the main SAML 2.…

5 minutes read - Development

02 October 2014

How to configure Hue for your Hadoop cluster

Hue is a lightweight Web server that lets you use Hadoop directly from your browser. Hue is just a ‘view on top of any Hadoop distribution’ and can be installed on any machine. There are multiples ways (cf. ‘Download’ section of gethue.com) to install Hue. The next step is then to configure Hue to point to your Hadoop cluster. By default Hue assumes a local cluster (i.e. there is only one machine) is present.…

5 minutes read - Development

More recent stories

03 May 2023
Discover the power of Apache Ozone using the Hue File Browser
Read More
23 January 2023
Hue 4.11 and its new dialects and features are out!
Read More