Apache Ambari Views
Also available as:
PDF
loading table of contents...

Migrate Hue Artifacts to an Ambari View

An administrator-level user can use the HueToAmbari view instance to migrate existing Hue 2.6.1 artifacts into Ambari views.

Prerequisites

  1. Review the requirements for Hue-to Views migration and complete all prerequisites.

  2. Create a view instance, using the Hue-To-Views migration tool.

    In the following example, this instance is called HueMigration view.

Steps

  1. On your standalone views server, using the Ambari Admin page, create an administrator-level user.

    Grant permission for the admin user to use the HueMigration view.

  2. Log in to the HueMigration view as the administrator user.

    Logging in initializes the database for the new view.

  3. Wait while the view performs database checks.

  4. Transfer artifacts.

    To transfer artifacts:

    Steps

    1. In Ambari Web, click Views > HueMigration.

      The HueMigration view shows Hive and Pig menus that list existing Hue artifacts.

      The RevertChange option allows you to clear any migration settings before you submit them.

    2. From each artifact menu, click an artifact name.

      A migration settings page displays options for migrating the artifacts.

    3. In the migration settings page, specify:

      • a user name and instance name to which the artifacts will migrate

      • a date range (using Start and End dates) from which to migrate artifacts

    4. Click Submit.

      When the migration completes, a migration report displays.

    5. Review the migration report to confirm artifacts transferred.

  5. Verify that the artifacts for each user have transferred from Hue to each of the Hive and Pig views.

    For each view and user.

    Steps

    1. Log in to your Views server, as the view user.

    2. Open a view to which you migrated artifacts.

    3. Verify that queries, scripts and UDFs migrated successfully.

More Information

Requirements for Hue-to-Views Migration

Running Ambari Server Standalone

Creating a HueToAmbari View Instance

Setting View Permissions