ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nate Cole" <nc...@hortonworks.com>
Subject Review Request 20864: GET request on cluster resource gives psql exception
Date Tue, 29 Apr 2014 18:04:10 GMT

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

Review request for Ambari, Sumit Mohanty and Sid Wagle.


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


Repository: ambari


Description
-------

Simple patch to do a null/length check on a passed list to the DAO - the fact that it's zero
length is causing the SQL error.


Diffs
-----

  ambari-server/src/main/java/org/apache/ambari/server/orm/dao/RequestDAO.java 241c1fd 
  ambari-server/src/test/java/org/apache/ambari/server/orm/dao/RequestDAOTest.java PRE-CREATION


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


Testing
-------

[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 15:32.863s
[INFO] Finished at: Tue Apr 29 13:53:06 EDT 2014
[INFO] Final Memory: 20M/123M
[INFO] ------------------------------------------------------------------------


Thanks,

Nate Cole


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message