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-12048) Views : Error deploying all non-system views
Date Sun, 21 Jun 2015 00:06:00 GMT

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

Hudson commented on AMBARI-12048:
---------------------------------

SUCCESS: Integrated in Ambari-trunk-Commit #2956 (See [https://builds.apache.org/job/Ambari-trunk-Commit/2956/])
AMBARI-12048 - Views : Error deploying all non-system views (tbeerbower) (tbeerbower: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=e858b20bee3119fb1e97077cfd76223e3107fc11)
* ambari-server/src/main/java/org/apache/ambari/server/orm/entities/ViewEntity.java
* ambari-server/src/test/java/org/apache/ambari/server/view/ViewRegistryTest.java
* ambari-server/src/main/java/org/apache/ambari/server/view/ViewArchiveUtility.java
* ambari-server/src/main/java/org/apache/ambari/server/view/ViewRegistry.java


> 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)

Mime
View raw message