No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search


To have a better experience, please upgrade your IE browser.


FusionInsight HD V100R002C60SPC200 Product Description 06

Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).


Basic Principle


Hue provides a graphical web user interface (WebUI) for FusionInsight HD applications. Hue supports components including Hadoop distributed file system (HDFS), MapReduce, ,Hive and Solr. On the WebUI provided by Hue, you can perform the following operations on the components:

  • HDFS: Create files or directories, modify file or directory access permissions, and upload, download, view, and modify files.
  • MapReduce: View the MapReduce tasks that are being executed and complete in the cluster, including viewing their status, start time and end time, and run logs.
  • Hive: Edit and execute Hibernate Query Language (HQL) statements, and add, delete, modify, and query databases, tables, and views using MetaStore.
    If Internet Explorer is used to access the Hue page to run HiveSQL, the running fails because the browser has functional problems. You are advised to use other browsers, such as Google Chrome 21 and later versions.
  • Solr: Supports the applications that based on Solr search and provides visualized data views.

Hue, adopting the MTV (Model-Template-View) design, is a web application program running on Django Python. (Django Python is a web application framework that uses open-source codes.)

Hue consists of Supervisor Process and WebServer. Supervisor Process is the core Hue process that implements application process management.

Supervisor Process and WebServer interact with WebServer applications through the THRIFT/REST interface, as shown in Figure 2-62.

Figure 2-62 Hue architecture

Table 2-16 describes the functions of each module shown in Figure 2-62.

Table 2-16 Hue modules



Supervisor Process

Manages processes of WebServer applications, such as starting, stopping, and monitoring the processes.

Hue WebServer

Provides the following functions through the Django Python web framework:

  • Deploys applications.
  • Provides a graphical WebUI.
  • Connects to databases to store persistent data of applications.

Relationship with Components

Figure 2-63 shows interaction between Hue and hadoop clusters.

Figure 2-63 Hue and Hadoop clusters

Table 2-17 Interaction between Hue and Hadoop clusters




Provides REST and THRIFT interfaces to interact with Hue.


Provides REST and THRIFT interfaces to interact with Hue.


Provides REST and THRIFT interfaces to interact with Hue.


Hue supports other Hadoop components, such as Solr. Solr provides REST interfaces to interact with Hue.

Interaction between Hue and the HDFS
Hue packages a user request into interface data, sends the request to the HDFS through REST and THRIFT interfaces, and displays execution results on the WebUI.
Interaction between Hue and Hive
A user edits HQL statements on the Hue WebUI. Then Hue submits the HQL statements to the Hive server through the THRIFT interface and displays execution results on the WebUI.
Interaction between Hue and MapReduce
A user goes to the Hue WebUI and sets the filter criteria on the UI. The UI sends the parameters to the background. Then Hue invokes the REST interfaces provided by MapReduce (MR1/MR2-YARN) to obtain task running status, start time and end time, run logs, and other information.
Interaction between Hue and Solr

In the Hue WebUI, screening parameters are set using GUI controls. The parameter settings are sent to the Hue server. The Hue server invokes the REST interface of Solr and transmits the results returned by Solr in JSON mode to the Hue WebUI. The Hue WebUI then displays the results using icons and controls.

Updated: 2019-04-10

Document ID: EDOC1000104139

Views: 6056

Downloads: 64

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Previous Next