[jira] [Commented] (LENS-1458) RESULT_SET_PARENT_DIR set at driver level getting overwritten for queued queries after server restart

2017-08-07 Thread Sushil Mohanty (JIRA)

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

Sushil Mohanty commented on LENS-1458:
--

Committed myself.

> RESULT_SET_PARENT_DIR set at driver level getting overwritten for queued 
> queries after server restart
> -
>
> Key: LENS-1458
> URL: https://issues.apache.org/jira/browse/LENS-1458
> Project: Apache Lens
>  Issue Type: Bug
>  Components: server
>Reporter: Sushil Mohanty
>Assignee: Sushil Mohanty
> Attachments: LENS-1458_1.patch, LENS-1458_2.patch, LENS-1458_3.patch
>
>
> This is happening when queries are getting restored after server restart and 
> driver specific conf  is overwritten with server conf.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (LENS-1458) RESULT_SET_PARENT_DIR set at driver level getting overwritten for queued queries after server restart

2017-08-07 Thread Hadoop QA (JIRA)

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

Hadoop QA commented on LENS-1458:
-

Applied patch: 
[LENS-1458_3.patch|https://issues.apache.org/jira/secure/attachment/12880637/LENS-1458_3.patch]
 and ran command: mvn clean install -fae. Result: Success. Build Job: 
https://builds.apache.org/job/PreCommit-Lens-Build/1379/

> RESULT_SET_PARENT_DIR set at driver level getting overwritten for queued 
> queries after server restart
> -
>
> Key: LENS-1458
> URL: https://issues.apache.org/jira/browse/LENS-1458
> Project: Apache Lens
>  Issue Type: Bug
>  Components: server
>Reporter: Sushil Mohanty
>Assignee: Sushil Mohanty
> Attachments: LENS-1458_1.patch, LENS-1458_2.patch, LENS-1458_3.patch
>
>
> This is happening when queries are getting restored after server restart and 
> driver specific conf  is overwritten with server conf.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (LENS-1458) RESULT_SET_PARENT_DIR set at driver level getting overwritten for queued queries after server restart

2017-08-07 Thread Hadoop QA (JIRA)

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

Hadoop QA commented on LENS-1458:
-

Applied patch: 
[LENS-1458_3.patch|https://issues.apache.org/jira/secure/attachment/12880637/LENS-1458_3.patch]
 and ran command: mvn clean install -fae. Result: Failure. Build Job: 
https://builds.apache.org/job/PreCommit-Lens-Build/1378/

> RESULT_SET_PARENT_DIR set at driver level getting overwritten for queued 
> queries after server restart
> -
>
> Key: LENS-1458
> URL: https://issues.apache.org/jira/browse/LENS-1458
> Project: Apache Lens
>  Issue Type: Bug
>  Components: server
>Reporter: Sushil Mohanty
>Assignee: Sushil Mohanty
> Attachments: LENS-1458_1.patch, LENS-1458_2.patch, LENS-1458_3.patch
>
>
> This is happening when queries are getting restored after server restart and 
> driver specific conf  is overwritten with server conf.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Updated] (LENS-1458) RESULT_SET_PARENT_DIR set at driver level getting overwritten for queued queries after server restart

2017-08-07 Thread Sushil Mohanty (JIRA)

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

Sushil Mohanty updated LENS-1458:
-
Attachment: LENS-1458_3.patch

Checkstyle issue fixed.

> RESULT_SET_PARENT_DIR set at driver level getting overwritten for queued 
> queries after server restart
> -
>
> Key: LENS-1458
> URL: https://issues.apache.org/jira/browse/LENS-1458
> Project: Apache Lens
>  Issue Type: Bug
>  Components: server
>Reporter: Sushil Mohanty
>Assignee: Sushil Mohanty
> Attachments: LENS-1458_1.patch, LENS-1458_2.patch, LENS-1458_3.patch
>
>
> This is happening when queries are getting restored after server restart and 
> driver specific conf  is overwritten with server conf.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Updated] (LENS-1450) filters are getting replicated in jdbc driver query

2017-08-07 Thread Amareshwari Sriramadasu (JIRA)

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

Amareshwari Sriramadasu updated LENS-1450:
--
Resolution: Fixed
Status: Resolved  (was: Patch Available)

Thanks [~rajitha.r]

> filters are getting replicated in jdbc driver query
> ---
>
> Key: LENS-1450
> URL: https://issues.apache.org/jira/browse/LENS-1450
> Project: Apache Lens
>  Issue Type: Bug
>  Components: cube
>Reporter: Rajitha R
>Assignee: Rajitha R
> Attachments: LENS-1450-2.patch
>
>
> The where filters are getting repeated in some queries for jdbc. This needs 
> to be fixed



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (LENS-1458) RESULT_SET_PARENT_DIR set at driver level getting overwritten for queued queries after server restart

2017-08-07 Thread Hadoop QA (JIRA)

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

Hadoop QA commented on LENS-1458:
-

Applied patch: 
[LENS-1458_2.patch|https://issues.apache.org/jira/secure/attachment/12880612/LENS-1458_2.patch]
 and ran command: mvn clean install -fae. Result: Failure. Build Job: 
https://builds.apache.org/job/PreCommit-Lens-Build/1377/

> RESULT_SET_PARENT_DIR set at driver level getting overwritten for queued 
> queries after server restart
> -
>
> Key: LENS-1458
> URL: https://issues.apache.org/jira/browse/LENS-1458
> Project: Apache Lens
>  Issue Type: Bug
>  Components: server
>Reporter: Sushil Mohanty
>Assignee: Sushil Mohanty
> Attachments: LENS-1458_1.patch, LENS-1458_2.patch
>
>
> This is happening when queries are getting restored after server restart and 
> driver specific conf  is overwritten with server conf.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


Re: Review Request 61450: Fix for filters getting repeated in jdbc query - LENS-1450

2017-08-07 Thread Amareshwari Sriramadasu

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


Ship it!




Ship It!

- Amareshwari Sriramadasu


On Aug. 7, 2017, 7:53 a.m., Rajitha R wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/61450/
> ---
> 
> (Updated Aug. 7, 2017, 7:53 a.m.)
> 
> 
> Review request for lens and Rajat Khandelwal.
> 
> 
> Repository: lens
> 
> 
> Description
> ---
> 
> Fix for filters getting repeated in Jdbc query
> 
> 
> Diffs
> -
> 
>   lens-cube/src/main/java/org/apache/lens/cube/parse/CubeQueryContext.java 
> b5330a7 
>   lens-cube/src/test/java/org/apache/lens/cube/parse/TestCubeRewriter.java 
> 1c75e6c 
> 
> 
> Diff: https://reviews.apache.org/r/61450/diff/1/
> 
> 
> Testing
> ---
> 
> [INFO] Lens Checkstyle Rules . SUCCESS [2.212s]
> [INFO] Lens .. SUCCESS [4.546s]
> [INFO] Lens API .. SUCCESS [32.009s]
> [INFO] Lens API for server and extensions  SUCCESS [24.382s]
> [INFO] Lens Cube . SUCCESS [4:21.313s]
> [INFO] Lens DB storage ... SUCCESS [17.702s]
> [INFO] Lens Query Library  SUCCESS [14.776s]
> [INFO] Lens Hive Driver .. SUCCESS [1:20.509s]
> [INFO] Lens Driver for JDBC .. SUCCESS [48.890s]
> [INFO] Lens Elastic Search Driver  SUCCESS [20.872s]
> [INFO] Lens Server ... SUCCESS 
> [16:50.287s]
> [INFO] Lens client ... SUCCESS [1:25.173s]
> [INFO] Lens CLI .. SUCCESS [1:18.177s]
> [INFO] Lens Examples . SUCCESS [7.998s]
> [INFO] Lens Ship Jars to Distributed Cache ... SUCCESS [0.680s]
> [INFO] Lens Distribution . SUCCESS [9.202s]
> [INFO] Lens ML Lib ... SUCCESS [1:04.167s]
> [INFO] Lens ML Ext Distribution .. SUCCESS [2.129s]
> [INFO] Lens Regression ... SUCCESS [12.173s]
> [INFO] Lens UI ... SUCCESS [30.945s]
> [INFO] Lens Contrib .. SUCCESS [0.365s]
> [INFO] Lens Contributed Clients .. SUCCESS [0.352s]
> [INFO] Lens Python Client  SUCCESS [0.575s]
> 
> 
> Thanks,
> 
> Rajitha R
> 
>



[jira] [Updated] (LENS-1458) RESULT_SET_PARENT_DIR set at driver level getting overwritten for queued queries after server restart

2017-08-07 Thread Sushil Mohanty (JIRA)

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

Sushil Mohanty updated LENS-1458:
-
Attachment: LENS-1458_2.patch

Added assert to verify RESULT_SET_PARENT_DIR after restart.

> RESULT_SET_PARENT_DIR set at driver level getting overwritten for queued 
> queries after server restart
> -
>
> Key: LENS-1458
> URL: https://issues.apache.org/jira/browse/LENS-1458
> Project: Apache Lens
>  Issue Type: Bug
>  Components: server
>Reporter: Sushil Mohanty
>Assignee: Sushil Mohanty
> Attachments: LENS-1458_1.patch, LENS-1458_2.patch
>
>
> This is happening when queries are getting restored after server restart and 
> driver specific conf  is overwritten with server conf.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (LENS-1450) filters are getting replicated in jdbc driver query

2017-08-07 Thread Hadoop QA (JIRA)

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

Hadoop QA commented on LENS-1450:
-

Applied patch: 
[LENS-1450-2.patch|https://issues.apache.org/jira/secure/attachment/12880607/LENS-1450-2.patch]
 and ran command: mvn clean install -fae. Result: Success. Build Job: 
https://builds.apache.org/job/PreCommit-Lens-Build/1376/

> filters are getting replicated in jdbc driver query
> ---
>
> Key: LENS-1450
> URL: https://issues.apache.org/jira/browse/LENS-1450
> Project: Apache Lens
>  Issue Type: Bug
>  Components: cube
>Reporter: Rajitha R
>Assignee: Rajitha R
> Attachments: LENS-1450-2.patch
>
>
> The where filters are getting repeated in some queries for jdbc. This needs 
> to be fixed



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Updated] (LENS-1450) filters are getting replicated in jdbc driver query

2017-08-07 Thread Rajitha R (JIRA)

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

Rajitha R updated LENS-1450:

Attachment: LENS-1450-2.patch

> filters are getting replicated in jdbc driver query
> ---
>
> Key: LENS-1450
> URL: https://issues.apache.org/jira/browse/LENS-1450
> Project: Apache Lens
>  Issue Type: Bug
>  Components: cube
>Reporter: Rajitha R
>Assignee: Rajitha R
> Attachments: LENS-1450-2.patch
>
>
> The where filters are getting repeated in some queries for jdbc. This needs 
> to be fixed



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Updated] (LENS-1450) filters are getting replicated in jdbc driver query

2017-08-07 Thread Rajitha R (JIRA)

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

Rajitha R updated LENS-1450:

Status: Patch Available  (was: Reopened)

> filters are getting replicated in jdbc driver query
> ---
>
> Key: LENS-1450
> URL: https://issues.apache.org/jira/browse/LENS-1450
> Project: Apache Lens
>  Issue Type: Bug
>  Components: cube
>Reporter: Rajitha R
>Assignee: Rajitha R
> Attachments: LENS-1450-2.patch
>
>
> The where filters are getting repeated in some queries for jdbc. This needs 
> to be fixed



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Updated] (LENS-1450) filters are getting replicated in jdbc driver query

2017-08-07 Thread Rajitha R (JIRA)

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

Rajitha R updated LENS-1450:

Attachment: (was: LENS-1450.patch)

> filters are getting replicated in jdbc driver query
> ---
>
> Key: LENS-1450
> URL: https://issues.apache.org/jira/browse/LENS-1450
> Project: Apache Lens
>  Issue Type: Bug
>  Components: cube
>Reporter: Rajitha R
>Assignee: Rajitha R
> Attachments: LENS-1450-2.patch
>
>
> The where filters are getting repeated in some queries for jdbc. This needs 
> to be fixed



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


Review Request 61450: Fix for filters getting repeated in jdbc query - LENS-1450

2017-08-07 Thread Rajitha R

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

Review request for lens and Rajat Khandelwal.


Repository: lens


Description
---

Fix for filters getting repeated in Jdbc query


Diffs
-

  lens-cube/src/main/java/org/apache/lens/cube/parse/CubeQueryContext.java 
b5330a7 
  lens-cube/src/test/java/org/apache/lens/cube/parse/TestCubeRewriter.java 
1c75e6c 


Diff: https://reviews.apache.org/r/61450/diff/1/


Testing
---


Thanks,

Rajitha R



[jira] [Commented] (LENS-1458) RESULT_SET_PARENT_DIR set at driver level getting overwritten for queued queries after server restart

2017-08-07 Thread Amareshwari Sriramadasu (JIRA)

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

Amareshwari Sriramadasu commented on LENS-1458:
---

Can we update unit test?

> RESULT_SET_PARENT_DIR set at driver level getting overwritten for queued 
> queries after server restart
> -
>
> Key: LENS-1458
> URL: https://issues.apache.org/jira/browse/LENS-1458
> Project: Apache Lens
>  Issue Type: Bug
>  Components: server
>Reporter: Sushil Mohanty
>Assignee: Sushil Mohanty
> Attachments: LENS-1458_1.patch
>
>
> This is happening when queries are getting restored after server restart and 
> driver specific conf  is overwritten with server conf.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)