ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Siddharth Wagle (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AMBARI-6587) Views: exception on server restart after creating view instance
Date Wed, 23 Jul 2014 21:54:38 GMT

     [ https://issues.apache.org/jira/browse/AMBARI-6587?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Siddharth Wagle updated AMBARI-6587:
------------------------------------

    Attachment: AMBARI-6587.patch

> 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
>
>         Attachments: AMBARI-6587.patch
>
>
> 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)

Mime
View raw message