You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Siddharth Wagle (JIRA)" <ji...@apache.org> on 2014/07/23 23:52:40 UTC

[jira] [Created] (AMBARI-6587) Views: exception on server restart after creating view instance

Siddharth Wagle created AMBARI-6587:
---------------------------------------

             Summary: Views: exception on server restart after creating view instance
                 Key: AMBARI-6587
                 URL: https://issues.apache.org/jira/browse/AMBARI-6587
             Project: Ambari
          Issue Type: Bug
          Components: controller
    Affects Versions: 1.7.0
            Reporter: Siddharth Wagle
            Assignee: Siddharth Wagle
             Fix For: 1.7.0


1) installed the files view (built from source)
2) I created an instance of the view

{code}
POST
http://c6401.ambari.apache.org:8080/api/v1/views/FILES/versions/0.1.0/instances/MyFiles

[ {
"ViewInstanceInfo" : {
    "properties" : {
      "dataworker.defaultFs" : "webhdfs://c6401.ambari.apache.org:50070",
      "dataworker.username" : "ambari-qa"
    }
  }
} ]
{code}

3) I restart ambari-server and get this exception, so ambari-server can't start up. If I delete the view jar and restart, then I can get ambari-server to start.

{code}
00:41:59,433  INFO [main] Server:266 - jetty-7.6.7.v20120910
00:41:59,914  WARN [main] WebAppContext:489 - Failed startup of context o.e.j.w.WebAppContext{/views/FILES/0.1.0/MyFiles,file:/var/lib/ambari-server/resources/views/work/FILES%7B0.1.0%7D/},/var/lib/ambari-server/resources/views/work/FILES{0.1.0}
java.util.zip.ZipException: invalid entry size (expected 12027 but got 11985 bytes)
	at java.util.zip.ZipInputStream.readEnd(ZipInputStream.java:403)
	at java.util.zip.ZipInputStream.read(ZipInputStream.java:195)
{code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)