Tom Beerbower created AMBARI-12048: -------------------------------------- Summary: Views : Error deploying all non-system views Key: AMBARI-12048 URL: https://issues.apache.org/jira/browse/AMBARI-12048 Project: Ambari Issue Type: Bug Reporter: Tom Beerbower Assignee: Tom Beerbower Fix For: 2.1.0
View registry attempting to read the descriptor from the extracted view archive before doing the extraction. Regression introduced by AMBARI-11991. {code} 19 Jun 2015 19:39:55,002 INFO [pool-4-thread-5] ViewRegistry:1535 - Reading view archive /var/lib/ambari-server/resources/views/pig-2.1.0.1168.jar. 19 Jun 2015 19:39:55,021 ERROR [pool-4-thread-5] ViewRegistry:1567 - Caught exception loading view PIG{1.0.0} java.io.FileNotFoundException: /var/lib/ambari-server/resources/views/work/PIG{1.0.0}/WEB-INF/classes/view.xml (No such file or directory) at java.io.FileInputStream.open0(Native Method) at java.io.FileInputStream.open(FileInputStream.java:195) at java.io.FileInputStream.<init>(FileInputStream.java:138) at org.apache.ambari.server.view.ViewArchiveUtility.getViewConfigFromExtractedArchive(ViewArchiveUtility.java:116) at org.apache.ambari.server.view.ViewRegistry.readViewArchive(ViewRegistry.java:1539) at org.apache.ambari.server.view.ViewRegistry.access$000(ViewRegistry.java:119) at org.apache.ambari.server.view.ViewRegistry$5.run(ViewRegistry.java:1492) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)