[jira] [Commented] (LENS-1343) expression not being propagated to error message in COULD_NOT_PARSE_EXPRESSION error

2016-10-05 Thread Hudson (JIRA)

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

Hudson commented on LENS-1343:
--

UNSTABLE: Integrated in Jenkins build Lens-Commit-Java8 #271 (See 
[https://builds.apache.org/job/Lens-Commit-Java8/271/])
LENS-1343 : Fix expression not being propagated to error message in 
(amareshwari: rev 1bb189b30f99413fffd5ee978b7fbd728a03c268)
* (edit) lens-cube/src/test/resources/hive-site.xml
* (edit) lens-cube/src/main/java/org/apache/lens/cube/parse/HQLParser.java
* (edit) lens-cube/src/test/java/org/apache/lens/cube/parse/TestHQLParser.java


> expression not being propagated to error message in 
> COULD_NOT_PARSE_EXPRESSION error
> 
>
> Key: LENS-1343
> URL: https://issues.apache.org/jira/browse/LENS-1343
> Project: Apache Lens
>  Issue Type: Bug
>  Components: cube
>Reporter: Rajat Khandelwal
>Assignee: Rajat Khandelwal
> Fix For: 2.7
>
> Attachments: LENS-1343.03.patch, LENS-1343.2016-10-03_12:58:34.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (LENS-1343) expression not being propagated to error message in COULD_NOT_PARSE_EXPRESSION error

2016-10-05 Thread Amareshwari Sriramadasu (JIRA)

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

Amareshwari Sriramadasu updated LENS-1343:
--
   Resolution: Fixed
Fix Version/s: 2.7
   Status: Resolved  (was: Patch Available)

Committed. Thanks [~prongs]

> expression not being propagated to error message in 
> COULD_NOT_PARSE_EXPRESSION error
> 
>
> Key: LENS-1343
> URL: https://issues.apache.org/jira/browse/LENS-1343
> Project: Apache Lens
>  Issue Type: Bug
>  Components: cube
>Reporter: Rajat Khandelwal
>Assignee: Rajat Khandelwal
> Fix For: 2.7
>
> Attachments: LENS-1343.03.patch, LENS-1343.2016-10-03_12:58:34.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (LENS-1343) expression not being propagated to error message in COULD_NOT_PARSE_EXPRESSION error

2016-10-05 Thread Amareshwari Sriramadasu (JIRA)

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

Amareshwari Sriramadasu updated LENS-1343:
--
Component/s: cube

> expression not being propagated to error message in 
> COULD_NOT_PARSE_EXPRESSION error
> 
>
> Key: LENS-1343
> URL: https://issues.apache.org/jira/browse/LENS-1343
> Project: Apache Lens
>  Issue Type: Bug
>  Components: cube
>Reporter: Rajat Khandelwal
>Assignee: Rajat Khandelwal
> Fix For: 2.7
>
> Attachments: LENS-1343.03.patch, LENS-1343.2016-10-03_12:58:34.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (LENS-1350) Result formatting is throwing NPE when the result from druid driver is empty

2016-10-05 Thread Archana H (JIRA)
Archana H created LENS-1350:
---

 Summary: Result formatting is throwing NPE when the result from 
druid driver is empty
 Key: LENS-1350
 URL: https://issues.apache.org/jira/browse/LENS-1350
 Project: Apache Lens
  Issue Type: Bug
  Components: driver-jdbc
Reporter: Archana H


Error:
{CODE}
05 Oct 2016 10:55:29 [3f290017-e51d-4183-8f89-0f3045cc52dc] 
[ResultFormatter_AsyncThread-7] INFO  
org.apache.lens.server.api.query.QueryContext - Registering driver resultset 
for query 3f290017-e51d-4183-8f89-0f3045cc52dc
05 Oct 2016 10:55:29 [3f290017-e51d-4183-8f89-0f3045cc52dc] 
[454e896f-65b0-4c9d-b282-190f00affccf grizzly-http-server-19] INFO  
org.apache.hadoop.hive.conf.HiveConf - Using the default value passed in for 
log id: 454e896f-65b0-4c9d-b282-190f00affccf
05 Oct 2016 10:55:29 [3f290017-e51d-4183-8f89-0f3045cc52dc] 
[454e896f-65b0-4c9d-b282-190f00affccf grizzly-http-server-19] INFO  
org.apache.lens.server.query.QueryExecutionServiceImpl - Updating status for 
3f290017-e51d-4183-8f89-0f3045cc52dc
05 Oct 2016 10:55:29 [3f290017-e51d-4183-8f89-0f3045cc52dc] 
[ResultFormatter_AsyncThread-7] ERROR org.apache.lens.driver.jdbc.JDBCResultSet 
- Error getting JDBC type information: null
java.lang.NullPointerException: null
at 
org.apache.lens.driver.jdbc.JDBCResultSet.getRsMetadata(JDBCResultSet.java:87) 
~[lens-driver-jdbc-2.7.0-SNAPSHOT.jar:2.7.0-SNAPSHOT]
at 
org.apache.lens.driver.jdbc.JDBCResultSet.getMetadata(JDBCResultSet.java:112) 
~[lens-driver-jdbc-2.7.0-SNAPSHOT.jar:2.7.0-SNAPSHOT]
at 
org.apache.lens.server.api.driver.PartiallyFetchedInMemoryResultSet.(PartiallyFetchedInMemoryResultSet.java:94)
 [lens-server-api-2.7.0-SNAPSHOT.jar:2.7.0-SNAPSHOT]
at 
org.apache.lens.server.api.query.QueryContext.registerDriverResult(QueryContext.java:514)
 [lens-server-api-2.7.0-SNAPSHOT.jar:2.7.0-SNAPSHOT]
at 
org.apache.lens.server.api.driver.AbstractLensDriver.fetchResultSet(AbstractLensDriver.java:69)
 [lens-server-api-2.7.0-SNAPSHOT.jar:2.7.0-SNAPSHOT]
at 
org.apache.lens.server.query.QueryExecutionServiceImpl.getDriverResultset(QueryExecutionServiceImpl.java:1835)
 [classes/:na]
at 
org.apache.lens.server.query.ResultFormatter.formatOutput(ResultFormatter.java:91)
 [classes/:na]
at 
org.apache.lens.server.query.ResultFormatter.process(ResultFormatter.java:73) 
[classes/:na]
at 
org.apache.lens.server.query.ResultFormatter.process(ResultFormatter.java:43) 
[classes/:na]
at 
org.apache.lens.server.api.events.AsyncEventListener$1.run(AsyncEventListener.java:110)
 [lens-server-api-2.7.0-SNAPSHOT.jar:2.7.0-SNAPSHOT]
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) 
[na:1.8.0_40]
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) 
[na:1.8.0_40]
at java.lang.Thread.run(Thread.java:745) [na:1.8.0_40]
05 Oct 2016 10:55:29 [3f290017-e51d-4183-8f89-0f3045cc52dc] 
[ResultFormatter_AsyncThread-7] WARN  
org.apache.lens.server.query.ResultFormatter - Exception while formatting 
result for 3f290017-e51d-4183-8f89-0f3045cc52dc
java.lang.NullPointerException: null
at 
org.apache.lens.driver.jdbc.JDBCResultSet.hasNext(JDBCResultSet.java:306) 
~[lens-driver-jdbc-2.7.0-SNAPSHOT.jar:2.7.0-SNAPSHOT]
at 
org.apache.lens.server.api.driver.PartiallyFetchedInMemoryResultSet.preFetchRows(PartiallyFetchedInMemoryResultSet.java:104)
 ~[lens-server-api-2.7.0-SNAPSHOT.jar:2.7.0-SNAPSHOT]
at 
org.apache.lens.server.api.driver.PartiallyFetchedInMemoryResultSet.(PartiallyFetchedInMemoryResultSet.java:95)
 ~[lens-server-api-2.7.0-SNAPSHOT.jar:2.7.0-SNAPSHOT]
at 
org.apache.lens.server.api.query.QueryContext.registerDriverResult(QueryContext.java:514)
 ~[lens-server-api-2.7.0-SNAPSHOT.jar:2.7.0-SNAPSHOT]
at 
org.apache.lens.server.api.driver.AbstractLensDriver.fetchResultSet(AbstractLensDriver.java:69)
 ~[lens-server-api-2.7.0-SNAPSHOT.jar:2.7.0-SNAPSHOT]
at 
org.apache.lens.server.query.QueryExecutionServiceImpl.getDriverResultset(QueryExecutionServiceImpl.java:1835)
 ~[classes/:na]
at 
org.apache.lens.server.query.ResultFormatter.formatOutput(ResultFormatter.java:91)
 [classes/:na]
at 
org.apache.lens.server.query.ResultFormatter.process(ResultFormatter.java:73) 
[classes/:na]
at 
org.apache.lens.server.query.ResultFormatter.process(ResultFormatter.java:43) 
[classes/:na]
at 
org.apache.lens.server.api.events.AsyncEventListener$1.run(AsyncEventListener.java:110)
 [lens-server-api-2.7.0-SNAPSHOT.jar:2.7.0-SNAPSHOT]
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) 
[na:1.8.0_40]
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) 
[na:1.8.0_40]
at java.lang.Thread.run(Thread.java:745) 

[jira] [Commented] (LENS-1344) Make individual component headers on cube schema page left aligned

2016-10-05 Thread Hudson (JIRA)

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

Hudson commented on LENS-1344:
--

UNSTABLE: Integrated in Jenkins build Lens-Commit #1353 (See 
[https://builds.apache.org/job/Lens-Commit/1353/])
LENS-1344 : Make individual component headers on cube schema page on UI 
(amareshwari: rev e6a59b7391364f1c7ad2b2894efcaf731dca119b)
* (edit) lens-ui/app/components/CubeSchemaComponent.js


> Make individual component headers on cube schema page left aligned
> --
>
> Key: LENS-1344
> URL: https://issues.apache.org/jira/browse/LENS-1344
> Project: Apache Lens
>  Issue Type: Task
>  Components: UI
>Reporter: Rajat Khandelwal
>Assignee: Rajat Khandelwal
> Fix For: 2.7
>
> Attachments: LENS-1344.2016-10-03_13:43:34.patch
>
>
> Currently they are center aligned. Which has an issue in case one of the rows 
> is too wide. The width of the entire section is maximun of the widths of 
> individual rows. In case one row is too large, then the header appears in the 
> center of that area, which is not in visible section by default. Making it 
> left aligned would solve that problem



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Resolved] (LENS-1348) Make pre-commit build run with -fae option

2016-10-05 Thread Amareshwari Sriramadasu (JIRA)

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

Amareshwari Sriramadasu resolved LENS-1348.
---
   Resolution: Not A Problem
Fix Version/s: (was: 2.7)

> Make pre-commit build run with -fae option
> --
>
> Key: LENS-1348
> URL: https://issues.apache.org/jira/browse/LENS-1348
> Project: Apache Lens
>  Issue Type: Improvement
>  Components: build
>Reporter: Amareshwari Sriramadasu
>Assignee: Rajat Khandelwal
>
> We see precommit build fails if one of the test fail in any module, we should 
> run it with option -fae sothat all modules get tested.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (LENS-1348) Make pre-commit build run with -fae option

2016-10-05 Thread Rajat Khandelwal (JIRA)

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

Rajat Khandelwal commented on LENS-1348:


It's already running with fae option

{noformat}
#!/bin/bash

##To set jenkins Environment Variables:
export TOOLS_HOME=/home/jenkins/tools
#export JAVA_HOME=${TOOLS_HOME}/java/jdk1.7.0_55
## Added 
export JAVA_HOME=${JDK1_8_0_05_HOME}
## till here
export FINDBUGS_HOME=${TOOLS_HOME}/findbugs/latest
export CLOVER_HOME=${TOOLS_HOME}/clover/latest
export MAVEN_HOME=${TOOLS_HOME}/maven/latest

export 
PATH=~/.local/bin:${MAVEN_3_LATEST__HOME}/bin/:$PATH:${JAVA_HOME}/bin:${MAVEN_HOME}/bin:
export MAVEN_OPTS="-Xmx3g -XX:MaxPermSize=768m"
mkdir -p ~/.local/lib/python2.7/site-packages
easy_install --prefix=~/.local pip
pip install virtualenv --user
cd ${WORKSPACE}
VIRTUALENV_DIR=${WORKSPACE}/patchprocess
rm -rf ${VIRTUALENV_DIR}
virtualenv ${VIRTUALENV_DIR}
source ${VIRTUALENV_DIR}/bin/activate
pip install apache-dev-tool --allow-external RBTools
pip install setuptools --upgrade setuptools
apache-dev-tool test-patch -j LENS-${ISSUE_NUM} -b master -ju hadoopqa -jp 
4hadoopqa -tpc "mvn clean install -fae"
deactivate
{noformat}

https://builds.apache.org/job/PreCommit-Lens-Build/configure

> Make pre-commit build run with -fae option
> --
>
> Key: LENS-1348
> URL: https://issues.apache.org/jira/browse/LENS-1348
> Project: Apache Lens
>  Issue Type: Improvement
>  Components: build
>Reporter: Amareshwari Sriramadasu
>Assignee: Rajat Khandelwal
> Fix For: 2.7
>
>
> We see precommit build fails if one of the test fail in any module, we should 
> run it with option -fae sothat all modules get tested.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (LENS-1343) expression not being propagated to error message in COULD_NOT_PARSE_EXPRESSION error

2016-10-05 Thread Hadoop QA (JIRA)

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

Hadoop QA commented on LENS-1343:
-

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

> expression not being propagated to error message in 
> COULD_NOT_PARSE_EXPRESSION error
> 
>
> Key: LENS-1343
> URL: https://issues.apache.org/jira/browse/LENS-1343
> Project: Apache Lens
>  Issue Type: Bug
>Reporter: Rajat Khandelwal
>Assignee: Rajat Khandelwal
> Attachments: LENS-1343.03.patch, LENS-1343.2016-10-03_12:58:34.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (LENS-1285) Adding unit tests for scheduler API

2016-10-05 Thread Hadoop QA (JIRA)

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

Hadoop QA commented on LENS-1285:
-

Applied patch: 
[0001-Resource-tests.patch|https://issues.apache.org/jira/secure/attachment/12831517/0001-Resource-tests.patch]
 and ran command: mvn clean install -fae. Result: Failure. Build Job: 
https://builds.apache.org/job/PreCommit-Lens-Build/988/

> Adding unit tests for scheduler API
> ---
>
> Key: LENS-1285
> URL: https://issues.apache.org/jira/browse/LENS-1285
> Project: Apache Lens
>  Issue Type: Test
>Reporter: Lavkesh Lahngir
>Assignee: Lavkesh Lahngir
> Attachments: 0001-Resource-tests.patch, Scheduler-API-tests.patch, 
> Scheduler-API-tests.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (LENS-1287) Create command in cli to create schema taking parent directory where schema is stored

2016-10-05 Thread Hadoop QA (JIRA)

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

Hadoop QA commented on LENS-1287:
-

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

> Create command in cli to create schema taking parent directory where schema 
> is stored
> -
>
> Key: LENS-1287
> URL: https://issues.apache.org/jira/browse/LENS-1287
> Project: Apache Lens
>  Issue Type: New Feature
>Reporter: Rajat Khandelwal
>Assignee: Rajat Khandelwal
> Attachments: LENS-1287.07.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (LENS-1344) Make individual component headers on cube schema page left aligned

2016-10-05 Thread Hudson (JIRA)

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

Hudson commented on LENS-1344:
--

ABORTED: Integrated in Jenkins build Lens-Commit-Java8 #270 (See 
[https://builds.apache.org/job/Lens-Commit-Java8/270/])
LENS-1344 : Make individual component headers on cube schema page on UI 
(amareshwari: rev e6a59b7391364f1c7ad2b2894efcaf731dca119b)
* (edit) lens-ui/app/components/CubeSchemaComponent.js


> Make individual component headers on cube schema page left aligned
> --
>
> Key: LENS-1344
> URL: https://issues.apache.org/jira/browse/LENS-1344
> Project: Apache Lens
>  Issue Type: Task
>  Components: UI
>Reporter: Rajat Khandelwal
>Assignee: Rajat Khandelwal
> Fix For: 2.7
>
> Attachments: LENS-1344.2016-10-03_13:43:34.patch
>
>
> Currently they are center aligned. Which has an issue in case one of the rows 
> is too wide. The width of the entire section is maximun of the widths of 
> individual rows. In case one row is too large, then the header appears in the 
> center of that area, which is not in visible section by default. Making it 
> left aligned would solve that problem



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (LENS-1349) Building lens-ui should be moved to profile

2016-10-05 Thread Amareshwari Sriramadasu (JIRA)
Amareshwari Sriramadasu created LENS-1349:
-

 Summary: Building lens-ui should be moved to profile
 Key: LENS-1349
 URL: https://issues.apache.org/jira/browse/LENS-1349
 Project: Apache Lens
  Issue Type: Improvement
  Components: build
Reporter: Amareshwari Sriramadasu


Building lens-ui downloads many jars and plugin. Its better to move its build 
to a separate profile.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (LENS-1348) Make pre-commit build run with -fae option

2016-10-05 Thread Amareshwari Sriramadasu (JIRA)
Amareshwari Sriramadasu created LENS-1348:
-

 Summary: Make pre-commit build run with -fae option
 Key: LENS-1348
 URL: https://issues.apache.org/jira/browse/LENS-1348
 Project: Apache Lens
  Issue Type: Improvement
  Components: build
Reporter: Amareshwari Sriramadasu
Assignee: Rajat Khandelwal
 Fix For: 2.7


We see precommit build fails if one of the test fail in any module, we should 
run it with option -fae sothat all modules get tested.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (LENS-1347) Examples failing on 2.6 build and master

2016-10-05 Thread Amareshwari Sriramadasu (JIRA)
Amareshwari Sriramadasu created LENS-1347:
-

 Summary: Examples failing on 2.6 build and master
 Key: LENS-1347
 URL: https://issues.apache.org/jira/browse/LENS-1347
 Project: Apache Lens
  Issue Type: Bug
  Components: examples
Affects Versions: 2.6
Reporter: Amareshwari Sriramadasu


When run examples :



Successful queries 14 out of 151queries

Seeing all cube queries are failing.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (LENS-1346) License mention missing for AppDispatcher.js

2016-10-05 Thread Amareshwari Sriramadasu (JIRA)
Amareshwari Sriramadasu created LENS-1346:
-

 Summary: License mention missing for AppDispatcher.js
 Key: LENS-1346
 URL: https://issues.apache.org/jira/browse/LENS-1346
 Project: Apache Lens
  Issue Type: Bug
  Components: docs
Affects Versions: 2.5
Reporter: Amareshwari Sriramadasu
Assignee: Amareshwari Sriramadasu
Priority: Critical
 Fix For: 2.7


Found an issue with one of the files : ./lens-ui/app/dispatcher/AppDispatcher.js
The file is having copyright from Facebook and text says the license is BSD 
style which is in root directory of the source. But I don't see any 
corresponding license in root directory of the source. Seems the file is added 
in 2.5 release itself, but we need to put its corresponding license to top 
level LICENSE file. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (LENS-1308) User config loader database calls not inserting entries

2016-10-05 Thread Hadoop QA (JIRA)

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

Hadoop QA commented on LENS-1308:
-

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

> User config loader database calls not inserting entries
> ---
>
> Key: LENS-1308
> URL: https://issues.apache.org/jira/browse/LENS-1308
> Project: Apache Lens
>  Issue Type: Bug
>Affects Versions: 2.3
>Reporter: Rajat Khandelwal
>Assignee: Rajat Khandelwal
> Fix For: 2.7
>
> Attachments: LENS-1308.01.patch, LENS-1308.02.patch, 
> LENS-1308.02.patch, LENS-1308.03.patch, LENS-1308.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (LENS-1344) Make individual component headers on cube schema page left aligned

2016-10-05 Thread Amareshwari Sriramadasu (JIRA)

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

Amareshwari Sriramadasu updated LENS-1344:
--
   Resolution: Fixed
Fix Version/s: 2.7
   Status: Resolved  (was: Patch Available)

Committed. Thanks [~prongs]

> Make individual component headers on cube schema page left aligned
> --
>
> Key: LENS-1344
> URL: https://issues.apache.org/jira/browse/LENS-1344
> Project: Apache Lens
>  Issue Type: Task
>  Components: UI
>Reporter: Rajat Khandelwal
>Assignee: Rajat Khandelwal
> Fix For: 2.7
>
> Attachments: LENS-1344.2016-10-03_13:43:34.patch
>
>
> Currently they are center aligned. Which has an issue in case one of the rows 
> is too wide. The width of the entire section is maximun of the widths of 
> individual rows. In case one row is too large, then the header appears in the 
> center of that area, which is not in visible section by default. Making it 
> left aligned would solve that problem



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (LENS-1327) Handle Data delay for scheduled jobs

2016-10-05 Thread Hadoop QA (JIRA)

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

Hadoop QA commented on LENS-1327:
-

Patch does not apply. Build job: 
https://builds.apache.org/job/PreCommit-Lens-Build/991/

> Handle Data delay for scheduled jobs
> 
>
> Key: LENS-1327
> URL: https://issues.apache.org/jira/browse/LENS-1327
> Project: Apache Lens
>  Issue Type: Sub-task
>Reporter: Lavkesh Lahngir
>Assignee: Lavkesh Lahngir
> Attachments: data-delay.patch, data-delay.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (LENS-1327) Handle Data delay for scheduled jobs

2016-10-05 Thread Hadoop QA (JIRA)

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

Hadoop QA updated LENS-1327:

Status: Open  (was: Patch Available)

> Handle Data delay for scheduled jobs
> 
>
> Key: LENS-1327
> URL: https://issues.apache.org/jira/browse/LENS-1327
> Project: Apache Lens
>  Issue Type: Sub-task
>Reporter: Lavkesh Lahngir
>Assignee: Lavkesh Lahngir
> Attachments: data-delay.patch, data-delay.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (LENS-1343) expression not being propagated to error message in COULD_NOT_PARSE_EXPRESSION error

2016-10-05 Thread Rajat Khandelwal (JIRA)

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

Rajat Khandelwal commented on LENS-1343:


Taking patch from reviewboard and attaching

> expression not being propagated to error message in 
> COULD_NOT_PARSE_EXPRESSION error
> 
>
> Key: LENS-1343
> URL: https://issues.apache.org/jira/browse/LENS-1343
> Project: Apache Lens
>  Issue Type: Bug
>Reporter: Rajat Khandelwal
>Assignee: Rajat Khandelwal
> Attachments: LENS-1343.03.patch, LENS-1343.2016-10-03_12:58:34.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (LENS-1343) expression not being propagated to error message in COULD_NOT_PARSE_EXPRESSION error

2016-10-05 Thread Rajat Khandelwal (JIRA)

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

Rajat Khandelwal updated LENS-1343:
---
Attachment: LENS-1343.03.patch

> expression not being propagated to error message in 
> COULD_NOT_PARSE_EXPRESSION error
> 
>
> Key: LENS-1343
> URL: https://issues.apache.org/jira/browse/LENS-1343
> Project: Apache Lens
>  Issue Type: Bug
>Reporter: Rajat Khandelwal
>Assignee: Rajat Khandelwal
> Attachments: LENS-1343.03.patch, LENS-1343.2016-10-03_12:58:34.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


Re: Review Request 52484: LENS-1343: expression not being propagated to error message in COULD_NOT_PARSE_EXPRESSION error

2016-10-05 Thread Rajat Khandelwal

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

(Updated Oct. 5, 2016, 2:42 p.m.)


Review request for lens.


Bugs: LENS-1343
https://issues.apache.org/jira/browse/LENS-1343


Repository: lens


Description
---


Diffs (updated)
-

  lens-cube/src/main/java/org/apache/lens/cube/parse/HQLParser.java 
6e52d32f5b4e2e4a0579e9d9b010f361e8aad24d 
  lens-cube/src/test/java/org/apache/lens/cube/parse/TestHQLParser.java 
861d4f7b5544d28e09af398c50223d04b13ac191 
  lens-cube/src/test/resources/hive-site.xml 
d21e61c2bcd68adbd579b8bf6dffbeec9fa24fd7 

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


Testing
---


Thanks,

Rajat Khandelwal



[jira] [Updated] (LENS-1287) Create command in cli to create schema taking parent directory where schema is stored

2016-10-05 Thread Rajat Khandelwal (JIRA)

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

Rajat Khandelwal updated LENS-1287:
---
Attachment: LENS-1287.07.patch

> Create command in cli to create schema taking parent directory where schema 
> is stored
> -
>
> Key: LENS-1287
> URL: https://issues.apache.org/jira/browse/LENS-1287
> Project: Apache Lens
>  Issue Type: New Feature
>Reporter: Rajat Khandelwal
>Assignee: Rajat Khandelwal
> Attachments: LENS-1287.07.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (LENS-1287) Create command in cli to create schema taking parent directory where schema is stored

2016-10-05 Thread Rajat Khandelwal (JIRA)

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

Rajat Khandelwal commented on LENS-1287:


Taking patch from reviewboard and attaching

> Create command in cli to create schema taking parent directory where schema 
> is stored
> -
>
> Key: LENS-1287
> URL: https://issues.apache.org/jira/browse/LENS-1287
> Project: Apache Lens
>  Issue Type: New Feature
>Reporter: Rajat Khandelwal
>Assignee: Rajat Khandelwal
> Attachments: LENS-1287.07.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (LENS-1287) Create command in cli to create schema taking parent directory where schema is stored

2016-10-05 Thread Rajat Khandelwal (JIRA)

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

Rajat Khandelwal updated LENS-1287:
---
Status: Patch Available  (was: In Progress)

> Create command in cli to create schema taking parent directory where schema 
> is stored
> -
>
> Key: LENS-1287
> URL: https://issues.apache.org/jira/browse/LENS-1287
> Project: Apache Lens
>  Issue Type: New Feature
>Reporter: Rajat Khandelwal
>Assignee: Rajat Khandelwal
> Attachments: LENS-1287.07.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


Re: Review Request 51363: LENS-1287: Create command in cli to create schema taking parent directory where schema is stored

2016-10-05 Thread Rajat Khandelwal

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

(Updated Oct. 5, 2016, 2:40 p.m.)


Review request for lens.


Bugs: LENS-1287
https://issues.apache.org/jira/browse/LENS-1287


Repository: lens


Description
---


Diffs (updated)
-

  lens-cli/src/main/java/org/apache/lens/cli/commands/LensDatabaseCommands.java 
05108f0158b655653f0665da80a2d10b24f33233 
  
lens-cli/src/main/java/org/apache/lens/cli/commands/LensDimensionTableCommands.java
 7df5c7ca1c7f557409ed36a4be7f4b050260f159 
  lens-cli/src/main/java/org/apache/lens/cli/commands/LensFactCommands.java 
6457bceef143ce08e6a57726cb1e54dcf3288b0c 
  lens-cli/src/main/java/org/apache/lens/cli/commands/LensSchemaCommands.java 
PRE-CREATION 
  lens-cli/src/test/java/org/apache/lens/cli/LensCLITest.java PRE-CREATION 
  lens-cli/src/test/java/org/apache/lens/cli/TestLensCubeCommands.java 
c20766c26c42918e7ab33c32c0b4218ddfa5ee81 
  lens-cli/src/test/java/org/apache/lens/cli/TestLensDatabaseCommands.java 
9687c6089125b4eb9dc2a96fd7d4a140c81eb66c 
  lens-cli/src/test/java/org/apache/lens/cli/TestLensDimensionCommands.java 
a3f01c38d1c94857f0cdfdd7a457b402754c30a6 
  
lens-cli/src/test/java/org/apache/lens/cli/TestLensDimensionTableCommands.java 
5d6d7682d75793897cc6d2fee0bb23ce7f467ab9 
  lens-cli/src/test/java/org/apache/lens/cli/TestLensFactCommands.java 
b4cbf344c46faa40074bc79fa0227312e027dfb6 
  
lens-cli/src/test/java/org/apache/lens/cli/TestLensFactCommandsWithMissingWeight.java
 24f9279b24de98ed1e7304ec2e2010c17df9f8d8 
  lens-cli/src/test/java/org/apache/lens/cli/TestLensQueryCommands.java 
e75fc0ef19d9d9b288bdb677bfdf499aa088e6ee 
  lens-cli/src/test/java/org/apache/lens/cli/TestLensSchemaCommands.java 
PRE-CREATION 
  lens-cli/src/test/java/org/apache/lens/cli/TestLensSegmentationCommands.java 
e6d4bc5354bbcae9ea6d1f06ec2be6e2ff885cf6 
  lens-cli/src/test/java/org/apache/lens/cli/TestLensStorageCommands.java 
c4ab6140c573d8bb4d2048969be14786d2371d6d 
  lens-cli/src/test/java/org/apache/lens/cli/doc/TestGenerateCLIUserDoc.java 
95e6b4e205128a19d1099f0a14638a8eb2d19c7c 
  lens-cli/src/test/resources/cube_with_no_weight_facts.xml 
4673ca416758c35bf50616896f084360a1b5bb89 
  lens-cli/src/test/resources/dim_table.xml 
eb4ddfcc49c9cfdc152df35fe863176986016d95 
  lens-cli/src/test/resources/dim_table2.xml 
8440e28b59cdcc567bac00e4c1e2367ef2ebda0c 
  lens-cli/src/test/resources/fact1.xml 
b18a39313bff9850c720cb3f0492bc6b7a650f78 
  lens-cli/src/test/resources/fact_without_weight.xml 
0c124b2aba88a9efcc164b3b4de96479c164cd6a 
  lens-cli/src/test/resources/local-storage.xml 
65513757f5dc2a19fea88cde4f4fa8736f814091 
  lens-cli/src/test/resources/sample-cube.xml 
2d6bc3469466cee6245f8f503af956dcc92cffb5 
  lens-cli/src/test/resources/schema/cubes/base/cube_with_no_weight_facts.xml 
PRE-CREATION 
  lens-cli/src/test/resources/schema/cubes/base/sample-cube.xml PRE-CREATION 
  lens-cli/src/test/resources/schema/dimensions/test-detail.xml PRE-CREATION 
  lens-cli/src/test/resources/schema/dimensions/test-dimension.xml PRE-CREATION 
  lens-cli/src/test/resources/schema/dimtables/dim_table.xml PRE-CREATION 
  lens-cli/src/test/resources/schema/dimtables/dim_table2.xml PRE-CREATION 
  lens-cli/src/test/resources/schema/facts/fact1.xml PRE-CREATION 
  lens-cli/src/test/resources/schema/facts/fact_without_weight.xml PRE-CREATION 
  lens-cli/src/test/resources/schema/segmentations/seg1.xml PRE-CREATION 
  lens-cli/src/test/resources/schema/storages/local-storage.xml PRE-CREATION 
  lens-cli/src/test/resources/seg1.xml 8a3991514633bcb25ded0e305bdd50192149773c 
  lens-cli/src/test/resources/test-detail.xml 
b51c1888d88436302a7e43ef12d3643fe99b0267 
  lens-cli/src/test/resources/test-dimension.xml 
01de8e69bce7536768bd99d765af3d07f70914a4 
  src/site/apt/user/cli.apt 2522e03fc80b12bcd64f6df155cd862e4e53e2c2 

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


Testing
---


Thanks,

Rajat Khandelwal



Re: Review Request 52088: LENS-743: Query failure retries for transient errors

2016-10-05 Thread Rajat Khandelwal

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

(Updated Oct. 5, 2016, 1:40 p.m.)


Review request for lens.


Bugs: LENS-743
https://issues.apache.org/jira/browse/LENS-743


Repository: lens


Description
---

There have to be retries for query failures for transient errors like network 
errors (Hive server not reachable/ Metastore not reachable/ DB not reachable). 
Retries should be available for each phase - submission, execution, updating 
status, fetching results and formatting.

Right now, any such failure results in marking query as failed.


Diffs (updated)
-

  checkstyle/src/main/resources/checkstyle.xml 
17e55ea1071c06c73e8bf387cd69acca83bc 
  lens-api/src/main/java/org/apache/lens/api/query/FailedAttempt.java 
PRE-CREATION 
  lens-api/src/main/java/org/apache/lens/api/query/LensQuery.java 
7d079a9ed99e3d4940d5f26370547683a6bba465 
  lens-api/src/main/java/org/apache/lens/api/query/QueryStatus.java 
daedbf9ea387cbde3ef39363c2beef3f96725223 
  lens-api/src/test/java/org/apache/lens/api/jaxb/YAMLToStringStrategyTest.java 
04d9ad6dee942c705b0cdf071f49f1305696da65 
  lens-api/src/test/resources/toString/org.apache.lens.api.query.LensQuery.xml 
a681bca7fd6e46fe992901e04e025a8a3106 
  
lens-api/src/test/resources/toString/org.apache.lens.api.query.QueryStatus.xml 
70f9c932efc090095273566eaa52d380a2f23842 
  lens-driver-es/src/main/java/org/apache/lens/driver/es/ESDriver.java 
fceabeae9217676774a6978212cbc9ee9ca120f7 
  lens-driver-es/src/test/resources/hive-site.xml 
e49c876289d5352203d2523ddb9134d745c197e5 
  lens-driver-hive/src/main/java/org/apache/lens/driver/hive/HiveDriver.java 
0d8810f6b7dfd9fb0173a4be6966f1a561107066 
  
lens-driver-hive/src/test/java/org/apache/lens/driver/hive/TestHiveDriver.java 
daf01ac64616da72ee55c00f71c2c0aa33651ee4 
  
lens-driver-hive/src/test/java/org/apache/lens/driver/hive/TestRemoteHiveDriver.java
 1acbb13c3a24c0e7b41d799db0d307c5acfa8c6b 
  lens-driver-jdbc/src/main/java/org/apache/lens/driver/jdbc/JDBCDriver.java 
f805ec6ebccd18de3bfcd0f1ab8626f7330dd6f1 
  
lens-driver-jdbc/src/main/java/org/apache/lens/driver/jdbc/JDBCDriverConfConstants.java
 3c34eb191966dff3ac3032eb79282336b5c6789b 
  
lens-driver-jdbc/src/main/java/org/apache/lens/driver/jdbc/MaxJDBCConnectionCheckConstraint.java
 82b56470e2de09f7c41d1226ea59cffdd8d26a26 
  
lens-driver-jdbc/src/test/java/org/apache/lens/driver/jdbc/TestJdbcDriver.java 
6e9086f9e8dc302ad2171d7f5636a24cb79dcb50 
  
lens-regression/src/main/java/org/apache/lens/regression/core/constants/DriverConfig.java
 d80fba9aee91130b69a2a511d7f157c01a261ac4 
  
lens-server-api/src/main/java/org/apache/lens/server/api/LensConfConstants.java 
8cf617b7181b9a305ea2c68f68c610f823ee75d7 
  
lens-server-api/src/main/java/org/apache/lens/server/api/common/BackOffRetryHandler.java
 17bfba02244bca7141268ed12e4a41400e2bec82 
  
lens-server-api/src/main/java/org/apache/lens/server/api/common/FailureContext.java
 70a34b0c0517ed3b7af46120906fb77ae57870ac 
  
lens-server-api/src/main/java/org/apache/lens/server/api/common/FibonacciExponentialBackOffRetryHandler.java
 e7fb8ce0194803317aaa0e1c5f4e3e0fb6bbca8c 
  
lens-server-api/src/main/java/org/apache/lens/server/api/common/OperationRetryHandlerFactory.java
 88fbe43318315394873cabb9f5dd39f09f6c47f4 
  
lens-server-api/src/main/java/org/apache/lens/server/api/driver/AbstractLensDriver.java
 e4984798751d012f0a9d01980df833c206155546 
  
lens-server-api/src/main/java/org/apache/lens/server/api/driver/DriverConfiguration.java
 PRE-CREATION 
  
lens-server-api/src/main/java/org/apache/lens/server/api/driver/DriverQueryStatus.java
 033f6777b4be7a1b6d6cdc350e42a94ade1acbca 
  
lens-server-api/src/main/java/org/apache/lens/server/api/driver/LensDriver.java 
e472de0a452ffbbcb217503c260aa26fe7f6ed99 
  
lens-server-api/src/main/java/org/apache/lens/server/api/query/DriverSelectorQueryContext.java
 5ff59bd0da713651a7cc5261dbd18cd88e91fc76 
  
lens-server-api/src/main/java/org/apache/lens/server/api/query/FinishedLensQuery.java
 b58fcf964cedb8dc302099ae9c806b06acafa2d3 
  
lens-server-api/src/main/java/org/apache/lens/server/api/query/PriorityChange.java
 eaf3fee953e1efbcf151fc844a9441b74b84cc3e 
  
lens-server-api/src/main/java/org/apache/lens/server/api/query/QueryAccepted.java
 8980b619c9feb86be326bf799fecc35c1579c763 
  
lens-server-api/src/main/java/org/apache/lens/server/api/query/QueryCancelled.java
 a473a47606df84e2b5b204478ad63e63e69b0c23 
  
lens-server-api/src/main/java/org/apache/lens/server/api/query/QueryClosed.java 
3837087db6e51c1606573511bfc02b6108d1ef3d 
  
lens-server-api/src/main/java/org/apache/lens/server/api/query/QueryContext.java
 b584c6a6d414a6f0dac509e67c8944dbd2373325 
  
lens-server-api/src/main/java/org/apache/lens/server/api/query/QueryEnded.java 
e80da6d2a417e1274fb186153ec01615c2da565b 
  

Re: Review Request 52088: LENS-743: Query failure retries for transient errors

2016-10-05 Thread Rajat Khandelwal

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

(Updated Oct. 5, 2016, 1:39 p.m.)


Review request for lens.


Bugs: LENS-743
https://issues.apache.org/jira/browse/LENS-743


Repository: lens


Description
---

There have to be retries for query failures for transient errors like network 
errors (Hive server not reachable/ Metastore not reachable/ DB not reachable). 
Retries should be available for each phase - submission, execution, updating 
status, fetching results and formatting.

Right now, any such failure results in marking query as failed.


Diffs
-

  checkstyle/src/main/resources/checkstyle.xml 
17e55ea1071c06c73e8bf387cd69acca83bc 
  lens-api/src/main/java/org/apache/lens/api/query/FailedAttempt.java 
PRE-CREATION 
  lens-api/src/main/java/org/apache/lens/api/query/LensQuery.java 
7d079a9ed99e3d4940d5f26370547683a6bba465 
  lens-api/src/main/java/org/apache/lens/api/query/QueryStatus.java 
daedbf9ea387cbde3ef39363c2beef3f96725223 
  lens-api/src/test/java/org/apache/lens/api/jaxb/YAMLToStringStrategyTest.java 
04d9ad6dee942c705b0cdf071f49f1305696da65 
  lens-api/src/test/resources/toString/org.apache.lens.api.query.LensQuery.xml 
a681bca7fd6e46fe992901e04e025a8a3106 
  
lens-api/src/test/resources/toString/org.apache.lens.api.query.QueryStatus.xml 
70f9c932efc090095273566eaa52d380a2f23842 
  lens-driver-es/src/main/java/org/apache/lens/driver/es/ESDriver.java 
fceabeae9217676774a6978212cbc9ee9ca120f7 
  lens-driver-es/src/test/resources/hive-site.xml 
e49c876289d5352203d2523ddb9134d745c197e5 
  lens-driver-hive/src/main/java/org/apache/lens/driver/hive/HiveDriver.java 
0d8810f6b7dfd9fb0173a4be6966f1a561107066 
  
lens-driver-hive/src/test/java/org/apache/lens/driver/hive/TestHiveDriver.java 
daf01ac64616da72ee55c00f71c2c0aa33651ee4 
  
lens-driver-hive/src/test/java/org/apache/lens/driver/hive/TestRemoteHiveDriver.java
 1acbb13c3a24c0e7b41d799db0d307c5acfa8c6b 
  lens-driver-jdbc/src/main/java/org/apache/lens/driver/jdbc/JDBCDriver.java 
f805ec6ebccd18de3bfcd0f1ab8626f7330dd6f1 
  
lens-driver-jdbc/src/main/java/org/apache/lens/driver/jdbc/JDBCDriverConfConstants.java
 3c34eb191966dff3ac3032eb79282336b5c6789b 
  
lens-driver-jdbc/src/main/java/org/apache/lens/driver/jdbc/MaxJDBCConnectionCheckConstraint.java
 82b56470e2de09f7c41d1226ea59cffdd8d26a26 
  
lens-driver-jdbc/src/test/java/org/apache/lens/driver/jdbc/TestJdbcDriver.java 
6e9086f9e8dc302ad2171d7f5636a24cb79dcb50 
  
lens-regression/src/main/java/org/apache/lens/regression/core/constants/DriverConfig.java
 d80fba9aee91130b69a2a511d7f157c01a261ac4 
  
lens-server-api/src/main/java/org/apache/lens/server/api/LensConfConstants.java 
8cf617b7181b9a305ea2c68f68c610f823ee75d7 
  
lens-server-api/src/main/java/org/apache/lens/server/api/common/BackOffRetryHandler.java
 17bfba02244bca7141268ed12e4a41400e2bec82 
  
lens-server-api/src/main/java/org/apache/lens/server/api/common/FailureContext.java
 70a34b0c0517ed3b7af46120906fb77ae57870ac 
  
lens-server-api/src/main/java/org/apache/lens/server/api/common/FibonacciExponentialBackOffRetryHandler.java
 e7fb8ce0194803317aaa0e1c5f4e3e0fb6bbca8c 
  
lens-server-api/src/main/java/org/apache/lens/server/api/common/OperationRetryHandlerFactory.java
 88fbe43318315394873cabb9f5dd39f09f6c47f4 
  
lens-server-api/src/main/java/org/apache/lens/server/api/driver/AbstractLensDriver.java
 e4984798751d012f0a9d01980df833c206155546 
  
lens-server-api/src/main/java/org/apache/lens/server/api/driver/DriverConfiguration.java
 PRE-CREATION 
  
lens-server-api/src/main/java/org/apache/lens/server/api/driver/DriverQueryStatus.java
 033f6777b4be7a1b6d6cdc350e42a94ade1acbca 
  
lens-server-api/src/main/java/org/apache/lens/server/api/driver/LensDriver.java 
e472de0a452ffbbcb217503c260aa26fe7f6ed99 
  
lens-server-api/src/main/java/org/apache/lens/server/api/query/DriverSelectorQueryContext.java
 5ff59bd0da713651a7cc5261dbd18cd88e91fc76 
  
lens-server-api/src/main/java/org/apache/lens/server/api/query/FinishedLensQuery.java
 b58fcf964cedb8dc302099ae9c806b06acafa2d3 
  
lens-server-api/src/main/java/org/apache/lens/server/api/query/PriorityChange.java
 eaf3fee953e1efbcf151fc844a9441b74b84cc3e 
  
lens-server-api/src/main/java/org/apache/lens/server/api/query/QueryAccepted.java
 8980b619c9feb86be326bf799fecc35c1579c763 
  
lens-server-api/src/main/java/org/apache/lens/server/api/query/QueryCancelled.java
 a473a47606df84e2b5b204478ad63e63e69b0c23 
  
lens-server-api/src/main/java/org/apache/lens/server/api/query/QueryClosed.java 
3837087db6e51c1606573511bfc02b6108d1ef3d 
  
lens-server-api/src/main/java/org/apache/lens/server/api/query/QueryContext.java
 b584c6a6d414a6f0dac509e67c8944dbd2373325 
  
lens-server-api/src/main/java/org/apache/lens/server/api/query/QueryEnded.java 
e80da6d2a417e1274fb186153ec01615c2da565b 
  

[jira] [Commented] (LENS-1285) Adding unit tests for scheduler API

2016-10-05 Thread Hadoop QA (JIRA)

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

Hadoop QA commented on LENS-1285:
-

Applied patch: 
[0001-Resource-tests.patch|https://issues.apache.org/jira/secure/attachment/12831517/0001-Resource-tests.patch]
 and ran command: mvn clean install -fae. Result: Failure. Build Job: 
https://builds.apache.org/job/PreCommit-Lens-Build/986/

> Adding unit tests for scheduler API
> ---
>
> Key: LENS-1285
> URL: https://issues.apache.org/jira/browse/LENS-1285
> Project: Apache Lens
>  Issue Type: Test
>Reporter: Lavkesh Lahngir
>Assignee: Lavkesh Lahngir
> Attachments: 0001-Resource-tests.patch, Scheduler-API-tests.patch, 
> Scheduler-API-tests.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (LENS-1308) User config loader database calls not inserting entries

2016-10-05 Thread Hadoop QA (JIRA)

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

Hadoop QA commented on LENS-1308:
-

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

> User config loader database calls not inserting entries
> ---
>
> Key: LENS-1308
> URL: https://issues.apache.org/jira/browse/LENS-1308
> Project: Apache Lens
>  Issue Type: Bug
>Affects Versions: 2.3
>Reporter: Rajat Khandelwal
>Assignee: Rajat Khandelwal
> Fix For: 2.7
>
> Attachments: LENS-1308.01.patch, LENS-1308.02.patch, 
> LENS-1308.02.patch, LENS-1308.03.patch, LENS-1308.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (LENS-1345) Deadlock in jdbc query status update

2016-10-05 Thread Rajat Khandelwal (JIRA)

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

Rajat Khandelwal commented on LENS-1345:


Created https://reviews.apache.org/r/52548/

> Deadlock in jdbc query status update
> 
>
> Key: LENS-1345
> URL: https://issues.apache.org/jira/browse/LENS-1345
> Project: Apache Lens
>  Issue Type: Bug
>Reporter: Rajat Khandelwal
>Assignee: Rajat Khandelwal
>
> JDBC query is launched in a thread. On query finish, the thread calls back 
> the query service to update status, which creates a FinishedQuery instance. 
> In the constructor, FinishedQuery is fetching result from the jdbc driver, 
> which waits on the original thread to complete. Basically the thread is 
> waiting for itself. 
> In the callback, query context is acquired by the thread, and can't be 
> acquired again. Which means that get calls for this query won't return and 
> will stay blocked. This can end up blocking all the grizzly threads. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Work started] (LENS-1345) Deadlock in jdbc query status update

2016-10-05 Thread Rajat Khandelwal (JIRA)

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

Work on LENS-1345 started by Rajat Khandelwal.
--
> Deadlock in jdbc query status update
> 
>
> Key: LENS-1345
> URL: https://issues.apache.org/jira/browse/LENS-1345
> Project: Apache Lens
>  Issue Type: Bug
>Reporter: Rajat Khandelwal
>Assignee: Rajat Khandelwal
>
> JDBC query is launched in a thread. On query finish, the thread calls back 
> the query service to update status, which creates a FinishedQuery instance. 
> In the constructor, FinishedQuery is fetching result from the jdbc driver, 
> which waits on the original thread to complete. Basically the thread is 
> waiting for itself. 
> In the callback, query context is acquired by the thread, and can't be 
> acquired again. Which means that get calls for this query won't return and 
> will stay blocked. This can end up blocking all the grizzly threads. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


Review Request 52548: LENS-1345: Deadlock in jdbc query status update

2016-10-05 Thread Rajat Khandelwal

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

Review request for lens.


Bugs: LENS-1345
https://issues.apache.org/jira/browse/LENS-1345


Repository: lens


Description
---

JDBC query is launched in a thread. On query finish, the thread calls back the 
query service to update status, which creates a FinishedQuery instance. In the 
constructor, FinishedQuery is fetching result from the jdbc driver, which waits 
on the original thread to complete. Basically the thread is waiting for itself. 

In the callback, query context is acquired by the thread, and can't be acquired 
again. Which means that get calls for this query won't return and will stay 
blocked. This can end up blocking all the grizzly threads.


Diffs
-

  lens-driver-jdbc/src/main/java/org/apache/lens/driver/jdbc/JDBCDriver.java 
f805ec6ebccd18de3bfcd0f1ab8626f7330dd6f1 
  
lens-server/src/main/java/org/apache/lens/server/query/QueryExecutionServiceImpl.java
 87d7cb0d5036bd0de4361cc146404a7fee478bac 
  lens-server/src/test/java/org/apache/lens/server/query/TestQueryService.java 
3f71aef9ca180d834538604925c71d1d87be8e26 

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


Testing
---


Thanks,

Rajat Khandelwal



[jira] [Commented] (LENS-1345) Deadlock in jdbc query status update

2016-10-05 Thread Rajat Khandelwal (JIRA)

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

Rajat Khandelwal commented on LENS-1345:


The solution is to not fetch the driver result set in the constructor of 
FinishedQuery, rather fetch it when it's required, which happens in QueryPurger 
-- a different thread, so the original thread isn't blocked. 



> Deadlock in jdbc query status update
> 
>
> Key: LENS-1345
> URL: https://issues.apache.org/jira/browse/LENS-1345
> Project: Apache Lens
>  Issue Type: Bug
>Reporter: Rajat Khandelwal
>Assignee: Rajat Khandelwal
>
> JDBC query is launched in a thread. On query finish, the thread calls back 
> the query service to update status, which creates a FinishedQuery instance. 
> In the constructor, FinishedQuery is fetching result from the jdbc driver, 
> which waits on the original thread to complete. Basically the thread is 
> waiting for itself. 
> In the callback, query context is acquired by the thread, and can't be 
> acquired again. Which means that get calls for this query won't return and 
> will stay blocked. This can end up blocking all the grizzly threads. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (LENS-1327) Handle Data delay for scheduled jobs

2016-10-05 Thread Lavkesh Lahngir (JIRA)

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

Lavkesh Lahngir commented on LENS-1327:
---

Yeah. It's not a necessary condition. 


> Handle Data delay for scheduled jobs
> 
>
> Key: LENS-1327
> URL: https://issues.apache.org/jira/browse/LENS-1327
> Project: Apache Lens
>  Issue Type: Sub-task
>Reporter: Lavkesh Lahngir
>Assignee: Lavkesh Lahngir
> Attachments: data-delay.patch, data-delay.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


Re: Review Request 52514: Add data completeness checker

2016-10-05 Thread Amareshwari Sriramadasu

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




.gitignore (line 40)


Can you avoid this change?



lens-cube/src/main/java/org/apache/lens/cube/parse/CandidateTablePruneCause.java
 (line 120)


Should be added after MISSING_PARTITIONS.

Also lets change the text to "Data is incomplete. Details : %s"


Can you add testcases for all capabilities listed in description?

- Amareshwari Sriramadasu


On Oct. 4, 2016, 2:10 p.m., Narayan Periwal wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/52514/
> ---
> 
> (Updated Oct. 4, 2016, 2:10 p.m.)
> 
> 
> Review request for lens.
> 
> 
> Bugs: LENS-1333
> https://issues.apache.org/jira/browse/LENS-1333
> 
> 
> Repository: lens
> 
> 
> Description
> ---
> 
> Though lens has partition registration being done whenever data is available, 
> there is no guarantee the partition registered is complete. There can be 
> different ways to know if the data is complete for partition. One option 
> could be to have a partition property saying whether it is complete or not. 
> Other could be to do a http call to another hosted service and more.
> 
> Proposal here is to add an interface for DataCompletenessChecker and do the 
> check while resolving partitions.
> 
> Here are some of the capabilities we would like to add in Lens :
> # Lens will check partition existence first, if it exists, then check the 
> completeness percentage. If the completeness percentage is less than a 
> configured threshold (default should be 98, 99 or even 100), Lens will fail 
> the query.
> # Lens's accept query on partial data will accept on incomplete data as well.
> # Lens will also option to override the completeness percentage threshold 
> value at query level
> # Lens will still have look ahead capability of daily being incomplete, then 
> it will union with hourly. 
> # If same measure is there in two different facts , Lens will we pick the one 
> with higher availability.
> # In case of completeness percentage threshold missed, Lens will respond back 
> with available percentage.
> 
> 
> Diffs
> -
> 
>   .gitignore aca87dc 
>   lens-cube/src/main/java/org/apache/lens/cube/metadata/CubeFactTable.java 
> fb958c3 
>   
> lens-cube/src/main/java/org/apache/lens/cube/metadata/MetastoreConstants.java 
> 4585ef7 
>   lens-cube/src/main/java/org/apache/lens/cube/parse/CandidateFact.java 
> 01265a5 
>   
> lens-cube/src/main/java/org/apache/lens/cube/parse/CandidateTablePruneCause.java
>  78fb21d 
>   lens-cube/src/main/java/org/apache/lens/cube/parse/CubeQueryConfUtil.java 
> 49ed5ef 
>   lens-cube/src/main/java/org/apache/lens/cube/parse/DefaultChecker.java 
> PRE-CREATION 
>   
> lens-cube/src/main/java/org/apache/lens/cube/parse/MaxCoveringFactResolver.java
>  13f1aa4 
>   
> lens-cube/src/main/java/org/apache/lens/cube/parse/StorageTableResolver.java 
> db26718 
>   lens-cube/src/test/java/org/apache/lens/cube/parse/CubeTestSetup.java 
> f7f8af2 
>   
> lens-cube/src/test/java/org/apache/lens/cube/parse/DefaultCompletenessChecker.java
>  PRE-CREATION 
>   
> lens-cube/src/test/java/org/apache/lens/cube/parse/FieldsCannotBeQueriedTogetherTest.java
>  7afa32e 
> 
> Diff: https://reviews.apache.org/r/52514/diff/
> 
> 
> Testing
> ---
> 
> 
> Thanks,
> 
> Narayan Periwal
> 
>