Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

HDP 2.4.0 Sandbox: Integration of Hive View and Tez View in Ambari

Highlighted

HDP 2.4.0 Sandbox: Integration of Hive View and Tez View in Ambari

New Contributor

The installation of Ambari in HDP 2.4.0 Sandbox does not integrate Hive View and Tez View by default:

  1. Login as "maria_dev" into Ambari
  2. Open Hive View
  3. Next to the empty worksheet, click on TEZ
  4. Error: "Tez View isn't deployed"

This is a bit misleading, as an instance of Tez View is configured. Only permissions are missing. This can be fixed:

  1. Activate admin access to Ambari ("view advanced options" on welcome page)
  2. Manage Ambari, Views, TEZ, Tez View
  3. Grant permissions for the Tez view to the group "views"

After changing the permissions, user "maria_dev" can access Tez View. But views are still not integrated:

  1. Relogin as "maria_dev" into Ambari
  2. Open Hive View
  3. Execute a query e.g., SELECT SUM(total_emp) FROM default.sample_07;
  4. Next to the worksheet, click on TEZ
  5. Error: "No DAG available"

Again this message is a bit misleading, as the DAG is available when accessing it directly via Tez View (see screenshot).

2672-hive-and-tez-ambari-views-not-integrated.jpg

How can integation of Hive and Tez View be fixed?

5 REPLIES 5

Re: HDP 2.4.0 Sandbox: Integration of Hive View and Tez View in Ambari

@rmolina Is this a Tez Sandbox cfg bug?

Re: HDP 2.4.0 Sandbox: Integration of Hive View and Tez View in Ambari

I encountered the same problem, and limited fix, as you did and documented similar steps at https://github.com/HortonworksUniversity/Essentials/blob/master/demos/SandboxSetup.md.

Re: HDP 2.4.0 Sandbox: Integration of Hive View and Tez View in Ambari

New Contributor

The issue of "No DAG available" seems similar to AMBARI-14785, which should be fixed in Ambari 2.2.2 (not yet released). HDP 2.4.0 Sandbox is shipped with Ambari 2.2.1.

Could this be the same issue?

I checked the output of http://localhost:8080/api/v1/views/TEZ

{
  "href" : "http://localhost:8080/api/v1/views/TEZ",
  "ViewInfo" : {
    "view_name" : "TEZ"
  },
  "versions" : [
    {
      "href" : "http://localhost:8080/api/v1/views/TEZ/versions/0.7.0.2.3.4.0-161",
      "ViewVersionInfo" : {
        "version" : "0.7.0.2.3.4.0-161",
        "view_name" : "TEZ"
      }
    }
  ]
}

This looks correct to me on first glance.

http://localhost:8080/api/v1/views/TEZ/versions/0.7.0.2.3.4.0-161/instances/TEZ_CLUSTER_INSTANCE/res... delivers this, though:

{"parameters":{"yarn.timeline-server.url":"http://sandbox.hortonworks.com:8188","yarn.resourcemanager.url":"http://sandbox.hortonworks.com:8088"}}

This URL of ATS is of course not available outside of the VM.

Re: HDP 2.4.0 Sandbox: Integration of Hive View and Tez View in Ambari

New Contributor

HDP 2.4.0 Sandbox has been updated. In version v3 the permission part of this issue seems to be solved. User "maria_dev" has now access to "Tez View".

But "Hive View" still does not integrate "Tez View" correctly and displays error message "No DAG available".

Re: HDP 2.4.0 Sandbox: Integration of Hive View and Tez View in Ambari

New Contributor

The second part of this problem (No DAG available) still appears in HDP 2.5 Tech Preview Sandbox.

Don't have an account?
Coming from Hortonworks? Activate your account here