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



lens-cli/src/main/java/org/apache/lens/cli/commands/LensLogResourceCommands.java
 (line 47)
<https://reviews.apache.org/r/37265/#comment149317>

    typo for lgo



lens-cli/src/main/java/org/apache/lens/cli/commands/LensLogResourceCommands.java
 (line 49)
<https://reviews.apache.org/r/37265/#comment149318>

    Shall we call the key as log_handle? And say in help : log handle can be be 
query_handle for queries.


- Amareshwari Sriramadasu


On Aug. 9, 2015, 4:52 a.m., Raju Bairishetti wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/37265/
> -----------------------------------------------------------
> 
> (Updated Aug. 9, 2015, 4:52 a.m.)
> 
> 
> Review request for lens, Amareshwari Sriramadasu and Rajat Khandelwal.
> 
> 
> Bugs: LENS-701
>     https://issues.apache.org/jira/browse/LENS-701
> 
> 
> Repository: lens
> 
> 
> Description
> -------
> 
> Added a command for fetching the logs
> Added test cases
> 
> 
> Diffs
> -----
> 
>   
> lens-cli/src/main/java/org/apache/lens/cli/commands/LensLogResourceCommands.java
>  PRE-CREATION 
>   lens-cli/src/main/resources/META-INF/spring/spring-shell-plugin.xml 5ee10ba 
>   lens-cli/src/test/java/org/apache/lens/cli/TestLensLogResourceCommands.java 
> PRE-CREATION 
>   lens-cli/src/test/java/org/apache/lens/cli/doc/TestGenerateCLIUserDoc.java 
> 1910be9 
>   lens-client/src/main/java/org/apache/lens/client/LensClient.java cd34642 
>   lens-client/src/main/java/org/apache/lens/client/LensClientConfig.java 
> edb56ac 
>   lens-client/src/main/java/org/apache/lens/client/LensConnection.java 
> 10819ea 
>   lens-client/src/main/java/org/apache/lens/client/LensConnectionParams.java 
> 6b5b45c 
>   src/site/apt/user/cli.apt 6273d89 
> 
> Diff: https://reviews.apache.org/r/37265/diff/
> 
> 
> Testing
> -------
> 
> Tested on cli:
> 
> 1) Savign results to file:
> 
> lens-shell>show logs de631b3c-1a8f-4794-aced-0e8b5a39bf52 --save_location 
> "/tmp/test-lens"
> Saved to /tmp/test-lens/de631b3c-1a8f-4794-aced-0e8b5a39bf52
> 
> 
> 2) Showing logs on to console
> 
> 
> lens-shell>show logs de631b3c-1a8f-4794-aced-0e8b5a39bf52
> 09 Aug 2015 03:10:07 [de631b3c-1a8f-4794-aced-0e8b5a39bf52] [estimate-3] INFO 
>  hive.ql.parse.ParseDriver - Parsing command: cube select measure2 from 
> sample_cube where time_range_in(dt, '2014-06-25-00', '2014-06-26-00')
> 09 Aug 2015 03:10:07 [de631b3c-1a8f-4794-aced-0e8b5a39bf52] [estimate-2] INFO 
>  hive.ql.parse.ParseDriver - Parsing command: cube select measure2 from 
> sample_cube where time_range_in(dt, '2014-06-25-00', '2014-06-26-00')
> ...
> ...
> 09 Aug 2015 03:10:33 [de631b3c-1a8f-4794-aced-0e8b5a39bf52] 
> [pool-13-thread-1] INFO  org.apache.hadoop.hive.ql.log.PerfLogger - </PERFLOG 
> method=Driver.run start=1439089810591 end=1439089833925 duration=23334 
> from=org.apache.hadoop.hive.ql.Driver>
> printed complete log content
> 
> 
> INFO] ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO] 
> [INFO] Lens Checkstyle Rules .............................. SUCCESS [ 11.461 
> s]
> [INFO] Lens ............................................... SUCCESS [ 19.864 
> s]
> [INFO] Lens API ........................................... SUCCESS [ 44.225 
> s]
> [INFO] Lens API for server and extensions ................. SUCCESS [ 41.317 
> s]
> [INFO] Lens Cube .......................................... SUCCESS [07:59 
> min]
> [INFO] Lens DB storage .................................... SUCCESS [ 41.703 
> s]
> [INFO] Lens Query Library ................................. SUCCESS [ 24.517 
> s]
> [INFO] Lens Hive Driver ................................... SUCCESS [04:39 
> min]
> [INFO] Lens Driver for JDBC ............................... SUCCESS [01:00 
> min]
> [INFO] Lens Elastic Search Driver ......................... SUCCESS [ 24.855 
> s]
> [INFO] Lens Server ........................................ SUCCESS [15:42 
> min]
> [INFO] Lens client ........................................ SUCCESS [01:11 
> min]
> [INFO] Lens CLI ........................................... SUCCESS [05:05 
> min]
> [INFO] Lens Examples ...................................... SUCCESS [ 16.780 
> s]
> [INFO] Lens Distribution .................................. SUCCESS [ 24.594 
> s]
> [INFO] Lens ML Lib ........................................ SUCCESS [03:28 
> min]
> [INFO] Lens ML Ext Distribution ........................... SUCCESS [ 26.290 
> s]
> [INFO] Lens Regression .................................... SUCCESS [ 22.320 
> s]
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] BUILD SUCCESS
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Total time: 44:07 min
> [INFO] Finished at: 2015-08-09T10:07:55+05:30
> [INFO] Final Memory: 166M/928M
> [INFO] 
> ------------------------------------------------------------------------
> 
> 
> Thanks,
> 
> Raju Bairishetti
> 
>

Reply via email to