Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-14389

tez view disappeared after upgrading from ambari 2.1.2 to 2.2.0.0

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.2.0
    • 2.2.1
    • ambari-server
    • None

    Description

      STR:

      • Install ambari 2.1.2 with tez view installed.
      • Upgrade Ambari to 2.2.0.0

      Tez view is no longer present, all of the other views are present.
      Tez is failing to come up due to a missing property,

      10 Dec 2015 00:37:09,789 ERROR [qtp-ambari-client-8651] ProxyHelper:68 - Cannot access the url: http://pre-prod-poc-10.novalocal:8188/ws/v1/timeline/TEZ_VERTEX_ID?limit=9007199254740991&primaryFilter=TEZ_DAG_ID:dag_1449704814067_0017_1&_=1449707810538&
      java.net.SocketTimeoutException: Read timed out
      	at java.net.SocketInputStream.socketRead0(Native Method)
      	at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
      	at java.net.SocketInputStream.read(SocketInputStream.java:170)
      	at java.net.SocketInputStream.read(SocketInputStream.java:141)
      	at java.io.BufferedInputStream.fill(BufferedInputStream.java:246)
      	at java.io.BufferedInputStream.read1(BufferedInputStream.java:286)
      	at java.io.BufferedInputStream.read(BufferedInputStream.java:345)
      	at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:704)
      	at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:647)
      	at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1535)
      	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1440)
      	at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:480)
      	at org.apache.ambari.server.controller.internal.URLStreamProvider.processURL(URLStreamProvider.java:209)
      	at org.apache.ambari.server.view.ViewURLStreamProvider.getHttpURLConnection(ViewURLStreamProvider.java:239)
      	at org.apache.ambari.server.view.ViewURLStreamProvider.getConnection(ViewURLStreamProvider.java:146)
      	at org.apache.ambari.server.view.ViewURLStreamProvider.getConnectionAs(ViewURLStreamProvider.java:163)
      	at org.apache.ambari.server.view.ViewURLStreamProvider.getConnectionAsCurrent(ViewURLStreamProvider.java:180)
      	at org.apache.ambari.view.tez.utils.ProxyHelper.getResponse(ProxyHelper.java:55)
      	at org.apache.ambari.view.tez.rest.BaseProxyResource.getData(BaseProxyResource.java:55)
      	at sun.reflect.GeneratedMethodAccessor1465.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:497)
      

      The manual upgrade catalogs (2.1->2.3, and 2.2->2.3), had this,

                "tez.tez-ui.history-url.base": {
                  "value": "{TEZ_HISTORY_URL_BASE}",
                  "template": "yes"
                },
      

      That property was introduced in HDP 2.2, so any EU/RUs at that version or higher are ok.
      The default value in tez-site.xml is empty since stack advisor is the one to populate a value, hence why EU from 2.1->2.3 isn't giving it a value.
      This will require changes to the config pack.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            dipayanb DIPAYAN BHOWMICK
            afernandez Alejandro Fernandez
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment