[jira] [Commented] (LENS-1511) enable SSL/TLS for lens server and client communication

2018-05-24 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/LENS-1511?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16489633#comment-16489633
 ] 

Hudson commented on LENS-1511:
--

SUCCESS: Integrated in Jenkins build Lens-Commit #1468 (See 
[https://builds.apache.org/job/Lens-Commit/1468/])
LENS-1511 : Adding missing files in patch. (rajitha.r: rev 
f678a4bae7408ea261f309cac0272f714997fd88)
* (add) 
lens-client/src/main/java/org/apache/lens/client/LensHostnameVerifier.java
* (add) lens-client/src/main/java/org/apache/lens/client/LensTrustManager.java


> enable SSL/TLS for lens server and client communication
> ---
>
> Key: LENS-1511
> URL: https://issues.apache.org/jira/browse/LENS-1511
> Project: Apache Lens
>  Issue Type: Bug
>  Components: client, server
>Reporter: Ankit Kailaswar
>Assignee: Ankit Kailaswar
>Priority: Major
> Attachments: Lens-1511.9.patch
>
>
> As a part of GDPR compliance for apache lens we will be providing 
> functionality to enable https over lens server-client communication.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (LENS-1511) enable SSL/TLS for lens server and client communication

2018-05-24 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/LENS-1511?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16489415#comment-16489415
 ] 

Hudson commented on LENS-1511:
--

FAILURE: Integrated in Jenkins build Lens-Commit #1467 (See 
[https://builds.apache.org/job/Lens-Commit/1467/])
LENS-1511:Enable SSL/TLS for lens server and client communication (rajitha.r: 
rev 7a6987254e58d64a1b6400174a2c79e13111b4c5)
* (edit) lens-server/src/main/java/org/apache/lens/server/LensServer.java
* (edit) 
lens-server/src/main/java/org/apache/lens/server/auth/DelegationTokenAuthenticationFilter.java
* (edit) lens-client/src/main/java/org/apache/lens/client/LensConnection.java
* (edit) lens-server/src/test/resources/lens-site.xml
* (edit) lens-server/src/main/resources/lensserver-default.xml
* (edit) lens-client/src/main/java/org/apache/lens/client/LensClientConfig.java
* (edit) src/site/apt/admin/hivedriver-config.apt
* (edit) 
lens-server-api/src/main/java/org/apache/lens/server/api/LensConfConstants.java
* (edit) src/site/apt/user/olap-query-conf.apt
* (edit) lens-client/src/main/resources/lens-client-default.xml
* (edit) src/site/apt/admin/config.apt


> enable SSL/TLS for lens server and client communication
> ---
>
> Key: LENS-1511
> URL: https://issues.apache.org/jira/browse/LENS-1511
> Project: Apache Lens
>  Issue Type: Bug
>  Components: client, server
>Reporter: Ankit Kailaswar
>Assignee: Ankit Kailaswar
>Priority: Major
> Attachments: Lens-1511.9.patch
>
>
> As a part of GDPR compliance for apache lens we will be providing 
> functionality to enable https over lens server-client communication.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


Re: Review Request 67214: enable SSL/TLS for lens server and client communication

2018-05-24 Thread Rajitha R

---
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] 

[jira] [Commented] (LENS-1514) Support HDFS delegation token authentication

2018-05-24 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/LENS-1514?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16489201#comment-16489201
 ] 

Hudson commented on LENS-1514:
--

SUCCESS: Integrated in Jenkins build Lens-Commit #1466 (See 
[https://builds.apache.org/job/Lens-Commit/1466/])
LENS-1514:Support HDFS delegation token authentication (rajitha.r: rev 
0edb80f1a46f10f2470b5eaac4272bf6ee9fe418)
* (edit) contrib/clients/python/lens/client/main.py
* (edit) 
lens-client/src/main/java/org/apache/lens/client/LensConnectionParams.java
* (edit) 
lens-server-api/src/main/java/org/apache/lens/server/api/LensConfConstants.java
* (edit) contrib/clients/python/lens/client/log.py
* (edit) contrib/clients/python/lens/client/query.py
* (edit) contrib/clients/python/lens/client/session.py
* (edit) 
lens-server/src/main/java/org/apache/lens/server/auth/SpnegoAuthenticationFilter.java
LENS-1514:Support HDFS delegation token authentication (rajitha.r: rev 
26d8f57a21bf281f1152c3b60a6ac425041e83af)
* (add) lens-api/src/main/java/org/apache/lens/api/auth/AuthHeader.java
* (add) 
lens-server/src/main/java/org/apache/lens/server/auth/DelegationTokenAuthenticationFilter.java
* (add) 
lens-client/src/main/java/org/apache/lens/client/DelegationTokenClientFilter.java


> Support HDFS delegation token authentication
> 
>
> Key: LENS-1514
> URL: https://issues.apache.org/jira/browse/LENS-1514
> Project: Apache Lens
>  Issue Type: Improvement
>  Components: client, server
>Reporter: Barun Kumar
>Assignee: Barun Kumar
>Priority: Major
> Fix For: 2.8
>
> Attachments: LENS-1514_1.patch
>
>
> As part of LENS-1509, we have added Spnego authentication based on Kerberos 
> to lens. This will work in client-server mode. But this approach will cease 
> to work in a hadoop cluster in which user is using lens client in a mapred 
> job(such as oozie java action) since there will not be keytabs in the hadoop 
> cluster. The authentication in hadoop work on concept of delegation 
> token([https://blog.cloudera.com/blog/2017/12/hadoop-delegation-tokens-explained/).]
> Here we are introducing delegation token auth in lens. We are piggybacking on 
> HDFS to do authentication by passing it's token and performing a filesystem 
> operation.
>  
> We will add proper delegation token implementation as future improvement.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (LENS-1511) enable SSL/TLS for lens server and client communication

2018-05-24 Thread Ankit Kailaswar (JIRA)

 [ 
https://issues.apache.org/jira/browse/LENS-1511?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ankit Kailaswar updated LENS-1511:
--
Attachment: (was: Lens-1511.5.patch)

> enable SSL/TLS for lens server and client communication
> ---
>
> Key: LENS-1511
> URL: https://issues.apache.org/jira/browse/LENS-1511
> Project: Apache Lens
>  Issue Type: Bug
>  Components: client, server
>Reporter: Ankit Kailaswar
>Assignee: Ankit Kailaswar
>Priority: Major
> Attachments: Lens-1511.9.patch
>
>
> As a part of GDPR compliance for apache lens we will be providing 
> functionality to enable https over lens server-client communication.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (LENS-1511) enable SSL/TLS for lens server and client communication

2018-05-24 Thread Ankit Kailaswar (JIRA)

 [ 
https://issues.apache.org/jira/browse/LENS-1511?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ankit Kailaswar updated LENS-1511:
--
Attachment: Lens-1511.9.patch

> enable SSL/TLS for lens server and client communication
> ---
>
> Key: LENS-1511
> URL: https://issues.apache.org/jira/browse/LENS-1511
> Project: Apache Lens
>  Issue Type: Bug
>  Components: client, server
>Reporter: Ankit Kailaswar
>Assignee: Ankit Kailaswar
>Priority: Major
> Attachments: Lens-1511.9.patch
>
>
> As a part of GDPR compliance for apache lens we will be providing 
> functionality to enable https over lens server-client communication.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


Re: Review Request 67214: enable SSL/TLS for lens server and client communication

2018-05-24 Thread Ankit Kailaswar

---
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 (updated)
-

  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/

Changes: https://reviews.apache.org/r/67214/diff/4-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 

Re: Review Request 67214: enable SSL/TLS for lens server and client communication

2018-05-24 Thread Ankit Kailaswar

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

(Updated May 24, 2018, 2:46 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 (updated)
-

  contrib/clients/python/lens/client/log.py e427f7fb 
  contrib/clients/python/lens/client/main.py 9eae6fce 
  contrib/clients/python/lens/client/query.py b09ff19d 
  contrib/clients/python/lens/client/session.py 3b527e01 
  lens-api/src/main/java/org/apache/lens/api/auth/AuthHeader.java ae017d6d 
  
lens-client/src/main/java/org/apache/lens/client/DelegationTokenClientFilter.java
 0a11bf6a 
  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/LensConnectionParams.java 
01ae4dc4 
  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/java/org/apache/lens/server/auth/SpnegoAuthenticationFilter.java
 24773818 
  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/4/

Changes: https://reviews.apache.org/r/67214/diff/3-4/


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 

[jira] [Updated] (LENS-1511) enable SSL/TLS for lens server and client communication

2018-05-24 Thread Ankit Kailaswar (JIRA)

 [ 
https://issues.apache.org/jira/browse/LENS-1511?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ankit Kailaswar updated LENS-1511:
--
Attachment: Lens-1511.5.patch

> enable SSL/TLS for lens server and client communication
> ---
>
> Key: LENS-1511
> URL: https://issues.apache.org/jira/browse/LENS-1511
> Project: Apache Lens
>  Issue Type: Bug
>  Components: client, server
>Reporter: Ankit Kailaswar
>Assignee: Ankit Kailaswar
>Priority: Major
> Attachments: Lens-1511.5.patch
>
>
> As a part of GDPR compliance for apache lens we will be providing 
> functionality to enable https over lens server-client communication.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (LENS-1511) enable SSL/TLS for lens server and client communication

2018-05-24 Thread Ankit Kailaswar (JIRA)

 [ 
https://issues.apache.org/jira/browse/LENS-1511?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ankit Kailaswar updated LENS-1511:
--
Attachment: (was: Lens-1511.3.patch)

> enable SSL/TLS for lens server and client communication
> ---
>
> Key: LENS-1511
> URL: https://issues.apache.org/jira/browse/LENS-1511
> Project: Apache Lens
>  Issue Type: Bug
>  Components: client, server
>Reporter: Ankit Kailaswar
>Assignee: Ankit Kailaswar
>Priority: Major
>
> As a part of GDPR compliance for apache lens we will be providing 
> functionality to enable https over lens server-client communication.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (LENS-1514) Support HDFS delegation token authentication

2018-05-24 Thread Rajitha R (JIRA)

 [ 
https://issues.apache.org/jira/browse/LENS-1514?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Rajitha R updated LENS-1514:

   Resolution: Fixed
Fix Version/s: 2.8
   Status: Resolved  (was: Patch Available)

> Support HDFS delegation token authentication
> 
>
> Key: LENS-1514
> URL: https://issues.apache.org/jira/browse/LENS-1514
> Project: Apache Lens
>  Issue Type: Improvement
>  Components: client, server
>Reporter: Barun Kumar
>Assignee: Barun Kumar
>Priority: Major
> Fix For: 2.8
>
> Attachments: LENS-1514_1.patch
>
>
> As part of LENS-1509, we have added Spnego authentication based on Kerberos 
> to lens. This will work in client-server mode. But this approach will cease 
> to work in a hadoop cluster in which user is using lens client in a mapred 
> job(such as oozie java action) since there will not be keytabs in the hadoop 
> cluster. The authentication in hadoop work on concept of delegation 
> token([https://blog.cloudera.com/blog/2017/12/hadoop-delegation-tokens-explained/).]
> Here we are introducing delegation token auth in lens. We are piggybacking on 
> HDFS to do authentication by passing it's token and performing a filesystem 
> operation.
>  
> We will add proper delegation token implementation as future improvement.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (LENS-1514) Support HDFS delegation token authentication

2018-05-24 Thread Rajitha R (JIRA)

[ 
https://issues.apache.org/jira/browse/LENS-1514?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16489114#comment-16489114
 ] 

Rajitha R commented on LENS-1514:
-

Committed. Thanks [~barunsthakur]

> Support HDFS delegation token authentication
> 
>
> Key: LENS-1514
> URL: https://issues.apache.org/jira/browse/LENS-1514
> Project: Apache Lens
>  Issue Type: Improvement
>  Components: client, server
>Reporter: Barun Kumar
>Assignee: Barun Kumar
>Priority: Major
> Attachments: LENS-1514_1.patch
>
>
> As part of LENS-1509, we have added Spnego authentication based on Kerberos 
> to lens. This will work in client-server mode. But this approach will cease 
> to work in a hadoop cluster in which user is using lens client in a mapred 
> job(such as oozie java action) since there will not be keytabs in the hadoop 
> cluster. The authentication in hadoop work on concept of delegation 
> token([https://blog.cloudera.com/blog/2017/12/hadoop-delegation-tokens-explained/).]
> Here we are introducing delegation token auth in lens. We are piggybacking on 
> HDFS to do authentication by passing it's token and performing a filesystem 
> operation.
>  
> We will add proper delegation token implementation as future improvement.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (LENS-1514) Support HDFS delegation token authentication

2018-05-24 Thread Barun Kumar (JIRA)

[ 
https://issues.apache.org/jira/browse/LENS-1514?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16489090#comment-16489090
 ] 

Barun Kumar commented on LENS-1514:
---

https://reviews.apache.org/r/67269/

> Support HDFS delegation token authentication
> 
>
> Key: LENS-1514
> URL: https://issues.apache.org/jira/browse/LENS-1514
> Project: Apache Lens
>  Issue Type: Improvement
>  Components: client, server
>Reporter: Barun Kumar
>Assignee: Barun Kumar
>Priority: Major
> Attachments: LENS-1514_1.patch
>
>
> As part of LENS-1509, we have added Spnego authentication based on Kerberos 
> to lens. This will work in client-server mode. But this approach will cease 
> to work in a hadoop cluster in which user is using lens client in a mapred 
> job(such as oozie java action) since there will not be keytabs in the hadoop 
> cluster. The authentication in hadoop work on concept of delegation 
> token([https://blog.cloudera.com/blog/2017/12/hadoop-delegation-tokens-explained/).]
> Here we are introducing delegation token auth in lens. We are piggybacking on 
> HDFS to do authentication by passing it's token and performing a filesystem 
> operation.
>  
> We will add proper delegation token implementation as future improvement.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (LENS-1514) Support HDFS delegation token authentication

2018-05-24 Thread Barun Kumar (JIRA)

 [ 
https://issues.apache.org/jira/browse/LENS-1514?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Barun Kumar updated LENS-1514:
--
Status: Patch Available  (was: Open)

> Support HDFS delegation token authentication
> 
>
> Key: LENS-1514
> URL: https://issues.apache.org/jira/browse/LENS-1514
> Project: Apache Lens
>  Issue Type: Improvement
>  Components: client, server
>Reporter: Barun Kumar
>Assignee: Barun Kumar
>Priority: Major
> Attachments: LENS-1514_1.patch
>
>
> As part of LENS-1509, we have added Spnego authentication based on Kerberos 
> to lens. This will work in client-server mode. But this approach will cease 
> to work in a hadoop cluster in which user is using lens client in a mapred 
> job(such as oozie java action) since there will not be keytabs in the hadoop 
> cluster. The authentication in hadoop work on concept of delegation 
> token([https://blog.cloudera.com/blog/2017/12/hadoop-delegation-tokens-explained/).]
> Here we are introducing delegation token auth in lens. We are piggybacking on 
> HDFS to do authentication by passing it's token and performing a filesystem 
> operation.
>  
> We will add proper delegation token implementation as future improvement.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (LENS-1514) Support HDFS delegation token authentication

2018-05-24 Thread Barun Kumar (JIRA)

 [ 
https://issues.apache.org/jira/browse/LENS-1514?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Barun Kumar updated LENS-1514:
--
Attachment: LENS-1514_1.patch

> Support HDFS delegation token authentication
> 
>
> Key: LENS-1514
> URL: https://issues.apache.org/jira/browse/LENS-1514
> Project: Apache Lens
>  Issue Type: Improvement
>  Components: client, server
>Reporter: Barun Kumar
>Assignee: Barun Kumar
>Priority: Major
> Attachments: LENS-1514_1.patch
>
>
> As part of LENS-1509, we have added Spnego authentication based on Kerberos 
> to lens. This will work in client-server mode. But this approach will cease 
> to work in a hadoop cluster in which user is using lens client in a mapred 
> job(such as oozie java action) since there will not be keytabs in the hadoop 
> cluster. The authentication in hadoop work on concept of delegation 
> token([https://blog.cloudera.com/blog/2017/12/hadoop-delegation-tokens-explained/).]
> Here we are introducing delegation token auth in lens. We are piggybacking on 
> HDFS to do authentication by passing it's token and performing a filesystem 
> operation.
>  
> We will add proper delegation token implementation as future improvement.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


Re: Review Request 67214: enable SSL/TLS for lens server and client communication

2018-05-24 Thread Ankit Kailaswar

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

(Updated May 24, 2018, 1:53 p.m.)


Review request for lens.


Summary (updated)
-

enable SSL/TLS for lens server and client communication


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 
bda995dd 
  lens-server/src/main/java/org/apache/lens/server/LensServer.java 7f8b3363 
  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/3/


Testing (updated)
---

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  

[jira] [Updated] (LENS-1511) enable SSL/TLS for lens server and client communication

2018-05-24 Thread Ankit Kailaswar (JIRA)

 [ 
https://issues.apache.org/jira/browse/LENS-1511?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ankit Kailaswar updated LENS-1511:
--
Attachment: Lens-1511.3.patch

> enable SSL/TLS for lens server and client communication
> ---
>
> Key: LENS-1511
> URL: https://issues.apache.org/jira/browse/LENS-1511
> Project: Apache Lens
>  Issue Type: Bug
>  Components: client, server
>Reporter: Ankit Kailaswar
>Assignee: Ankit Kailaswar
>Priority: Major
> Attachments: Lens-1511.3.patch
>
>
> As a part of GDPR compliance for apache lens we will be providing 
> functionality to enable https over lens server-client communication.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


Re: Review Request 67214: git diff origin/master master >> Lens-150

2018-05-24 Thread Ankit Kailaswar

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

(Updated May 24, 2018, 1:15 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 (updated)
-

  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 
bda995dd 
  lens-server/src/main/java/org/apache/lens/server/LensServer.java 7f8b3363 
  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/3/

Changes: https://reviews.apache.org/r/67214/diff/2-3/


Testing
---

build logs : 

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.732 s]
[INFO] Lens ... SUCCESS [  4.058 s]
[INFO] Lens API ... SUCCESS [ 12.199 s]
[INFO] Lens API for server and extensions . SUCCESS [ 11.348 s]
[INFO] Lens Cube .. SUCCESS [ 20.835 s]
[INFO] Lens DB storage  SUCCESS [  4.510 s]
[INFO] Lens Query Library . SUCCESS [  6.098 s]
[INFO] Lens Hive Driver ... SUCCESS [  8.414 s]
[INFO] Lens Driver for JDBC ... SUCCESS [  9.297 s]
[INFO] Lens Elastic Search Driver . SUCCESS [  7.908 s]
[INFO] Lens Server  SUCCESS [ 33.810 s]
[INFO] Lens client  SUCCESS [ 10.876 s]
[INFO] Lens CLI ... SUCCESS [  7.791 s]
[INFO] Lens Examples .. SUCCESS [  4.987 s]
[INFO] Lens Ship Jars to Distributed Cache  SUCCESS [  0.771 s]
[INFO] Lens Distribution .. SUCCESS [ 12.208 s]
[INFO] Lens ML Lib  SUCCESS [ 11.166 s]
[INFO] Lens ML Ext Distribution ... SUCCESS [  2.854 s]
[INFO] Lens Regression  SUCCESS [  7.349 s]
[INFO] Lens UI  SUCCESS [  2.988 s]
[INFO] Lens Contrib ... SUCCESS [  0.203 s]
[INFO] Lens Contributed Clients ... SUCCESS [  0.191 s]
[INFO] Lens Python Client . SUCCESS [  0.202 s]
[INFO] 
[INFO] BUILD SUCCESS
[INFO] 
[INFO] Total time: 03:02 min
[INFO] Finished at: 2018-05-18T16:49:55+05:30
[INFO] Final Memory: 169M/1676M
[INFO] 
IM2086-X3:lens ankit.kailaswar$ 


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 

Re: Review Request 67214: git diff origin/master master >> Lens-150

2018-05-24 Thread Ankit Kailaswar


> On May 21, 2018, 7:35 a.m., Puneet Gupta wrote:
> > lens-client/src/main/java/org/apache/lens/client/LensTrustManager.java
> > Lines 63 (patched)
> > 
> >
> > Should we have separate config for client and server to ignore 
> > certificate check ?

We are providing functionality of one way trust only, client will be verifying 
server's cert and vice versa is not true. We can have this feature in future 
with seperate config flag for server and client.


> On May 21, 2018, 7:35 a.m., Puneet Gupta wrote:
> > lens-client/src/main/java/org/apache/lens/client/LensTrustManager.java
> > Lines 87 (patched)
> > 
> >
> > Should this not come from trustManager.getAcceptedIssuers() ?

yes, updated the same.


> On May 21, 2018, 7:35 a.m., Puneet Gupta wrote:
> > lens-server/src/main/resources/lensserver-default.xml
> > Lines 984 (patched)
> > 
> >
> > incomplete description. Please update

updated


- Ankit


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


On May 21, 2018, 4:46 a.m., Ankit Kailaswar wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/67214/
> ---
> 
> (Updated May 21, 2018, 4:46 a.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
>  bda995dd 
>   lens-server/src/main/java/org/apache/lens/server/LensServer.java 7f8b3363 
>   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/2/
> 
> 
> Testing
> ---
> 
> build logs : 
> 
> 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.732 
> s]
> [INFO] Lens ... SUCCESS [  4.058 
> s]
> [INFO] Lens API ... SUCCESS [ 12.199 
> s]
> [INFO] Lens API for server and extensions . SUCCESS [ 11.348 
> s]
> [INFO] Lens Cube .. SUCCESS [ 20.835 
> s]
> [INFO] Lens DB storage  SUCCESS [  4.510 
> s]
> [INFO] Lens Query Library . SUCCESS [  6.098 
> s]
> [INFO] Lens Hive Driver ... SUCCESS [  8.414 
> s]
> [INFO] Lens Driver for JDBC ... SUCCESS [  9.297 
> s]
> [INFO] Lens Elastic Search Driver . SUCCESS [  7.908 
> s]
> [INFO] Lens Server  SUCCESS [ 33.810 
> s]
> [INFO] Lens client  SUCCESS [ 10.876 
> s]
> [INFO] Lens CLI ... SUCCESS [  7.791 
> s]
> [INFO] Lens Examples .. SUCCESS [  4.987 
> s]
> [INFO] Lens Ship Jars to Distributed Cache  SUCCESS [  0.771 
> s]
> [INFO] Lens Distribution .. SUCCESS [ 12.208 
> s]
> [INFO] Lens ML Lib  SUCCESS [ 11.166 
> s]
> [INFO] Lens ML Ext Distribution ... SUCCESS [  2.854 
> s]
> [INFO] Lens Regression  SUCCESS [  7.349 
> s]
> [INFO] Lens UI  SUCCESS [  2.988 
> 

Re: Review Request 67214: git diff origin/master master >> Lens-150

2018-05-24 Thread Ankit Kailaswar


> On May 21, 2018, 6:42 a.m., Rajitha R wrote:
> > lens-server/src/main/java/org/apache/lens/server/LensServer.java
> > Lines 296 (patched)
> > 
> >
> > "null should be allowed here. We should reply on Grizzly server 
> > creation flow to throw specific Exception or Runtim Exception instead.
> > "
> > This reply is unclear..if the password is not set, are we throwing an 
> > exception here ? since I can't see any. Am I missing something?

As discuused offline SSLContextConfigurator should handle password instead of 
we explicitly doing it.


- Ankit


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


On May 21, 2018, 4:46 a.m., Ankit Kailaswar wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/67214/
> ---
> 
> (Updated May 21, 2018, 4:46 a.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
>  bda995dd 
>   lens-server/src/main/java/org/apache/lens/server/LensServer.java 7f8b3363 
>   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/2/
> 
> 
> Testing
> ---
> 
> build logs : 
> 
> 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.732 
> s]
> [INFO] Lens ... SUCCESS [  4.058 
> s]
> [INFO] Lens API ... SUCCESS [ 12.199 
> s]
> [INFO] Lens API for server and extensions . SUCCESS [ 11.348 
> s]
> [INFO] Lens Cube .. SUCCESS [ 20.835 
> s]
> [INFO] Lens DB storage  SUCCESS [  4.510 
> s]
> [INFO] Lens Query Library . SUCCESS [  6.098 
> s]
> [INFO] Lens Hive Driver ... SUCCESS [  8.414 
> s]
> [INFO] Lens Driver for JDBC ... SUCCESS [  9.297 
> s]
> [INFO] Lens Elastic Search Driver . SUCCESS [  7.908 
> s]
> [INFO] Lens Server  SUCCESS [ 33.810 
> s]
> [INFO] Lens client  SUCCESS [ 10.876 
> s]
> [INFO] Lens CLI ... SUCCESS [  7.791 
> s]
> [INFO] Lens Examples .. SUCCESS [  4.987 
> s]
> [INFO] Lens Ship Jars to Distributed Cache  SUCCESS [  0.771 
> s]
> [INFO] Lens Distribution .. SUCCESS [ 12.208 
> s]
> [INFO] Lens ML Lib  SUCCESS [ 11.166 
> s]
> [INFO] Lens ML Ext Distribution ... SUCCESS [  2.854 
> s]
> [INFO] Lens Regression  SUCCESS [  7.349 
> s]
> [INFO] Lens UI  SUCCESS [  2.988 
> s]
> [INFO] Lens Contrib ... SUCCESS [  0.203 
> s]
> [INFO] Lens Contributed Clients ... SUCCESS [  0.191 
> s]
> [INFO] Lens Python Client . SUCCESS [  0.202 
> s]
> [INFO] 
> 
> [INFO] BUILD SUCCESS
> [INFO] 
> 
> [INFO] Total time: 03:02 min
> [INFO] Finished at: