You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by Tom Beerbower <tb...@hortonworks.com> on 2014/05/01 00:35:58 UTC

Review Request 20919: Ambari Views : NPE deploying view

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/20919/
-----------------------------------------------------------

Review request for Ambari and Nate Cole.


Bugs: AMBARI-5642
    https://issues.apache.org/jira/browse/AMBARI-5642


Repository: ambari


Description
-------

Regression when deploying view without configured entities.


16:01:20,593 ERROR [main] ViewRegistry:286 - Caught exception loading view from /var/lib/ambari-server/resources/views/weather-view-1.0.0.jar
java.lang.NullPointerException
        at org.apache.ambari.server.view.ViewRegistry.setPersistenceEntities(ViewRegistry.java:535)
        at org.apache.ambari.server.view.ViewRegistry.installViewInstance(ViewRegistry.java:523)
        at org.apache.ambari.server.view.ViewRegistry.readViewArchives(ViewRegistry.java:282)
        at org.apache.ambari.server.controller.AmbariServer.run(AmbariServer.java:292)
        at org.apache.ambari.server.controller.AmbariServer.main(AmbariServer.java:530)


Diffs
-----

  ambari-server/src/main/java/org/apache/ambari/server/view/ViewRegistry.java 49fa406 

Diff: https://reviews.apache.org/r/20919/diff/


Testing
-------

Manual testing.  All unit tests pass ...

Results :

Tests run: 1574, Failures: 0, Errors: 0, Skipped: 9

...
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 20:44.774s
[INFO] Finished at: Wed Apr 30 18:24:10 EDT 2014
[INFO] Final Memory: 36M/123M
[INFO] ------------------------------------------------------------------------
new-host:ambari-server thomas$ 


Thanks,

Tom Beerbower


Re: Review Request 20919: Ambari Views : NPE deploying view

Posted by Nate Cole <nc...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/20919/#review41890
-----------------------------------------------------------

Ship it!


Ship It!

- Nate Cole


On April 30, 2014, 6:35 p.m., Tom Beerbower wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/20919/
> -----------------------------------------------------------
> 
> (Updated April 30, 2014, 6:35 p.m.)
> 
> 
> Review request for Ambari and Nate Cole.
> 
> 
> Bugs: AMBARI-5642
>     https://issues.apache.org/jira/browse/AMBARI-5642
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> Regression when deploying view without configured entities.
> 
> 
> 16:01:20,593 ERROR [main] ViewRegistry:286 - Caught exception loading view from /var/lib/ambari-server/resources/views/weather-view-1.0.0.jar
> java.lang.NullPointerException
>         at org.apache.ambari.server.view.ViewRegistry.setPersistenceEntities(ViewRegistry.java:535)
>         at org.apache.ambari.server.view.ViewRegistry.installViewInstance(ViewRegistry.java:523)
>         at org.apache.ambari.server.view.ViewRegistry.readViewArchives(ViewRegistry.java:282)
>         at org.apache.ambari.server.controller.AmbariServer.run(AmbariServer.java:292)
>         at org.apache.ambari.server.controller.AmbariServer.main(AmbariServer.java:530)
> 
> 
> Diffs
> -----
> 
>   ambari-server/src/main/java/org/apache/ambari/server/view/ViewRegistry.java 49fa406 
> 
> Diff: https://reviews.apache.org/r/20919/diff/
> 
> 
> Testing
> -------
> 
> Manual testing.  All unit tests pass ...
> 
> Results :
> 
> Tests run: 1574, Failures: 0, Errors: 0, Skipped: 9
> 
> ...
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD SUCCESS
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 20:44.774s
> [INFO] Finished at: Wed Apr 30 18:24:10 EDT 2014
> [INFO] Final Memory: 36M/123M
> [INFO] ------------------------------------------------------------------------
> new-host:ambari-server thomas$ 
> 
> 
> Thanks,
> 
> Tom Beerbower
> 
>