ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tom Beerbower (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AMBARI-8125) Views: Sometimes view only partially extracts
Date Mon, 03 Nov 2014 20:14:33 GMT
Tom Beerbower created AMBARI-8125:
-------------------------------------

             Summary: 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


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