----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/67214/#review203781 -----------------------------------------------------------
Ship it! Ship It! - Rajitha R On May 24, 2018, 2:59 p.m., Ankit Kailaswar wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/67214/ > ----------------------------------------------------------- > > (Updated May 24, 2018, 2:59 p.m.) > > > Review request for lens. > > > Bugs: LENS-1511 > https://issues.apache.org/jira/browse/LENS-1511 > > > Repository: lens > > > Description > ------- > > enable SSL/TLS for lens server and client communication > > > Diffs > ----- > > lens-client/src/main/java/org/apache/lens/client/LensClientConfig.java > eb12ee30 > lens-client/src/main/java/org/apache/lens/client/LensConnection.java > ab498314 > lens-client/src/main/java/org/apache/lens/client/LensHostnameVerifier.java > PRE-CREATION > lens-client/src/main/java/org/apache/lens/client/LensTrustManager.java > PRE-CREATION > lens-client/src/main/resources/lens-client-default.xml 132e1b14 > > lens-server-api/src/main/java/org/apache/lens/server/api/LensConfConstants.java > b81d0a83 > lens-server/src/main/java/org/apache/lens/server/LensServer.java 7f8b3363 > > lens-server/src/main/java/org/apache/lens/server/auth/DelegationTokenAuthenticationFilter.java > 2650bc74 > lens-server/src/main/resources/lensserver-default.xml bef82518 > lens-server/src/test/resources/lens-site.xml f5a02376 > src/site/apt/admin/config.apt 8720c822 > src/site/apt/admin/hivedriver-config.apt 221c1662 > src/site/apt/user/olap-query-conf.apt 90d635b8 > > > Diff: https://reviews.apache.org/r/67214/diff/5/ > > > Testing > ------- > > build logs : > > INFO] --- maven-install-plugin:2.5.2:install (default-install) @ > lens-python-client --- > [INFO] Installing > /Users/ankit.kailaswar/inmobi/apache/lens1/lens/contrib/clients/python/pom.xml > to > /Users/ankit.kailaswar/.m2/repository/org/apache/lens/lens-python-client/2.8.0-SNAPSHOT/lens-python-client-2.8.0-SNAPSHOT.pom > [INFO] > ------------------------------------------------------------------------ > [INFO] Reactor Summary: > [INFO] > [INFO] Lens Checkstyle Rules .............................. SUCCESS [ 1.592 > s] > [INFO] Lens ............................................... SUCCESS [ 3.158 > s] > [INFO] Lens API ........................................... SUCCESS [ 12.665 > s] > [INFO] Lens API for server and extensions ................. SUCCESS [ 12.859 > s] > [INFO] Lens Cube .......................................... SUCCESS [ 21.058 > s] > [INFO] Lens DB storage .................................... SUCCESS [ 5.129 > s] > [INFO] Lens Query Library ................................. SUCCESS [ 6.823 > s] > [INFO] Lens Hive Driver ................................... SUCCESS [ 8.549 > s] > [INFO] Lens Driver for JDBC ............................... SUCCESS [ 9.146 > s] > [INFO] Lens Elastic Search Driver ......................... SUCCESS [ 8.624 > s] > [INFO] Lens Server ........................................ SUCCESS [ 35.410 > s] > [INFO] Lens client ........................................ SUCCESS [ 9.940 > s] > [INFO] Lens CLI ........................................... SUCCESS [ 9.872 > s] > [INFO] Lens Examples ...................................... SUCCESS [ 5.722 > s] > [INFO] Lens Ship Jars to Distributed Cache ................ SUCCESS [ 0.786 > s] > [INFO] Lens Distribution .................................. SUCCESS [ 14.584 > s] > [INFO] Lens ML Lib ........................................ SUCCESS [ 12.489 > s] > [INFO] Lens ML Ext Distribution ........................... SUCCESS [ 3.265 > s] > [INFO] Lens Regression .................................... SUCCESS [ 7.675 > s] > [INFO] Lens UI ............................................ SUCCESS [ 2.392 > s] > [INFO] Lens Contrib ....................................... SUCCESS [ 0.211 > s] > [INFO] Lens Contributed Clients ........................... SUCCESS [ 0.209 > s] > [INFO] Lens Python Client ................................. SUCCESS [ 0.210 > s] > [INFO] > ------------------------------------------------------------------------ > [INFO] BUILD SUCCESS > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 03:12 min > [INFO] Finished at: 2018-05-24T19:22:20+05:30 > [INFO] Final Memory: 172M/1716M > [INFO] > ------------------------------------------------------------------------ > > > Tested with Firefox, curl, python client, lens-client. > > lens client logs, > > 18 May 2018 09:27:22 [Spring Shell] INFO > org.apache.lens.client.LensConnection - SSL is disabled, Creating http client. > 18 May 2018 09:27:53 [Spring Shell] INFO > org.apache.lens.client.LensConnection - SSL is disabled, Creating http client. > 18 May 2018 09:28:30 [Thread-2] INFO > org.apache.lens.client.LensConnectionParams - Request filter added > requestfilter > 18 May 2018 09:28:30 [Thread-2] INFO org.apache.lens.client.LensConnection - > SSL is disabled, Creating http client. > 18 May 2018 09:30:03 [Spring Shell] INFO > org.apache.lens.client.LensConnectionParams - Request filter added > requestfilter > 18 May 2018 09:30:03 [Spring Shell] INFO > org.apache.lens.client.LensConnectionParams - Request filter added > requestfilter > 18 May 2018 09:30:03 [Spring Shell] INFO > org.apache.lens.client.LensConnection - SSL is disabled, Creating http client. > 18 May 2018 09:30:05 [Spring Shell] INFO > org.apache.lens.client.LensConnection - SSL is disabled, Creating http client. > 18 May 2018 09:30:09 [Thread-2] INFO > org.apache.lens.client.LensConnectionParams - Request filter added > requestfilter > 18 May 2018 09:30:09 [Thread-2] INFO org.apache.lens.client.LensConnection - > SSL is disabled, Creating http client. > 18 May 2018 09:33:15 [Spring Shell] INFO > org.apache.lens.client.LensConnectionParams - Request filter added > requestfilter > 18 May 2018 09:33:15 [Spring Shell] INFO > org.apache.lens.client.LensConnectionParams - Request filter added > requestfilter > 18 May 2018 09:33:15 [Spring Shell] INFO > org.apache.lens.client.LensConnection - SSL is enabled, Creating https client. > 18 May 2018 09:33:17 [Spring Shell] INFO > org.apache.lens.client.LensConnection - SSL is enabled, Creating https client. > > > Thanks, > > Ankit Kailaswar > >