ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-8125) Views: Sometimes view only partially extracts
Date Mon, 03 Nov 2014 22:48:35 GMT

    [ https://issues.apache.org/jira/browse/AMBARI-8125?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14195281#comment-14195281
] 

Hudson commented on AMBARI-8125:
--------------------------------

SUCCESS: Integrated in Ambari-trunk-Commit #817 (See [https://builds.apache.org/job/Ambari-trunk-Commit/817/])
AMBARI-8125 - Views: Sometimes view only partially extracts (tbeerbower) (tbeerbower: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=1df912537095d4b9de79f904b71681ebef073ef5)
* ambari-server/src/main/java/org/apache/ambari/server/view/ViewArchiveUtility.java
* ambari-server/src/main/java/org/apache/ambari/server/view/ViewExtractor.java
* ambari-server/src/test/java/org/apache/ambari/server/view/ViewRegistryTest.java
* ambari-server/src/test/java/org/apache/ambari/server/view/ViewExtractorTest.java


> Views: Sometimes view only partially extracts
> ---------------------------------------------
>
>                 Key: AMBARI-8125
>                 URL: https://issues.apache.org/jira/browse/AMBARI-8125
>             Project: Ambari
>          Issue Type: Bug
>            Reporter: Tom Beerbower
>            Assignee: Tom Beerbower
>             Fix For: 1.7.0
>
>         Attachments: AMBARI-8125.patch
>
>
> Intermittent problem where view.xml (and other files) is missing from extracted view
directory.
> If the view.xml is missing then the resulting exception will look like ...
> {code}
> 07:17:13,542 ERROR [main] ViewRegistry:1314 - Caught exception loading view SLIDER{1.0.0}
> java.io.FileNotFoundException: /var/lib/ambari-server/resources/views/work/SLIDER{1.0.0}/view.xml
(No such file or directory)
> 	at java.io.FileInputStream.open(Native Method)
> 	at java.io.FileInputStream.<init>(FileInputStream.java:146)
> 	at org.apache.ambari.server.view.ViewArchiveUtility.getViewConfigFromExtractedArchive(ViewArchiveUtility.java:81)
> 	at org.apache.ambari.server.view.ViewRegistry.readViewArchive(ViewRegistry.java:1287)
> 	at org.apache.ambari.server.view.ViewRegistry.readViewArchives(ViewRegistry.java:1239)
> 	at org.apache.ambari.server.view.ViewRegistry.readViewArchives(ViewRegistry.java:430)
> 	at org.apache.ambari.server.controller.AmbariServer.run(AmbariServer.java:333)
> 	at org.apache.ambari.server.controller.AmbariServer.main(AmbariServer.java:648)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message