The Cloudera Impala Query UI application enables you to perform queries on Apache Hadoop data stored in HDFS or HBase using Cloudera Impala. For information about Cloudera Impala, see Installing and Using Cloudera Impala. You can create, run, and manage queries, and download the results in a Microsoft Office Excel worksheet file or a comma-separated values file.
The Cloudera Impala Query UI application is one of the applications installed as part of Hue. For information about installing and configuring Hue, see Hue Installation in http://www.cloudera.com/content/cloudera-content/cloudera-docs/CDH4/latest/CDH4-Installation-Guide/CDH4-Installation-Guide.html.
The Cloudera Impala Query UI assumes an existing Cloudera Impala installation. The Hue installation instructions include the configuration necessary for Impala. You can view the current configuration from the Settings tab.
Click the Cloudera Impala Query UI
icon () in the navigation bar at the top of the Hue browser page.
You can create databases, tables, partitions, and load data by executing Hive data manipulation statements in the Beeswax application.
You can also use the Metastore Manager application to manage the databases, tables, and partitions and load data.
When you change the metastore using one of these applications, you must click the Refresh button under METASTORE CATALOG in the pane to the left of the Query Editor to make the metastore update visible to the Cloudera Impala server.
The Query Editor view lets you create queries in the Cloudera Impala Query Language, which is based on the Hive Standard Query Language (HiveQL) and described in the Cloudera Impala Language Reference topic in Installing and Using Cloudera Impala.
You can name and save your queries to use later.
When you submit a query, you can either wait for the query to complete, or return later to find the queries in the History view.
In the box to the left of the Query field, you can select a database, override the default Cloudera Impala settings, enable users to enter parameters at run-time. See Advanced Query Settings for details on using these settings.
The pane to the left of the Query Editor lets you specify the following options:
You can view the history of queries that you have run previously. Results for these queries are available for one week or until Hue is restarted.
You can view a list of saved queries of all users by clicking My Queries and then selecting either Recent Saved Queries or Recent Run Queries tab to display the respective queries or clicking Saved Queries. You can copy any query, but you can edit, delete, and view the history of only your own queries.