You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lens.apache.org by Yash Sharma <ya...@gmail.com> on 2015/06/02 12:38:33 UTC

Re: Review Request 34652: LENS-478 : Add DatabaseResourceService load errors

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

(Updated June 2, 2015, 10:38 a.m.)


Review request for lens, Himanshu Gahlaut and Rajat Khandelwal.


Repository: lens


Description
-------

https://issues.apache.org/jira/browse/LENS-478

Was not sure which all scenarios are counted as failure conditions so posting an initai review request.
Not included 'Invalid Dir' and 'no .jar files' as error conditions. Also removed unwanted throw clauses.
Please review.


Diffs
-----

  lens-server-api/src/main/java/org/apache/lens/server/api/metrics/MetricsService.java 9cfb65d 
  lens-server/src/main/java/org/apache/lens/server/metrics/MetricsServiceImpl.java 6e8b3a6 
  lens-server/src/main/java/org/apache/lens/server/session/DatabaseResourceService.java 608c679 

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


Testing (updated)
-------

New build results-

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Lens Checkstyle Rules .............................. SUCCESS [  2.786 s]
[INFO] Lens ............................................... SUCCESS [  3.960 s]
[INFO] Lens API ........................................... SUCCESS [ 18.098 s]
[INFO] Lens API for server and extensions ................. SUCCESS [ 21.742 s]
[INFO] Lens Cube .......................................... SUCCESS [03:10 min]
[INFO] Lens DB storage .................................... SUCCESS [ 19.967 s]
[INFO] Lens Query Library ................................. SUCCESS [ 16.824 s]
[INFO] Lens Hive Driver ................................... SUCCESS [02:40 min]
[INFO] Lens Driver for JDBC ............................... SUCCESS [ 35.233 s]
[INFO] Lens Server ........................................ SUCCESS [05:56 min]
[INFO] Lens client ........................................ SUCCESS [ 38.323 s]
[INFO] Lens CLI ........................................... SUCCESS [02:07 min]
[INFO] Lens Examples ...................................... SUCCESS [ 10.348 s]
[INFO] Lens Distribution .................................. SUCCESS [  8.957 s]
[INFO] Lens ML Lib ........................................ SUCCESS [01:30 min]
[INFO] Lens ML Ext Distribution ........................... SUCCESS [  2.812 s]
[INFO] Lens Regression .................................... SUCCESS [ 11.838 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 18:37 min
[INFO] Finished at: 2015-06-02T16:03:09+05:30
[INFO] Final Memory: 120M/402M
[INFO] ------------------------------------------------------------------------


[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Lens Checkstyle Rules .............................. SUCCESS [  2.086 s]
[INFO] Lens ............................................... SUCCESS [  3.403 s]
[INFO] Lens API ........................................... SUCCESS [ 17.744 s]
[INFO] Lens API for server and extensions ................. SUCCESS [ 22.806 s]
[INFO] Lens Cube .......................................... SUCCESS [02:53 min]
[INFO] Lens DB storage .................................... SUCCESS [ 19.335 s]
[INFO] Lens Query Library ................................. SUCCESS [ 18.111 s]
[INFO] Lens Hive Driver ................................... SUCCESS [02:37 min]
[INFO] Lens Driver for JDBC ............................... SUCCESS [ 32.961 s]
[INFO] Lens Server ........................................ SUCCESS [04:40 min]
[INFO] Lens client ........................................ SUCCESS [ 35.310 s]
[INFO] Lens CLI ........................................... SUCCESS [01:53 min]
[INFO] Lens Examples ...................................... SUCCESS [  9.024 s]
[INFO] Lens Distribution .................................. SUCCESS [  7.767 s]
[INFO] Lens ML Lib ........................................ SUCCESS [01:12 min]
[INFO] Lens ML Ext Distribution ........................... SUCCESS [  2.749 s]
[INFO] Lens Regression .................................... SUCCESS [  6.677 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 16:16 min
[INFO] Finished at: 2015-05-25T21:16:48+05:30
[INFO] Final Memory: 121M/377M
[INFO] ------------------------------------------------------------------------


Thanks,

Yash Sharma


Re: Review Request 34652: LENS-478 : Add DatabaseResourceService load errors

Posted by Yash Sharma <ya...@gmail.com>.

> On June 3, 2015, 10:25 a.m., Amareshwari Sriramadasu wrote:
> > Changes look fine. can you see if patch applies cleanly, if not, update to master and upload on jira.

Thanks. 
Able to apply patch cleanly. Will upload a rebased patch to JIRA anyways.


- Yash


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


On June 2, 2015, 10:42 a.m., Yash Sharma wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/34652/
> -----------------------------------------------------------
> 
> (Updated June 2, 2015, 10:42 a.m.)
> 
> 
> Review request for lens, Himanshu Gahlaut and Rajat Khandelwal.
> 
> 
> Repository: lens
> 
> 
> Description
> -------
> 
> https://issues.apache.org/jira/browse/LENS-478
> 
> Was not sure which all scenarios are counted as failure conditions so posting an initai review request.
> Not included 'Invalid Dir' and 'no .jar files' as error conditions. Also removed unwanted throw clauses.
> Please review.
> 
> 
> Diffs
> -----
> 
>   lens-server-api/src/main/java/org/apache/lens/server/api/metrics/MetricsService.java 9cfb65d 
>   lens-server/src/main/java/org/apache/lens/server/metrics/MetricsServiceImpl.java 6e8b3a6 
>   lens-server/src/main/java/org/apache/lens/server/session/DatabaseResourceService.java 608c679 
> 
> Diff: https://reviews.apache.org/r/34652/diff/
> 
> 
> Testing
> -------
> 
> Implemented all review comments from similar issue - LENS-479
> 
> New build results-
> 
> [INFO] ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO] 
> [INFO] Lens Checkstyle Rules .............................. SUCCESS [  2.786 s]
> [INFO] Lens ............................................... SUCCESS [  3.960 s]
> [INFO] Lens API ........................................... SUCCESS [ 18.098 s]
> [INFO] Lens API for server and extensions ................. SUCCESS [ 21.742 s]
> [INFO] Lens Cube .......................................... SUCCESS [03:10 min]
> [INFO] Lens DB storage .................................... SUCCESS [ 19.967 s]
> [INFO] Lens Query Library ................................. SUCCESS [ 16.824 s]
> [INFO] Lens Hive Driver ................................... SUCCESS [02:40 min]
> [INFO] Lens Driver for JDBC ............................... SUCCESS [ 35.233 s]
> [INFO] Lens Server ........................................ SUCCESS [05:56 min]
> [INFO] Lens client ........................................ SUCCESS [ 38.323 s]
> [INFO] Lens CLI ........................................... SUCCESS [02:07 min]
> [INFO] Lens Examples ...................................... SUCCESS [ 10.348 s]
> [INFO] Lens Distribution .................................. SUCCESS [  8.957 s]
> [INFO] Lens ML Lib ........................................ SUCCESS [01:30 min]
> [INFO] Lens ML Ext Distribution ........................... SUCCESS [  2.812 s]
> [INFO] Lens Regression .................................... SUCCESS [ 11.838 s]
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD SUCCESS
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 18:37 min
> [INFO] Finished at: 2015-06-02T16:03:09+05:30
> [INFO] Final Memory: 120M/402M
> [INFO] ------------------------------------------------------------------------
> 
> 
> [INFO] ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO] 
> [INFO] Lens Checkstyle Rules .............................. SUCCESS [  2.086 s]
> [INFO] Lens ............................................... SUCCESS [  3.403 s]
> [INFO] Lens API ........................................... SUCCESS [ 17.744 s]
> [INFO] Lens API for server and extensions ................. SUCCESS [ 22.806 s]
> [INFO] Lens Cube .......................................... SUCCESS [02:53 min]
> [INFO] Lens DB storage .................................... SUCCESS [ 19.335 s]
> [INFO] Lens Query Library ................................. SUCCESS [ 18.111 s]
> [INFO] Lens Hive Driver ................................... SUCCESS [02:37 min]
> [INFO] Lens Driver for JDBC ............................... SUCCESS [ 32.961 s]
> [INFO] Lens Server ........................................ SUCCESS [04:40 min]
> [INFO] Lens client ........................................ SUCCESS [ 35.310 s]
> [INFO] Lens CLI ........................................... SUCCESS [01:53 min]
> [INFO] Lens Examples ...................................... SUCCESS [  9.024 s]
> [INFO] Lens Distribution .................................. SUCCESS [  7.767 s]
> [INFO] Lens ML Lib ........................................ SUCCESS [01:12 min]
> [INFO] Lens ML Ext Distribution ........................... SUCCESS [  2.749 s]
> [INFO] Lens Regression .................................... SUCCESS [  6.677 s]
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD SUCCESS
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 16:16 min
> [INFO] Finished at: 2015-05-25T21:16:48+05:30
> [INFO] Final Memory: 121M/377M
> [INFO] ------------------------------------------------------------------------
> 
> 
> Thanks,
> 
> Yash Sharma
> 
>


Re: Review Request 34652: LENS-478 : Add DatabaseResourceService load errors

Posted by Amareshwari Sriramadasu <am...@apache.org>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/34652/#review86388
-----------------------------------------------------------

Ship it!


Changes look fine. can you see if patch applies cleanly, if not, update to master and upload on jira.

- Amareshwari Sriramadasu


On June 2, 2015, 10:42 a.m., Yash Sharma wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/34652/
> -----------------------------------------------------------
> 
> (Updated June 2, 2015, 10:42 a.m.)
> 
> 
> Review request for lens, Himanshu Gahlaut and Rajat Khandelwal.
> 
> 
> Repository: lens
> 
> 
> Description
> -------
> 
> https://issues.apache.org/jira/browse/LENS-478
> 
> Was not sure which all scenarios are counted as failure conditions so posting an initai review request.
> Not included 'Invalid Dir' and 'no .jar files' as error conditions. Also removed unwanted throw clauses.
> Please review.
> 
> 
> Diffs
> -----
> 
>   lens-server-api/src/main/java/org/apache/lens/server/api/metrics/MetricsService.java 9cfb65d 
>   lens-server/src/main/java/org/apache/lens/server/metrics/MetricsServiceImpl.java 6e8b3a6 
>   lens-server/src/main/java/org/apache/lens/server/session/DatabaseResourceService.java 608c679 
> 
> Diff: https://reviews.apache.org/r/34652/diff/
> 
> 
> Testing
> -------
> 
> Implemented all review comments from similar issue - LENS-479
> 
> New build results-
> 
> [INFO] ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO] 
> [INFO] Lens Checkstyle Rules .............................. SUCCESS [  2.786 s]
> [INFO] Lens ............................................... SUCCESS [  3.960 s]
> [INFO] Lens API ........................................... SUCCESS [ 18.098 s]
> [INFO] Lens API for server and extensions ................. SUCCESS [ 21.742 s]
> [INFO] Lens Cube .......................................... SUCCESS [03:10 min]
> [INFO] Lens DB storage .................................... SUCCESS [ 19.967 s]
> [INFO] Lens Query Library ................................. SUCCESS [ 16.824 s]
> [INFO] Lens Hive Driver ................................... SUCCESS [02:40 min]
> [INFO] Lens Driver for JDBC ............................... SUCCESS [ 35.233 s]
> [INFO] Lens Server ........................................ SUCCESS [05:56 min]
> [INFO] Lens client ........................................ SUCCESS [ 38.323 s]
> [INFO] Lens CLI ........................................... SUCCESS [02:07 min]
> [INFO] Lens Examples ...................................... SUCCESS [ 10.348 s]
> [INFO] Lens Distribution .................................. SUCCESS [  8.957 s]
> [INFO] Lens ML Lib ........................................ SUCCESS [01:30 min]
> [INFO] Lens ML Ext Distribution ........................... SUCCESS [  2.812 s]
> [INFO] Lens Regression .................................... SUCCESS [ 11.838 s]
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD SUCCESS
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 18:37 min
> [INFO] Finished at: 2015-06-02T16:03:09+05:30
> [INFO] Final Memory: 120M/402M
> [INFO] ------------------------------------------------------------------------
> 
> 
> [INFO] ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO] 
> [INFO] Lens Checkstyle Rules .............................. SUCCESS [  2.086 s]
> [INFO] Lens ............................................... SUCCESS [  3.403 s]
> [INFO] Lens API ........................................... SUCCESS [ 17.744 s]
> [INFO] Lens API for server and extensions ................. SUCCESS [ 22.806 s]
> [INFO] Lens Cube .......................................... SUCCESS [02:53 min]
> [INFO] Lens DB storage .................................... SUCCESS [ 19.335 s]
> [INFO] Lens Query Library ................................. SUCCESS [ 18.111 s]
> [INFO] Lens Hive Driver ................................... SUCCESS [02:37 min]
> [INFO] Lens Driver for JDBC ............................... SUCCESS [ 32.961 s]
> [INFO] Lens Server ........................................ SUCCESS [04:40 min]
> [INFO] Lens client ........................................ SUCCESS [ 35.310 s]
> [INFO] Lens CLI ........................................... SUCCESS [01:53 min]
> [INFO] Lens Examples ...................................... SUCCESS [  9.024 s]
> [INFO] Lens Distribution .................................. SUCCESS [  7.767 s]
> [INFO] Lens ML Lib ........................................ SUCCESS [01:12 min]
> [INFO] Lens ML Ext Distribution ........................... SUCCESS [  2.749 s]
> [INFO] Lens Regression .................................... SUCCESS [  6.677 s]
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD SUCCESS
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 16:16 min
> [INFO] Finished at: 2015-05-25T21:16:48+05:30
> [INFO] Final Memory: 121M/377M
> [INFO] ------------------------------------------------------------------------
> 
> 
> Thanks,
> 
> Yash Sharma
> 
>


Re: Review Request 34652: LENS-478 : Add DatabaseResourceService load errors

Posted by Yash Sharma <ya...@gmail.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/34652/
-----------------------------------------------------------

(Updated June 2, 2015, 10:42 a.m.)


Review request for lens, Himanshu Gahlaut and Rajat Khandelwal.


Repository: lens


Description
-------

https://issues.apache.org/jira/browse/LENS-478

Was not sure which all scenarios are counted as failure conditions so posting an initai review request.
Not included 'Invalid Dir' and 'no .jar files' as error conditions. Also removed unwanted throw clauses.
Please review.


Diffs
-----

  lens-server-api/src/main/java/org/apache/lens/server/api/metrics/MetricsService.java 9cfb65d 
  lens-server/src/main/java/org/apache/lens/server/metrics/MetricsServiceImpl.java 6e8b3a6 
  lens-server/src/main/java/org/apache/lens/server/session/DatabaseResourceService.java 608c679 

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


Testing (updated)
-------

Implemented all review comments from similar issue - LENS-479

New build results-

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Lens Checkstyle Rules .............................. SUCCESS [  2.786 s]
[INFO] Lens ............................................... SUCCESS [  3.960 s]
[INFO] Lens API ........................................... SUCCESS [ 18.098 s]
[INFO] Lens API for server and extensions ................. SUCCESS [ 21.742 s]
[INFO] Lens Cube .......................................... SUCCESS [03:10 min]
[INFO] Lens DB storage .................................... SUCCESS [ 19.967 s]
[INFO] Lens Query Library ................................. SUCCESS [ 16.824 s]
[INFO] Lens Hive Driver ................................... SUCCESS [02:40 min]
[INFO] Lens Driver for JDBC ............................... SUCCESS [ 35.233 s]
[INFO] Lens Server ........................................ SUCCESS [05:56 min]
[INFO] Lens client ........................................ SUCCESS [ 38.323 s]
[INFO] Lens CLI ........................................... SUCCESS [02:07 min]
[INFO] Lens Examples ...................................... SUCCESS [ 10.348 s]
[INFO] Lens Distribution .................................. SUCCESS [  8.957 s]
[INFO] Lens ML Lib ........................................ SUCCESS [01:30 min]
[INFO] Lens ML Ext Distribution ........................... SUCCESS [  2.812 s]
[INFO] Lens Regression .................................... SUCCESS [ 11.838 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 18:37 min
[INFO] Finished at: 2015-06-02T16:03:09+05:30
[INFO] Final Memory: 120M/402M
[INFO] ------------------------------------------------------------------------


[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Lens Checkstyle Rules .............................. SUCCESS [  2.086 s]
[INFO] Lens ............................................... SUCCESS [  3.403 s]
[INFO] Lens API ........................................... SUCCESS [ 17.744 s]
[INFO] Lens API for server and extensions ................. SUCCESS [ 22.806 s]
[INFO] Lens Cube .......................................... SUCCESS [02:53 min]
[INFO] Lens DB storage .................................... SUCCESS [ 19.335 s]
[INFO] Lens Query Library ................................. SUCCESS [ 18.111 s]
[INFO] Lens Hive Driver ................................... SUCCESS [02:37 min]
[INFO] Lens Driver for JDBC ............................... SUCCESS [ 32.961 s]
[INFO] Lens Server ........................................ SUCCESS [04:40 min]
[INFO] Lens client ........................................ SUCCESS [ 35.310 s]
[INFO] Lens CLI ........................................... SUCCESS [01:53 min]
[INFO] Lens Examples ...................................... SUCCESS [  9.024 s]
[INFO] Lens Distribution .................................. SUCCESS [  7.767 s]
[INFO] Lens ML Lib ........................................ SUCCESS [01:12 min]
[INFO] Lens ML Ext Distribution ........................... SUCCESS [  2.749 s]
[INFO] Lens Regression .................................... SUCCESS [  6.677 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 16:16 min
[INFO] Finished at: 2015-05-25T21:16:48+05:30
[INFO] Final Memory: 121M/377M
[INFO] ------------------------------------------------------------------------


Thanks,

Yash Sharma