[jira] [Commented] (LENS-128) SchedulerServiceImpl for scheduler.

2016-07-22 Thread Hadoop QA (JIRA)

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

Hadoop QA commented on LENS-128:


Applied patch: 
[core-scheduler.patch|https://issues.apache.org/jira/secure/attachment/12819603/core-scheduler.patch]
 and ran command: mvn clean install -fae. Result: Failure. Build Job: 
https://builds.apache.org/job/PreCommit-Lens-Build/709/

> SchedulerServiceImpl for scheduler.
> ---
>
> Key: LENS-128
> URL: https://issues.apache.org/jira/browse/LENS-128
> Project: Apache Lens
>  Issue Type: Sub-task
>  Components: server
>Reporter: Prashant Gupta
>Assignee: Lavkesh Lahngir
> Fix For: 2.6
>
> Attachments: core-scheduler.patch, core-scheduler.patch
>
>
> Server APIs will include the support for operations as specified at LENS-124.



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


[jira] [Commented] (LENS-128) SchedulerServiceImpl for scheduler.

2016-07-22 Thread Hadoop QA (JIRA)

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

Hadoop QA commented on LENS-128:


Applied patch: 
[core-scheduler.patch|https://issues.apache.org/jira/secure/attachment/12819603/core-scheduler.patch]
 and ran command: mvn clean install -fae. Result: Failure. Build Job: 
https://builds.apache.org/job/PreCommit-Lens-Build/708/

> SchedulerServiceImpl for scheduler.
> ---
>
> Key: LENS-128
> URL: https://issues.apache.org/jira/browse/LENS-128
> Project: Apache Lens
>  Issue Type: Sub-task
>  Components: server
>Reporter: Prashant Gupta
>Assignee: Lavkesh Lahngir
> Fix For: 2.6
>
> Attachments: core-scheduler.patch, core-scheduler.patch
>
>
> Server APIs will include the support for operations as specified at LENS-124.



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


Re: Review Request 49770: Core scheduler

2016-07-22 Thread Rajat Khandelwal

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


Ship it!




Ship It!

- Rajat Khandelwal


On July 22, 2016, 5:53 p.m., Lavkesh Lahngir wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/49770/
> ---
> 
> (Updated July 22, 2016, 5:53 p.m.)
> 
> 
> Review request for lens.
> 
> 
> Bugs: LENS-128
> https://issues.apache.org/jira/browse/LENS-128
> 
> 
> Repository: lens
> 
> 
> Description
> ---
> 
> Implementaion of core scheduler:
> 
> 
> Diffs
> -
> 
>   
> lens-api/src/main/java/org/apache/lens/api/error/InvalidStateTransitionException.java
>  PRE-CREATION 
>   lens-api/src/main/java/org/apache/lens/api/scheduler/SchedulerJobEvent.java 
> PRE-CREATION 
>   lens-api/src/main/java/org/apache/lens/api/scheduler/SchedulerJobInfo.java 
> 7d06689 
>   
> lens-api/src/main/java/org/apache/lens/api/scheduler/SchedulerJobInstanceEvent.java
>  PRE-CREATION 
>   
> lens-api/src/main/java/org/apache/lens/api/scheduler/SchedulerJobInstanceInfo.java
>  8158576 
>   
> lens-api/src/main/java/org/apache/lens/api/scheduler/SchedulerJobInstanceRun.java
>  PRE-CREATION 
>   
> lens-api/src/main/java/org/apache/lens/api/scheduler/SchedulerJobInstanceState.java
>  PRE-CREATION 
>   
> lens-api/src/main/java/org/apache/lens/api/scheduler/SchedulerJobInstanceStatus.java
>  85e7e85 
>   lens-api/src/main/java/org/apache/lens/api/scheduler/SchedulerJobState.java 
> PRE-CREATION 
>   
> lens-api/src/main/java/org/apache/lens/api/scheduler/SchedulerJobStatus.java 
> aaf403c 
>   lens-api/src/main/java/org/apache/lens/api/scheduler/StateTransitioner.java 
> PRE-CREATION 
>   lens-cube/src/main/java/org/apache/lens/cube/parse/TimerangeResolver.java 
> 33ec9d9 
>   
> lens-cube/src/test/java/org/apache/lens/cube/parse/FieldsCannotBeQueriedTogetherTest.java
>  fe2dfb3 
>   
> lens-cube/src/test/java/org/apache/lens/cube/parse/TestTimeRangeResolver.java 
> c8a9ac6 
>   
> lens-server-api/src/main/java/org/apache/lens/server/api/LensConfConstants.java
>  bd9b1ab 
>   
> lens-server-api/src/main/java/org/apache/lens/server/api/error/InvalidStateTransitionException.java
>  5882151 
>   
> lens-server-api/src/main/java/org/apache/lens/server/api/events/SchedulerAlarmEvent.java
>  3ca7eb9 
>   
> lens-server-api/src/main/java/org/apache/lens/server/api/scheduler/SchedulerService.java
>  d0af876 
>   
> lens-server-api/src/main/java/org/apache/lens/server/api/scheduler/StateMachine.java
>  ba6a0a2 
>   lens-server/src/main/java/org/apache/lens/server/BaseLensService.java 
> 74bc0be 
>   lens-server/src/main/java/org/apache/lens/server/LensServices.java 7618669 
>   
> lens-server/src/main/java/org/apache/lens/server/metrics/MetricsServiceImpl.java
>  1e8d540 
>   
> lens-server/src/main/java/org/apache/lens/server/scheduler/AlarmService.java 
> PRE-CREATION 
>   
> lens-server/src/main/java/org/apache/lens/server/scheduler/ScheduleResource.java
>  39c4d98 
>   
> lens-server/src/main/java/org/apache/lens/server/scheduler/SchedulerDAO.java 
> bf99fde 
>   
> lens-server/src/main/java/org/apache/lens/server/scheduler/SchedulerEventListener.java
>  PRE-CREATION 
>   
> lens-server/src/main/java/org/apache/lens/server/scheduler/SchedulerQueryEventListener.java
>  PRE-CREATION 
>   
> lens-server/src/main/java/org/apache/lens/server/scheduler/SchedulerServiceImpl.java
>  3952671 
>   
> lens-server/src/main/java/org/apache/lens/server/scheduler/notification/services/AlarmService.java
>  a4cdd83 
>   
> lens-server/src/main/java/org/apache/lens/server/scheduler/state/SchedulerJobInstanceState.java
>  95057e4 
>   
> lens-server/src/main/java/org/apache/lens/server/scheduler/state/SchedulerJobState.java
>  d21cd05 
>   
> lens-server/src/main/java/org/apache/lens/server/scheduler/util/UtilityMethods.java
>  31783ad 
>   
> lens-server/src/main/java/org/apache/lens/server/session/LensSessionImpl.java 
> e77c7fa 
>   lens-server/src/main/java/org/apache/lens/server/util/UtilityMethods.java 
> 63a7874 
>   lens-server/src/main/resources/lensserver-default.xml 3ce8fc1 
>   
> lens-server/src/test/java/org/apache/lens/server/scheduler/AlarmServiceTest.java
>  PRE-CREATION 
>   
> lens-server/src/test/java/org/apache/lens/server/scheduler/SchedulerDAOTest.java
>  d76a586 
>   
> lens-server/src/test/java/org/apache/lens/server/scheduler/TestSchedulerServiceImpl.java
>  PRE-CREATION 
>   
> lens-server/src/test/java/org/apache/lens/server/scheduler/notification/services/AlarmServiceTest.java
>  06883ae 
>   src/site/apt/admin/config.apt 852955b 
> 
> Diff: https://reviews.apache.org/r/49770/diff/
> 
> 
> Testing
> ---
> 
> 
> Thanks,
> 
> Lavkesh Lahngir
> 
>



[jira] [Commented] (LENS-128) SchedulerServiceImpl for scheduler.

2016-07-22 Thread Hadoop QA (JIRA)

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

Hadoop QA commented on LENS-128:


Applied patch: 
[core-scheduler.patch|https://issues.apache.org/jira/secure/attachment/12819603/core-scheduler.patch]
 and ran command: mvn clean install -fae. Result: Failure. Build Job: 
https://builds.apache.org/job/PreCommit-Lens-Build/707/

> SchedulerServiceImpl for scheduler.
> ---
>
> Key: LENS-128
> URL: https://issues.apache.org/jira/browse/LENS-128
> Project: Apache Lens
>  Issue Type: Sub-task
>  Components: server
>Reporter: Prashant Gupta
>Assignee: Lavkesh Lahngir
> Fix For: 2.6
>
> Attachments: core-scheduler.patch, core-scheduler.patch
>
>
> Server APIs will include the support for operations as specified at LENS-124.



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


[jira] [Commented] (LENS-128) SchedulerServiceImpl for scheduler.

2016-07-22 Thread Hadoop QA (JIRA)

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

Hadoop QA commented on LENS-128:


Applied patch: 
[core-scheduler.patch|https://issues.apache.org/jira/secure/attachment/12819603/core-scheduler.patch]
 and ran command: mvn clean install -fae. Result: Failure. Build Job: 
https://builds.apache.org/job/PreCommit-Lens-Build/706/

> SchedulerServiceImpl for scheduler.
> ---
>
> Key: LENS-128
> URL: https://issues.apache.org/jira/browse/LENS-128
> Project: Apache Lens
>  Issue Type: Sub-task
>  Components: server
>Reporter: Prashant Gupta
>Assignee: Lavkesh Lahngir
> Fix For: 2.6
>
> Attachments: core-scheduler.patch, core-scheduler.patch
>
>
> Server APIs will include the support for operations as specified at LENS-124.



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


[jira] [Commented] (LENS-1198) Update hive dependency to apache hive 2.1.0

2016-07-22 Thread Hadoop QA (JIRA)

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

Hadoop QA commented on LENS-1198:
-

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

> Update hive dependency to apache hive 2.1.0
> ---
>
> Key: LENS-1198
> URL: https://issues.apache.org/jira/browse/LENS-1198
> Project: Apache Lens
>  Issue Type: Task
>  Components: build
>Reporter: Amareshwari Sriramadasu
>Assignee: Rajat Khandelwal
>Priority: Critical
> Fix For: 2.6
>
> Attachments: LENS-1198.01.patch, LENS-1198.03.patch, 
> LENS-1198.2016-07-19_16:40:13.patch
>
>
> Now that hive 2.1.0 release is available - 
> http://mail-archives.apache.org/mod_mbox/hive-dev/201606.mbox/%3C7194557D-CB5E-45B7-B905-82F27B7CB33F%40apache.org%3E.
> We should change the dependency to apache hive 2.1.0 and remove 
> github.com/Inmobi/mvn-repo from repositories to look up.
> Also update documentation - install and run doc,  build from source doc to 
> use apache hive everywhere.



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


[jira] [Commented] (LENS-1227) Support HTTP notification for query STATE changes

2016-07-22 Thread Puneet Gupta (JIRA)

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

Puneet Gupta commented on LENS-1227:



lens.server.query.http.notifictaion.urls = comma separated urls 

All notifictions will have user, query_id (and query name if any). Apart from 
this deault info will be shared for each STATE . 
Extra info can be requested too

**lens.server.query.http.notication.types = (QUEUED,RUNNING,*FINIHSED) 
**lens.server.query.http.notication.type.finished.info = 
(*STATUS,RESULT,TOTALRUNTIME,TOTALWAIT,etc) 
**lens.server.query.http.notication.type.queued.info = 
(*QUEUENUMBER,PRIORITY,etc)
**lens.server.query.http.notication.type.running.info = (TOTALWAIT,etc)
**lens.server.query.http.notifictaion.retries = 2 (Default is 0)

**=  not mandatory
*= Default option

> Support HTTP notification for query STATE changes
> -
>
> Key: LENS-1227
> URL: https://issues.apache.org/jira/browse/LENS-1227
> Project: Apache Lens
>  Issue Type: New Feature
>Reporter: Puneet Gupta
>Assignee: Puneet Gupta
>
> 1. HTTP notofication for different stages of query execution 
> -- QUEUED
> -- RUNNING
> -- FINISHED
> 2. Support default info for each state
> 3. Suppoort extra info for each state 
> 4. Support retries
> 5. Support enabling notification by defult for a driver type and state (say 
> for hive queries since they take longer and all STATE updates would be nice)
> 6. Support progress updates in RUNNING state (esp. useful for loing running 
> queries). This will make sense only when progress number is accurate.



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


[jira] [Updated] (LENS-1227) Support HTTP notification for query STATE changes

2016-07-22 Thread Puneet Gupta (JIRA)

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

Puneet Gupta updated LENS-1227:
---
Description: 
1. HTTP notofication for different stages of query execution 
-- QUEUED
-- RUNNING
-- FINISHED
2. Support default info for each state
3. Suppoort extra info for each state 
4. Support retries
5. Support enabling notification by defult for a driver type and state (say for 
hive queries since they take longer and all STATE updates would be nice)
6. Support progress updates in RUNNING state (esp. useful for loing running 
queries). This will make sense only when progress number is accurate.

  was:
1. HTTP notofication for different stages of query execution 
A- QUEUED
B- RUNNING
C- FINISHED
2. Support default info for each state
3. Suppoort extra info for each state 
4. Support retries
5. Support enabling notification by defult for a driver type and state (say for 
hive queries since they take longer and all STATE updates would be nice)
6. Support progress updates in RUNNING state (esp. useful for loing running 
queries). This will make sense only when progress number is accurate.


> Support HTTP notification for query STATE changes
> -
>
> Key: LENS-1227
> URL: https://issues.apache.org/jira/browse/LENS-1227
> Project: Apache Lens
>  Issue Type: New Feature
>Reporter: Puneet Gupta
>Assignee: Puneet Gupta
>
> 1. HTTP notofication for different stages of query execution 
> -- QUEUED
> -- RUNNING
> -- FINISHED
> 2. Support default info for each state
> 3. Suppoort extra info for each state 
> 4. Support retries
> 5. Support enabling notification by defult for a driver type and state (say 
> for hive queries since they take longer and all STATE updates would be nice)
> 6. Support progress updates in RUNNING state (esp. useful for loing running 
> queries). This will make sense only when progress number is accurate.



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


[jira] [Created] (LENS-1227) Support HTTP notification for query STATE changes

2016-07-22 Thread Puneet Gupta (JIRA)
Puneet Gupta created LENS-1227:
--

 Summary: Support HTTP notification for query STATE changes
 Key: LENS-1227
 URL: https://issues.apache.org/jira/browse/LENS-1227
 Project: Apache Lens
  Issue Type: New Feature
Reporter: Puneet Gupta
Assignee: Puneet Gupta


1. HTTP notofication for different stages of query execution 
A- QUEUED
B- RUNNING
C- FINISHED
2. Support default info for each state
3. Suppoort extra info for each state 
4. Support retries
5. Support enabling notification by defult for a driver type and state (say for 
hive queries since they take longer and all STATE updates would be nice)
6. Support progress updates in RUNNING state (esp. useful for loing running 
queries). This will make sense only when progress number is accurate.



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


Re: [DISCUSS] Release Plan for 2.6

2016-07-22 Thread Puneet Gupta
Will start the merge once LENS-128, LENS-1168, LENS-996, LENS-1202,
LENS-1217  are in .

Thanks,
Puneet Gupta
On Wed, Jul 20, 2016 at 11:00 AM, Puneet Gupta 
wrote:

> Hi
>
> Waiting for a few important fixes to go in . Will merge master into
> release branch post that ( targeting 22 July)
>
> Thanks,
> Puneet Gupta
> On Thu, Jul 7, 2016 at 5:56 PM, amareshwarisr . 
> wrote:
>
>> +1
>>
>> Release plan looks great!
>>
>> On Sat, Jul 2, 2016 at 9:35 AM, Puneet Gupta 
>> wrote:
>>
>> > We have some significant improvements and features added after 2.5
>> > release, mainly :
>> >
>> > - Hive 2 support and move Hive dependency to Apache Hive
>> > - Lens Regression module added
>> > - Work on Lens Scheduler is 70% complete.
>> > - Limit number of open sessions per user on session service
>> > - Enable streaming results for queries
>> > - cube-segmentation specification added
>> > - Python client support
>> > - Exponential back off for hive queries
>> > - Client result set iterable api added
>> > - Lens UI enhancements
>> > - Query Priority  persisted in Lens DB
>> > - Option to kill queries that exceed timeout added
>> > - Convert dimension filter to fact filters for performance improvement
>> > - Return same handle for repeated query from same user
>> > - Post select option added to DriverQueryHook
>> > - Skip partition registration for very old and future dates for a fact
>> > tables
>> > - Weighted Driver selector added.
>> > - Cube keyword made optional in queries
>> > - Session close will not result in queued query failures
>> >
>> > and bug fixes.
>> >
>> > I'm volunteering to manage the release. Calling out for a release
>> > preparation for 2.6 here.
>> > *Unassigned open items on 2.6 are ( A total of 13 issues)*
>> >
>> >
>> >
>> https://issues.apache.org/jira/issues/?jql=project%20%3D%20LENS%20AND%20fixVersion%20%3D%202.6%20AND%20resolution%20%3D%20Unresolved%20AND%20assignee%20is%20EMPTY
>> >
>> > Contributors are welcome to provide fix for those issues.
>> >
>> > *All the open issues (A total of 30 issues including above mentioned
>> > 13 unassigned issues)*
>> >
>> >
>> >
>> https://issues.apache.org/jira/issues/?jql=project%20%3D%20LENS%20AND%20resolution%20%3D%20Unresolved%20AND%20fixVersion%20%3D%202.6
>> >
>> > *Issues yet to verify (A total of 107 issues)*
>> >
>> >
>> >
>> https://issues.apache.org/jira/issues/?jql=project%20%3D%20LENS%20AND%20fixVersion%20%3D%202.6%20AND%20status%20%3D%20Resolved
>> >
>> > If any of you feel your changes should go into 2.6 and the jira is not
>> > marked with fix version, please do so.
>> >
>> > Putting down the plan for 2.6 release:
>> >- Will merge master into release branch after two weeks from now.
>> > We can resolve the open issues until then.
>> >(18/July/2016)
>> >- We will spend one-two weeks to fix blockers on the release branch
>> > if any and verify release candidate and roll release candidates until
>> > a release vote passes(29/July/2016)
>> >- Will roll release candidate on 3/Aug/2016
>> >
>> > Let me know your concerns/comments.
>> >
>>
>
>


[jira] [Updated] (LENS-1202) Add client side iterator for result in python client

2016-07-22 Thread Puneet Gupta (JIRA)

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

Puneet Gupta updated LENS-1202:
---
Fix Version/s: 2.6

> Add client side iterator for result in python client
> 
>
> Key: LENS-1202
> URL: https://issues.apache.org/jira/browse/LENS-1202
> Project: Apache Lens
>  Issue Type: New Feature
>Reporter: Rajat Khandelwal
>Assignee: Rajat Khandelwal
> Fix For: 2.6
>
> Attachments: LENS-1202.03.patch, LENS-1202.04.patch, 
> LENS-1202.05.patch, LENS-1202.06.patch
>
>




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


[jira] [Updated] (LENS-128) SchedulerServiceImpl for scheduler.

2016-07-22 Thread Puneet Gupta (JIRA)

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

Puneet Gupta updated LENS-128:
--
Fix Version/s: 2.6

> SchedulerServiceImpl for scheduler.
> ---
>
> Key: LENS-128
> URL: https://issues.apache.org/jira/browse/LENS-128
> Project: Apache Lens
>  Issue Type: Sub-task
>  Components: server
>Reporter: Prashant Gupta
>Assignee: Lavkesh Lahngir
> Fix For: 2.6
>
> Attachments: core-scheduler.patch, core-scheduler.patch
>
>
> Server APIs will include the support for operations as specified at LENS-124.



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


[jira] [Updated] (LENS-996) Improvements in filters of query list api

2016-07-22 Thread Puneet Gupta (JIRA)

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

Puneet Gupta updated LENS-996:
--
Fix Version/s: 2.6

> Improvements in filters of query list api
> -
>
> Key: LENS-996
> URL: https://issues.apache.org/jira/browse/LENS-996
> Project: Apache Lens
>  Issue Type: Improvement
>  Components: server
>Reporter: Rajat Khandelwal
>Assignee: Rajat Khandelwal
> Fix For: 2.6
>
> Attachments: LENS-996.04.patch, LENS-996.06.patch
>
>
> 1. fromDate and endDate should also take human readable dates. 
> DateUtil.resolveDate can be used. 
> 2. the status filter should be case-insensitive. 
> 3. (maybe) the user filter and status filter can take multiple comma 
> separated values and return the union in the result. 



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


Re: Review Request 49770: Core scheduler

2016-07-22 Thread Lavkesh Lahngir

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

(Updated July 22, 2016, 12:23 p.m.)


Review request for lens.


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


Repository: lens


Description
---

Implementaion of core scheduler:


Diffs (updated)
-

  
lens-api/src/main/java/org/apache/lens/api/error/InvalidStateTransitionException.java
 PRE-CREATION 
  lens-api/src/main/java/org/apache/lens/api/scheduler/SchedulerJobEvent.java 
PRE-CREATION 
  lens-api/src/main/java/org/apache/lens/api/scheduler/SchedulerJobInfo.java 
7d06689 
  
lens-api/src/main/java/org/apache/lens/api/scheduler/SchedulerJobInstanceEvent.java
 PRE-CREATION 
  
lens-api/src/main/java/org/apache/lens/api/scheduler/SchedulerJobInstanceInfo.java
 8158576 
  
lens-api/src/main/java/org/apache/lens/api/scheduler/SchedulerJobInstanceRun.java
 PRE-CREATION 
  
lens-api/src/main/java/org/apache/lens/api/scheduler/SchedulerJobInstanceState.java
 PRE-CREATION 
  
lens-api/src/main/java/org/apache/lens/api/scheduler/SchedulerJobInstanceStatus.java
 85e7e85 
  lens-api/src/main/java/org/apache/lens/api/scheduler/SchedulerJobState.java 
PRE-CREATION 
  lens-api/src/main/java/org/apache/lens/api/scheduler/SchedulerJobStatus.java 
aaf403c 
  lens-api/src/main/java/org/apache/lens/api/scheduler/StateTransitioner.java 
PRE-CREATION 
  lens-cube/src/main/java/org/apache/lens/cube/parse/TimerangeResolver.java 
33ec9d9 
  
lens-cube/src/test/java/org/apache/lens/cube/parse/FieldsCannotBeQueriedTogetherTest.java
 fe2dfb3 
  lens-cube/src/test/java/org/apache/lens/cube/parse/TestTimeRangeResolver.java 
c8a9ac6 
  
lens-server-api/src/main/java/org/apache/lens/server/api/LensConfConstants.java 
bd9b1ab 
  
lens-server-api/src/main/java/org/apache/lens/server/api/error/InvalidStateTransitionException.java
 5882151 
  
lens-server-api/src/main/java/org/apache/lens/server/api/events/SchedulerAlarmEvent.java
 3ca7eb9 
  
lens-server-api/src/main/java/org/apache/lens/server/api/scheduler/SchedulerService.java
 d0af876 
  
lens-server-api/src/main/java/org/apache/lens/server/api/scheduler/StateMachine.java
 ba6a0a2 
  lens-server/src/main/java/org/apache/lens/server/BaseLensService.java 74bc0be 
  lens-server/src/main/java/org/apache/lens/server/LensServices.java 7618669 
  
lens-server/src/main/java/org/apache/lens/server/metrics/MetricsServiceImpl.java
 1e8d540 
  lens-server/src/main/java/org/apache/lens/server/scheduler/AlarmService.java 
PRE-CREATION 
  
lens-server/src/main/java/org/apache/lens/server/scheduler/ScheduleResource.java
 39c4d98 
  lens-server/src/main/java/org/apache/lens/server/scheduler/SchedulerDAO.java 
bf99fde 
  
lens-server/src/main/java/org/apache/lens/server/scheduler/SchedulerEventListener.java
 PRE-CREATION 
  
lens-server/src/main/java/org/apache/lens/server/scheduler/SchedulerQueryEventListener.java
 PRE-CREATION 
  
lens-server/src/main/java/org/apache/lens/server/scheduler/SchedulerServiceImpl.java
 3952671 
  
lens-server/src/main/java/org/apache/lens/server/scheduler/notification/services/AlarmService.java
 a4cdd83 
  
lens-server/src/main/java/org/apache/lens/server/scheduler/state/SchedulerJobInstanceState.java
 95057e4 
  
lens-server/src/main/java/org/apache/lens/server/scheduler/state/SchedulerJobState.java
 d21cd05 
  
lens-server/src/main/java/org/apache/lens/server/scheduler/util/UtilityMethods.java
 31783ad 
  lens-server/src/main/java/org/apache/lens/server/session/LensSessionImpl.java 
e77c7fa 
  lens-server/src/main/java/org/apache/lens/server/util/UtilityMethods.java 
63a7874 
  lens-server/src/main/resources/lensserver-default.xml 3ce8fc1 
  
lens-server/src/test/java/org/apache/lens/server/scheduler/AlarmServiceTest.java
 PRE-CREATION 
  
lens-server/src/test/java/org/apache/lens/server/scheduler/SchedulerDAOTest.java
 d76a586 
  
lens-server/src/test/java/org/apache/lens/server/scheduler/TestSchedulerServiceImpl.java
 PRE-CREATION 
  
lens-server/src/test/java/org/apache/lens/server/scheduler/notification/services/AlarmServiceTest.java
 06883ae 
  src/site/apt/admin/config.apt 852955b 

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


Testing
---


Thanks,

Lavkesh Lahngir



[jira] [Commented] (LENS-1198) Update hive dependency to apache hive 2.1.0

2016-07-22 Thread Hadoop QA (JIRA)

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

Hadoop QA commented on LENS-1198:
-

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

> Update hive dependency to apache hive 2.1.0
> ---
>
> Key: LENS-1198
> URL: https://issues.apache.org/jira/browse/LENS-1198
> Project: Apache Lens
>  Issue Type: Task
>  Components: build
>Reporter: Amareshwari Sriramadasu
>Assignee: Rajat Khandelwal
>Priority: Critical
> Fix For: 2.6
>
> Attachments: LENS-1198.01.patch, LENS-1198.03.patch, 
> LENS-1198.2016-07-19_16:40:13.patch
>
>
> Now that hive 2.1.0 release is available - 
> http://mail-archives.apache.org/mod_mbox/hive-dev/201606.mbox/%3C7194557D-CB5E-45B7-B905-82F27B7CB33F%40apache.org%3E.
> We should change the dependency to apache hive 2.1.0 and remove 
> github.com/Inmobi/mvn-repo from repositories to look up.
> Also update documentation - install and run doc,  build from source doc to 
> use apache hive everywhere.



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


[jira] [Commented] (LENS-1168) Isolate submissions for each driver

2016-07-22 Thread Hadoop QA (JIRA)

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

Hadoop QA commented on LENS-1168:
-

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

> Isolate submissions for each driver
> ---
>
> Key: LENS-1168
> URL: https://issues.apache.org/jira/browse/LENS-1168
> Project: Apache Lens
>  Issue Type: Improvement
>  Components: server
>Reporter: Amareshwari Sriramadasu
>Assignee: Amareshwari Sriramadasu
> Fix For: 2.6
>
> Attachments: LENS-1168.4.patch, LENS-1168.5.patch
>
>
> We need to isolate query submitters for each driver to be different. We have 
> seen scenarios where hive submission takes time and other interactive queries 
> on jdbc are queued because querysubmitter was busy. 
> Also, each driver can have a pool of submitters - which should benefit 
> interactive queries with immediate submissions, especially the ones submitted 
> on EXECUTE_WITH_TIMEOUT



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


[jira] [Updated] (LENS-128) SchedulerServiceImpl for scheduler.

2016-07-22 Thread Lavkesh Lahngir (JIRA)

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

Lavkesh Lahngir updated LENS-128:
-
Attachment: core-scheduler.patch

> SchedulerServiceImpl for scheduler.
> ---
>
> Key: LENS-128
> URL: https://issues.apache.org/jira/browse/LENS-128
> Project: Apache Lens
>  Issue Type: Sub-task
>  Components: server
>Reporter: Prashant Gupta
>Assignee: Lavkesh Lahngir
> Attachments: core-scheduler.patch, core-scheduler.patch
>
>
> Server APIs will include the support for operations as specified at LENS-124.



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


[jira] [Commented] (LENS-1198) Update hive dependency to apache hive 2.1.0

2016-07-22 Thread Hadoop QA (JIRA)

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

Hadoop QA commented on LENS-1198:
-

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

> Update hive dependency to apache hive 2.1.0
> ---
>
> Key: LENS-1198
> URL: https://issues.apache.org/jira/browse/LENS-1198
> Project: Apache Lens
>  Issue Type: Task
>  Components: build
>Reporter: Amareshwari Sriramadasu
>Assignee: Rajat Khandelwal
>Priority: Critical
> Fix For: 2.6
>
> Attachments: LENS-1198.01.patch, LENS-1198.03.patch, 
> LENS-1198.2016-07-19_16:40:13.patch
>
>
> Now that hive 2.1.0 release is available - 
> http://mail-archives.apache.org/mod_mbox/hive-dev/201606.mbox/%3C7194557D-CB5E-45B7-B905-82F27B7CB33F%40apache.org%3E.
> We should change the dependency to apache hive 2.1.0 and remove 
> github.com/Inmobi/mvn-repo from repositories to look up.
> Also update documentation - install and run doc,  build from source doc to 
> use apache hive everywhere.



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


[jira] [Commented] (LENS-1168) Isolate submissions for each driver

2016-07-22 Thread Hadoop QA (JIRA)

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

Hadoop QA commented on LENS-1168:
-

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

> Isolate submissions for each driver
> ---
>
> Key: LENS-1168
> URL: https://issues.apache.org/jira/browse/LENS-1168
> Project: Apache Lens
>  Issue Type: Improvement
>  Components: server
>Reporter: Amareshwari Sriramadasu
>Assignee: Amareshwari Sriramadasu
> Fix For: 2.6
>
> Attachments: LENS-1168.4.patch, LENS-1168.5.patch
>
>
> We need to isolate query submitters for each driver to be different. We have 
> seen scenarios where hive submission takes time and other interactive queries 
> on jdbc are queued because querysubmitter was busy. 
> Also, each driver can have a pool of submitters - which should benefit 
> interactive queries with immediate submissions, especially the ones submitted 
> on EXECUTE_WITH_TIMEOUT



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


[jira] [Updated] (LENS-128) SchedulerServiceImpl for scheduler.

2016-07-22 Thread Hadoop QA (JIRA)

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

Hadoop QA updated LENS-128:
---
Status: Open  (was: Patch Available)

> SchedulerServiceImpl for scheduler.
> ---
>
> Key: LENS-128
> URL: https://issues.apache.org/jira/browse/LENS-128
> Project: Apache Lens
>  Issue Type: Sub-task
>  Components: server
>Reporter: Prashant Gupta
>Assignee: Lavkesh Lahngir
> Attachments: core-scheduler.patch
>
>
> Server APIs will include the support for operations as specified at LENS-124.



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


[jira] [Updated] (LENS-128) SchedulerServiceImpl for scheduler.

2016-07-22 Thread Lavkesh Lahngir (JIRA)

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

Lavkesh Lahngir updated LENS-128:
-
Status: Patch Available  (was: In Progress)

> SchedulerServiceImpl for scheduler.
> ---
>
> Key: LENS-128
> URL: https://issues.apache.org/jira/browse/LENS-128
> Project: Apache Lens
>  Issue Type: Sub-task
>  Components: server
>Reporter: Prashant Gupta
>Assignee: Lavkesh Lahngir
> Attachments: core-scheduler.patch
>
>
> Server APIs will include the support for operations as specified at LENS-124.



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


[jira] [Updated] (LENS-128) SchedulerServiceImpl for scheduler.

2016-07-22 Thread Lavkesh Lahngir (JIRA)

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

Lavkesh Lahngir updated LENS-128:
-
Attachment: core-scheduler.patch

> SchedulerServiceImpl for scheduler.
> ---
>
> Key: LENS-128
> URL: https://issues.apache.org/jira/browse/LENS-128
> Project: Apache Lens
>  Issue Type: Sub-task
>  Components: server
>Reporter: Prashant Gupta
>Assignee: Lavkesh Lahngir
> Attachments: core-scheduler.patch
>
>
> Server APIs will include the support for operations as specified at LENS-124.



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


[jira] [Updated] (LENS-1198) Update hive dependency to apache hive 2.1.0

2016-07-22 Thread Rajat Khandelwal (JIRA)

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

Rajat Khandelwal updated LENS-1198:
---
Attachment: LENS-1198.03.patch

> Update hive dependency to apache hive 2.1.0
> ---
>
> Key: LENS-1198
> URL: https://issues.apache.org/jira/browse/LENS-1198
> Project: Apache Lens
>  Issue Type: Task
>  Components: build
>Reporter: Amareshwari Sriramadasu
>Assignee: Rajat Khandelwal
>Priority: Critical
> Fix For: 2.6
>
> Attachments: LENS-1198.01.patch, LENS-1198.03.patch, 
> LENS-1198.2016-07-19_16:40:13.patch
>
>
> Now that hive 2.1.0 release is available - 
> http://mail-archives.apache.org/mod_mbox/hive-dev/201606.mbox/%3C7194557D-CB5E-45B7-B905-82F27B7CB33F%40apache.org%3E.
> We should change the dependency to apache hive 2.1.0 and remove 
> github.com/Inmobi/mvn-repo from repositories to look up.
> Also update documentation - install and run doc,  build from source doc to 
> use apache hive everywhere.



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


[jira] [Commented] (LENS-1198) Update hive dependency to apache hive 2.1.0

2016-07-22 Thread Rajat Khandelwal (JIRA)

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

Rajat Khandelwal commented on LENS-1198:


Taking patch from reviewboard and attaching

> Update hive dependency to apache hive 2.1.0
> ---
>
> Key: LENS-1198
> URL: https://issues.apache.org/jira/browse/LENS-1198
> Project: Apache Lens
>  Issue Type: Task
>  Components: build
>Reporter: Amareshwari Sriramadasu
>Assignee: Rajat Khandelwal
>Priority: Critical
> Fix For: 2.6
>
> Attachments: LENS-1198.01.patch, LENS-1198.03.patch, 
> LENS-1198.2016-07-19_16:40:13.patch
>
>
> Now that hive 2.1.0 release is available - 
> http://mail-archives.apache.org/mod_mbox/hive-dev/201606.mbox/%3C7194557D-CB5E-45B7-B905-82F27B7CB33F%40apache.org%3E.
> We should change the dependency to apache hive 2.1.0 and remove 
> github.com/Inmobi/mvn-repo from repositories to look up.
> Also update documentation - install and run doc,  build from source doc to 
> use apache hive everywhere.



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


[jira] [Commented] (LENS-1217) Remove old java ui server

2016-07-22 Thread Hadoop QA (JIRA)

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

Hadoop QA commented on LENS-1217:
-

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

> Remove old java ui server
> -
>
> Key: LENS-1217
> URL: https://issues.apache.org/jira/browse/LENS-1217
> Project: Apache Lens
>  Issue Type: Improvement
>  Components: docs, server
>Reporter: Rajat Khandelwal
>Assignee: Rajat Khandelwal
> Fix For: 2.6
>
> Attachments: LENS-1217.03.patch, LENS-1217.05.patch
>
>




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


Re: Review Request 50334: LENS-1198: Update hive dependency to apache hive 2.1.0

2016-07-22 Thread Rajat Khandelwal

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

(Updated July 22, 2016, 5:23 p.m.)


Review request for lens.


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


Repository: lens


Description
---

Now that hive 2.1.0 release is available - 
http://mail-archives.apache.org/mod_mbox/hive-dev/201606.mbox/%3C7194557D-CB5E-45B7-B905-82F27B7CB33F%40apache.org%3E.

We should change the dependency to apache hive 2.1.0 and remove 
github.com/Inmobi/mvn-repo from repositories to look up.

Also update documentation - install and run doc,  build from source doc to use 
apache hive everywhere.


Diffs (updated)
-

  bin-dist-files/README 84dcdf1a1a15e52a5fcf8d7d04acbb6f347b213f 
  pom.xml 176fb0e466cefedf990c1d1236a7d43a838d1259 
  src/site/apt/developer/contribute.apt 
8ea7a6d642438b3eaf55cdb715511f91cc6243b0 
  src/site/apt/lenshome/install-and-run.apt 
b9727c48a37e15a31aab9693b08f75ad12174ca7 

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


Testing
---


Thanks,

Rajat Khandelwal



Re: Review Request 50334: LENS-1198: Update hive dependency to apache hive 2.1.0

2016-07-22 Thread Rajat Khandelwal

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

(Updated July 22, 2016, 5:11 p.m.)


Review request for lens.


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


Repository: lens


Description
---

Now that hive 2.1.0 release is available - 
http://mail-archives.apache.org/mod_mbox/hive-dev/201606.mbox/%3C7194557D-CB5E-45B7-B905-82F27B7CB33F%40apache.org%3E.

We should change the dependency to apache hive 2.1.0 and remove 
github.com/Inmobi/mvn-repo from repositories to look up.

Also update documentation - install and run doc,  build from source doc to use 
apache hive everywhere.


Diffs (updated)
-

  pom.xml 176fb0e466cefedf990c1d1236a7d43a838d1259 
  src/site/apt/lenshome/install-and-run.apt 
b9727c48a37e15a31aab9693b08f75ad12174ca7 

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


Testing
---


Thanks,

Rajat Khandelwal



Re: Review Request 50334: LENS-1198: Update hive dependency to apache hive 2.1.0

2016-07-22 Thread Amareshwari Sriramadasu

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




pom.xml (line 48)


Remove inmobi repos from repositories section



src/site/apt/lenshome/install-and-run.apt (line 31)


Call it forked hive


- Amareshwari Sriramadasu


On July 22, 2016, 11:27 a.m., Rajat Khandelwal wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/50334/
> ---
> 
> (Updated July 22, 2016, 11:27 a.m.)
> 
> 
> Review request for lens.
> 
> 
> Bugs: LENS-1198
> https://issues.apache.org/jira/browse/LENS-1198
> 
> 
> Repository: lens
> 
> 
> Description
> ---
> 
> Now that hive 2.1.0 release is available - 
> http://mail-archives.apache.org/mod_mbox/hive-dev/201606.mbox/%3C7194557D-CB5E-45B7-B905-82F27B7CB33F%40apache.org%3E.
> 
> We should change the dependency to apache hive 2.1.0 and remove 
> github.com/Inmobi/mvn-repo from repositories to look up.
> 
> Also update documentation - install and run doc,  build from source doc to 
> use apache hive everywhere.
> 
> 
> Diffs
> -
> 
>   pom.xml 176fb0e466cefedf990c1d1236a7d43a838d1259 
>   src/site/apt/lenshome/install-and-run.apt 
> b9727c48a37e15a31aab9693b08f75ad12174ca7 
> 
> Diff: https://reviews.apache.org/r/50334/diff/
> 
> 
> Testing
> ---
> 
> 
> Thanks,
> 
> Rajat Khandelwal
> 
>



[jira] [Commented] (LENS-1198) Update hive dependency to apache hive 2.1.0

2016-07-22 Thread Rajat Khandelwal (JIRA)

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

Rajat Khandelwal commented on LENS-1198:


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

> Update hive dependency to apache hive 2.1.0
> ---
>
> Key: LENS-1198
> URL: https://issues.apache.org/jira/browse/LENS-1198
> Project: Apache Lens
>  Issue Type: Task
>  Components: build
>Reporter: Amareshwari Sriramadasu
>Assignee: Rajat Khandelwal
>Priority: Critical
> Fix For: 2.6
>
> Attachments: LENS-1198.01.patch, LENS-1198.2016-07-19_16:40:13.patch
>
>
> Now that hive 2.1.0 release is available - 
> http://mail-archives.apache.org/mod_mbox/hive-dev/201606.mbox/%3C7194557D-CB5E-45B7-B905-82F27B7CB33F%40apache.org%3E.
> We should change the dependency to apache hive 2.1.0 and remove 
> github.com/Inmobi/mvn-repo from repositories to look up.
> Also update documentation - install and run doc,  build from source doc to 
> use apache hive everywhere.



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


[jira] [Updated] (LENS-1198) Update hive dependency to apache hive 2.1.0

2016-07-22 Thread Rajat Khandelwal (JIRA)

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

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

> Update hive dependency to apache hive 2.1.0
> ---
>
> Key: LENS-1198
> URL: https://issues.apache.org/jira/browse/LENS-1198
> Project: Apache Lens
>  Issue Type: Task
>  Components: build
>Reporter: Amareshwari Sriramadasu
>Assignee: Rajat Khandelwal
>Priority: Critical
> Fix For: 2.6
>
> Attachments: LENS-1198.01.patch, LENS-1198.2016-07-19_16:40:13.patch
>
>
> Now that hive 2.1.0 release is available - 
> http://mail-archives.apache.org/mod_mbox/hive-dev/201606.mbox/%3C7194557D-CB5E-45B7-B905-82F27B7CB33F%40apache.org%3E.
> We should change the dependency to apache hive 2.1.0 and remove 
> github.com/Inmobi/mvn-repo from repositories to look up.
> Also update documentation - install and run doc,  build from source doc to 
> use apache hive everywhere.



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


[jira] [Commented] (LENS-1198) Update hive dependency to apache hive 2.1.0

2016-07-22 Thread Rajat Khandelwal (JIRA)

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

Rajat Khandelwal commented on LENS-1198:


Taking patch from reviewboard and attaching

> Update hive dependency to apache hive 2.1.0
> ---
>
> Key: LENS-1198
> URL: https://issues.apache.org/jira/browse/LENS-1198
> Project: Apache Lens
>  Issue Type: Task
>  Components: build
>Reporter: Amareshwari Sriramadasu
>Assignee: Rajat Khandelwal
>Priority: Critical
> Fix For: 2.6
>
> Attachments: LENS-1198.01.patch, LENS-1198.2016-07-19_16:40:13.patch
>
>
> Now that hive 2.1.0 release is available - 
> http://mail-archives.apache.org/mod_mbox/hive-dev/201606.mbox/%3C7194557D-CB5E-45B7-B905-82F27B7CB33F%40apache.org%3E.
> We should change the dependency to apache hive 2.1.0 and remove 
> github.com/Inmobi/mvn-repo from repositories to look up.
> Also update documentation - install and run doc,  build from source doc to 
> use apache hive everywhere.



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


[jira] [Commented] (LENS-996) Improvements in filters of query list api

2016-07-22 Thread Hadoop QA (JIRA)

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

Hadoop QA commented on LENS-996:


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

> Improvements in filters of query list api
> -
>
> Key: LENS-996
> URL: https://issues.apache.org/jira/browse/LENS-996
> Project: Apache Lens
>  Issue Type: Improvement
>  Components: server
>Reporter: Rajat Khandelwal
>Assignee: Rajat Khandelwal
> Attachments: LENS-996.04.patch, LENS-996.06.patch
>
>
> 1. fromDate and endDate should also take human readable dates. 
> DateUtil.resolveDate can be used. 
> 2. the status filter should be case-insensitive. 
> 3. (maybe) the user filter and status filter can take multiple comma 
> separated values and return the union in the result. 



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


[jira] [Updated] (LENS-1198) Update hive dependency to apache hive 2.1.0

2016-07-22 Thread Rajat Khandelwal (JIRA)

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

Rajat Khandelwal updated LENS-1198:
---
Attachment: LENS-1198.01.patch

> Update hive dependency to apache hive 2.1.0
> ---
>
> Key: LENS-1198
> URL: https://issues.apache.org/jira/browse/LENS-1198
> Project: Apache Lens
>  Issue Type: Task
>  Components: build
>Reporter: Amareshwari Sriramadasu
>Assignee: Rajat Khandelwal
>Priority: Critical
> Fix For: 2.6
>
> Attachments: LENS-1198.01.patch, LENS-1198.2016-07-19_16:40:13.patch
>
>
> Now that hive 2.1.0 release is available - 
> http://mail-archives.apache.org/mod_mbox/hive-dev/201606.mbox/%3C7194557D-CB5E-45B7-B905-82F27B7CB33F%40apache.org%3E.
> We should change the dependency to apache hive 2.1.0 and remove 
> github.com/Inmobi/mvn-repo from repositories to look up.
> Also update documentation - install and run doc,  build from source doc to 
> use apache hive everywhere.



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


[jira] [Work started] (LENS-1198) Update hive dependency to apache hive 2.1.0

2016-07-22 Thread Rajat Khandelwal (JIRA)

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

Work on LENS-1198 started by Rajat Khandelwal.
--
> Update hive dependency to apache hive 2.1.0
> ---
>
> Key: LENS-1198
> URL: https://issues.apache.org/jira/browse/LENS-1198
> Project: Apache Lens
>  Issue Type: Task
>  Components: build
>Reporter: Amareshwari Sriramadasu
>Assignee: Rajat Khandelwal
>Priority: Critical
> Fix For: 2.6
>
> Attachments: LENS-1198.01.patch, LENS-1198.2016-07-19_16:40:13.patch
>
>
> Now that hive 2.1.0 release is available - 
> http://mail-archives.apache.org/mod_mbox/hive-dev/201606.mbox/%3C7194557D-CB5E-45B7-B905-82F27B7CB33F%40apache.org%3E.
> We should change the dependency to apache hive 2.1.0 and remove 
> github.com/Inmobi/mvn-repo from repositories to look up.
> Also update documentation - install and run doc,  build from source doc to 
> use apache hive everywhere.



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


Review Request 50334: LENS-1198: Update hive dependency to apache hive 2.1.0

2016-07-22 Thread Rajat Khandelwal

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

Review request for lens.


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


Repository: lens


Description
---

Now that hive 2.1.0 release is available - 
http://mail-archives.apache.org/mod_mbox/hive-dev/201606.mbox/%3C7194557D-CB5E-45B7-B905-82F27B7CB33F%40apache.org%3E.

We should change the dependency to apache hive 2.1.0 and remove 
github.com/Inmobi/mvn-repo from repositories to look up.

Also update documentation - install and run doc,  build from source doc to use 
apache hive everywhere.


Diffs
-

  pom.xml 176fb0e466cefedf990c1d1236a7d43a838d1259 
  src/site/apt/lenshome/install-and-run.apt 
b9727c48a37e15a31aab9693b08f75ad12174ca7 

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


Testing
---


Thanks,

Rajat Khandelwal



[jira] [Commented] (LENS-1168) Isolate submissions for each driver

2016-07-22 Thread Hadoop QA (JIRA)

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

Hadoop QA commented on LENS-1168:
-

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

> Isolate submissions for each driver
> ---
>
> Key: LENS-1168
> URL: https://issues.apache.org/jira/browse/LENS-1168
> Project: Apache Lens
>  Issue Type: Improvement
>  Components: server
>Reporter: Amareshwari Sriramadasu
>Assignee: Amareshwari Sriramadasu
> Fix For: 2.6
>
> Attachments: LENS-1168.4.patch, LENS-1168.5.patch
>
>
> We need to isolate query submitters for each driver to be different. We have 
> seen scenarios where hive submission takes time and other interactive queries 
> on jdbc are queued because querysubmitter was busy. 
> Also, each driver can have a pool of submitters - which should benefit 
> interactive queries with immediate submissions, especially the ones submitted 
> on EXECUTE_WITH_TIMEOUT



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


[jira] [Updated] (LENS-1217) Remove old java ui server

2016-07-22 Thread Rajat Khandelwal (JIRA)

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

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

> Remove old java ui server
> -
>
> Key: LENS-1217
> URL: https://issues.apache.org/jira/browse/LENS-1217
> Project: Apache Lens
>  Issue Type: Improvement
>  Components: docs, server
>Reporter: Rajat Khandelwal
>Assignee: Rajat Khandelwal
> Fix For: 2.6
>
> Attachments: LENS-1217.03.patch, LENS-1217.05.patch
>
>




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


[jira] [Commented] (LENS-1217) Remove old java ui server

2016-07-22 Thread Rajat Khandelwal (JIRA)

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

Rajat Khandelwal commented on LENS-1217:


Taking patch from reviewboard and attaching

> Remove old java ui server
> -
>
> Key: LENS-1217
> URL: https://issues.apache.org/jira/browse/LENS-1217
> Project: Apache Lens
>  Issue Type: Improvement
>  Components: docs, server
>Reporter: Rajat Khandelwal
>Assignee: Rajat Khandelwal
> Fix For: 2.6
>
> Attachments: LENS-1217.03.patch, LENS-1217.05.patch
>
>




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


[jira] [Updated] (LENS-1217) Remove old java ui server

2016-07-22 Thread Rajat Khandelwal (JIRA)

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

Rajat Khandelwal updated LENS-1217:
---
Attachment: LENS-1217.05.patch

> Remove old java ui server
> -
>
> Key: LENS-1217
> URL: https://issues.apache.org/jira/browse/LENS-1217
> Project: Apache Lens
>  Issue Type: Improvement
>  Components: docs, server
>Reporter: Rajat Khandelwal
>Assignee: Rajat Khandelwal
> Fix For: 2.6
>
> Attachments: LENS-1217.03.patch, LENS-1217.05.patch
>
>




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


Re: Review Request 50131: LENS-1217: Remove old java ui server

2016-07-22 Thread Rajat Khandelwal

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

(Updated July 22, 2016, 4:22 p.m.)


Review request for lens.


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


Repository: lens


Description
---


Diffs (updated)
-

  
lens-server-api/src/main/java/org/apache/lens/server/api/LensConfConstants.java 
bd9b1ab020b69d7f8b5b2f8ef5675995ef3b36f3 
  lens-server/src/main/java/org/apache/lens/server/LensServer.java 
b6983f4c78a9a48c2503560b529663622a3efc36 
  lens-server/src/main/java/org/apache/lens/server/LensServices.java 
7618669d75a6aca25c8fdf9af1268758dbe7de38 
  lens-server/src/main/java/org/apache/lens/server/ui/MetastoreUIResource.java 
27388a7503508b26bdecf5266c98e4cbcc7a94a8 
  
lens-server/src/main/java/org/apache/lens/server/ui/QueryServiceUIResource.java 
304dc8efad8bd27c88b58b6ca319dfedcd4ac239 
  lens-server/src/main/java/org/apache/lens/server/ui/SessionUIResource.java 
37bf094347955c5a211299d4367a20bb38dfbc08 
  lens-server/src/main/java/org/apache/lens/server/ui/StaticFileResource.java 
7e0758975cc4d991c24a1df963095d38189f5622 
  lens-server/src/main/java/org/apache/lens/server/ui/UIApp.java 
de4ce333082fb80cd0dd7cf64848ddc415336a9e 
  lens-server/src/main/resources/lensserver-default.xml 
3ce8fc1f12b279745d083b8249e942bb7dd6653a 
  lens-server/src/test/java/org/apache/lens/server/TestLensServer.java 
eb27f61f5f7e09993e5fd9a27695f07683fa7dff 
  lens-server/src/test/java/org/apache/lens/server/TestStaticFileResource.java 
f8c5bf28457074072d70fdb742b0300380f0679c 
  
lens-server/src/test/java/org/apache/lens/server/ui/TestSessionUIResource.java 
aa2874779d4d9e469f124aa9646a02742e2c4960 

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


Testing
---


Thanks,

Rajat Khandelwal



[jira] [Work started] (LENS-1217) Remove old java ui server

2016-07-22 Thread Rajat Khandelwal (JIRA)

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

Work on LENS-1217 started by Rajat Khandelwal.
--
> Remove old java ui server
> -
>
> Key: LENS-1217
> URL: https://issues.apache.org/jira/browse/LENS-1217
> Project: Apache Lens
>  Issue Type: Improvement
>  Components: docs, server
>Reporter: Rajat Khandelwal
>Assignee: Rajat Khandelwal
> Fix For: 2.6
>
> Attachments: LENS-1217.03.patch
>
>




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


Re: Review Request 50131: LENS-1217: Remove old java ui server

2016-07-22 Thread Rajat Khandelwal

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

(Updated July 22, 2016, 4:21 p.m.)


Review request for lens.


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


Repository: lens


Description
---


Diffs (updated)
-

  
lens-server-api/src/main/java/org/apache/lens/server/api/LensConfConstants.java 
bd9b1ab020b69d7f8b5b2f8ef5675995ef3b36f3 
  lens-server/src/main/java/org/apache/lens/server/LensServer.java 
b6983f4c78a9a48c2503560b529663622a3efc36 
  lens-server/src/main/java/org/apache/lens/server/LensServices.java 
7618669d75a6aca25c8fdf9af1268758dbe7de38 
  lens-server/src/main/java/org/apache/lens/server/ui/MetastoreUIResource.java 
27388a7503508b26bdecf5266c98e4cbcc7a94a8 
  
lens-server/src/main/java/org/apache/lens/server/ui/QueryServiceUIResource.java 
304dc8efad8bd27c88b58b6ca319dfedcd4ac239 
  lens-server/src/main/java/org/apache/lens/server/ui/SessionUIResource.java 
37bf094347955c5a211299d4367a20bb38dfbc08 
  lens-server/src/main/java/org/apache/lens/server/ui/StaticFileResource.java 
7e0758975cc4d991c24a1df963095d38189f5622 
  lens-server/src/main/java/org/apache/lens/server/ui/UIApp.java 
de4ce333082fb80cd0dd7cf64848ddc415336a9e 
  lens-server/src/main/resources/lensserver-default.xml 
3ce8fc1f12b279745d083b8249e942bb7dd6653a 
  lens-server/src/test/java/org/apache/lens/server/TestLensServer.java 
eb27f61f5f7e09993e5fd9a27695f07683fa7dff 
  lens-server/src/test/java/org/apache/lens/server/TestStaticFileResource.java 
f8c5bf28457074072d70fdb742b0300380f0679c 
  
lens-server/src/test/java/org/apache/lens/server/ui/TestSessionUIResource.java 
aa2874779d4d9e469f124aa9646a02742e2c4960 

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


Testing
---


Thanks,

Rajat Khandelwal



[jira] [Updated] (LENS-996) Improvements in filters of query list api

2016-07-22 Thread Rajat Khandelwal (JIRA)

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

Rajat Khandelwal updated LENS-996:
--
Attachment: LENS-996.06.patch

> Improvements in filters of query list api
> -
>
> Key: LENS-996
> URL: https://issues.apache.org/jira/browse/LENS-996
> Project: Apache Lens
>  Issue Type: Improvement
>  Components: server
>Reporter: Rajat Khandelwal
>Assignee: Rajat Khandelwal
> Attachments: LENS-996.04.patch, LENS-996.06.patch
>
>
> 1. fromDate and endDate should also take human readable dates. 
> DateUtil.resolveDate can be used. 
> 2. the status filter should be case-insensitive. 
> 3. (maybe) the user filter and status filter can take multiple comma 
> separated values and return the union in the result. 



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


[jira] [Commented] (LENS-996) Improvements in filters of query list api

2016-07-22 Thread Rajat Khandelwal (JIRA)

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

Rajat Khandelwal commented on LENS-996:
---

Taking patch from reviewboard and attaching

> Improvements in filters of query list api
> -
>
> Key: LENS-996
> URL: https://issues.apache.org/jira/browse/LENS-996
> Project: Apache Lens
>  Issue Type: Improvement
>  Components: server
>Reporter: Rajat Khandelwal
>Assignee: Rajat Khandelwal
> Attachments: LENS-996.04.patch, LENS-996.06.patch
>
>
> 1. fromDate and endDate should also take human readable dates. 
> DateUtil.resolveDate can be used. 
> 2. the status filter should be case-insensitive. 
> 3. (maybe) the user filter and status filter can take multiple comma 
> separated values and return the union in the result. 



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


[jira] [Updated] (LENS-1190) Support Query End Notifictaion to a HTTP end point.

2016-07-22 Thread Amareshwari Sriramadasu (JIRA)

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

Amareshwari Sriramadasu updated LENS-1190:
--
Component/s: server
 Issue Type: New Feature  (was: Bug)

> Support Query End Notifictaion to a HTTP end point.
> ---
>
> Key: LENS-1190
> URL: https://issues.apache.org/jira/browse/LENS-1190
> Project: Apache Lens
>  Issue Type: New Feature
>  Components: server
>Reporter: Puneet Gupta
>Assignee: Puneet Gupta
>
> As of now query end notification is supported via email. 
> On similar lines we can also notify a HTTP end point and the app submitting 
> queries on Lens Server can take appropriate action when such a end 
> notification is received by it.



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


Re: Review Request 50133: LENS-996: Improvements in filters of query list api

2016-07-22 Thread Rajat Khandelwal

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

(Updated July 22, 2016, 4:19 p.m.)


Review request for lens.


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


Repository: lens


Description
---

1. fromDate and endDate should also take human readable dates. 
DateUtil.resolveDate can be used. 
2. the status filter should be case-insensitive. 
3. (maybe) the user filter and status filter can take multiple comma separated 
values and return the union in the result.


Diffs (updated)
-

  lens-cli/src/main/java/org/apache/lens/cli/commands/LensQueryCommands.java 
af05951393e5e433fd644f20a9c23f7ba3507947 
  lens-cli/src/test/java/org/apache/lens/cli/TestLensQueryCommands.java 
0bf2a6687537b36b7987be27ad7be80d1b289f13 
  lens-client/src/main/java/org/apache/lens/client/LensClient.java 
d3ec97d6e8ac506952d1aa5e29ad0fb2c8f8f917 
  lens-client/src/main/java/org/apache/lens/client/LensStatement.java 
3cae7175229503bb90abadb7a3048b353b82e36d 
  lens-cube/src/main/java/org/apache/lens/cube/metadata/DateUtil.java 
b82cd95b5633b91e03cf1df8ac2602cb7798099a 
  lens-cube/src/test/java/org/apache/lens/cube/metadata/TestDateUtil.java 
7e239f33dccd237c9bee3732931309bb8ea62753 
  
lens-server-api/src/main/java/org/apache/lens/server/api/query/QueryExecutionService.java
 d10ad099b7220545802a3fcc7fd6e32a1c5b272a 
  lens-server/src/main/java/org/apache/lens/server/query/LensServerDAO.java 
1d6125c4eebb99ab3d2e392de69768deaf3b8e44 
  
lens-server/src/main/java/org/apache/lens/server/query/QueryExecutionServiceImpl.java
 be0e2c80a6c0081537feaea330192dc85949ad05 
  
lens-server/src/main/java/org/apache/lens/server/query/QueryServiceResource.java
 803bbe3db982dc74ba2a1bdba94fc68879dcd351 
  
lens-server/src/main/java/org/apache/lens/server/ui/QueryServiceUIResource.java 
304dc8efad8bd27c88b58b6ca319dfedcd4ac239 
  lens-server/src/main/java/org/apache/lens/server/util/UtilityMethods.java 
63a7874c1ac6be1e7d03b9f7456d1276f75786f3 
  lens-server/src/test/java/org/apache/lens/server/query/TestLensDAO.java 
7679a068161f2d072b1f6e96d0e96109e3bd6bc9 
  lens-server/src/test/java/org/apache/lens/server/query/TestQueryService.java 
6af4225b6d5e8b24d8e2138a74a755034df254c6 

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


Testing
---


Thanks,

Rajat Khandelwal



[jira] [Resolved] (LENS-1009) Queries with large sql are not getting purged

2016-07-22 Thread Amareshwari Sriramadasu (JIRA)

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

Amareshwari Sriramadasu resolved LENS-1009.
---
Resolution: Workaround

Solution is to change the type of query column to text in underling DB.

> Queries with large sql are not getting purged
> -
>
> Key: LENS-1009
> URL: https://issues.apache.org/jira/browse/LENS-1009
> Project: Apache Lens
>  Issue Type: Bug
>  Components: server
>Reporter: Rajat Khandelwal
>
> Lens creates finished_queries table with column userquery as varchar(1). 
> If a query is larger than that, while purging it throws an exception 
> regarding data truncation. After that, there are retries for purging and it 
> keeps on retrying.  After some time the logs get cluttered since purge 
> failure logs are everywhere. 



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


[jira] [Updated] (LENS-1189) Support auto timeout for asynchronous query execution API

2016-07-22 Thread Amareshwari Sriramadasu (JIRA)

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

Amareshwari Sriramadasu updated LENS-1189:
--
Component/s: server
 Issue Type: New Feature  (was: Bug)

> Support auto timeout for asynchronous query execution API
> -
>
> Key: LENS-1189
> URL: https://issues.apache.org/jira/browse/LENS-1189
> Project: Apache Lens
>  Issue Type: New Feature
>  Components: server
>Reporter: Puneet Gupta
>Assignee: Puneet Gupta
>
> As of now we have an option to timeout queries submitted via 
> Execute_With_Timeout option LENS-1032. We should have a similar option for 
> async queries too.
> If a user is  not interested in query result if it shows up after say 2 
> hours, such queries can be cancelled. 
> This in a way can also support LENS-968 by having a server level default , 
> but we can discuss if both need to be different. LENS-968 can be server level 
> config and can be either disabled/enabled. The current JIRA discusses query 
> level parameter that will be controlled by the user.



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


[jira] [Created] (LENS-1226) Add ability to analyze sessions

2016-07-22 Thread Amareshwari Sriramadasu (JIRA)
Amareshwari Sriramadasu created LENS-1226:
-

 Summary: Add ability to analyze sessions
 Key: LENS-1226
 URL: https://issues.apache.org/jira/browse/LENS-1226
 Project: Apache Lens
  Issue Type: Improvement
  Components: server
Reporter: Amareshwari Sriramadasu
Assignee: Lavkesh Lahngir
 Fix For: 2.7


We should be able to analyse all active sessions. 
We should have ability to look at the following information :

- Who are the users holding active sessions
- When was the last time the session is accessed
- How many pending queries are there in session and etc.

and more.




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


[jira] [Created] (LENS-1225) Metastore requests should show more information on APIResult

2016-07-22 Thread Amareshwari Sriramadasu (JIRA)
Amareshwari Sriramadasu created LENS-1225:
-

 Summary: Metastore requests should show more information on 
APIResult
 Key: LENS-1225
 URL: https://issues.apache.org/jira/browse/LENS-1225
 Project: Apache Lens
  Issue Type: Improvement
  Components: client, server
Reporter: Amareshwari Sriramadasu
 Fix For: 2.7


Metastore requests give only SUCCESS as the response upon creation or update of 
metastore entities. It should also give entity name and operation 
(create/update) performed in APIResult back.

This will be useful when a batch of requests are completed, and which are 
entities succeeded and which are failed.



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


Re: Review Request 49770: Core scheduler

2016-07-22 Thread Amareshwari Sriramadasu


> On July 22, 2016, 3:53 a.m., Amareshwari Sriramadasu wrote:
> > lens-server/src/main/resources/lensserver-default.xml, line 876
> > 
> >
> > why are we setting default value to 0 ?
> 
> Lavkesh Lahngir wrote:
> There are no specific reasons. If the value is set to zero then take 
> current time as 'now'.

Sure, lets update the doc with the same and upload.


- Amareshwari


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


On July 21, 2016, 10:10 a.m., Lavkesh Lahngir wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/49770/
> ---
> 
> (Updated July 21, 2016, 10:10 a.m.)
> 
> 
> Review request for lens.
> 
> 
> Bugs: LENS-128
> https://issues.apache.org/jira/browse/LENS-128
> 
> 
> Repository: lens
> 
> 
> Description
> ---
> 
> Implementaion of core scheduler:
> 
> 
> Diffs
> -
> 
>   lens-api/src/main/java/org/apache/lens/api/scheduler/SchedulerJobInfo.java 
> 7d06689 
>   
> lens-api/src/main/java/org/apache/lens/api/scheduler/SchedulerJobInstanceInfo.java
>  8158576 
>   
> lens-api/src/main/java/org/apache/lens/api/scheduler/SchedulerJobInstanceRun.java
>  PRE-CREATION 
>   lens-cube/src/main/java/org/apache/lens/cube/parse/TimerangeResolver.java 
> 33ec9d9 
>   
> lens-cube/src/test/java/org/apache/lens/cube/parse/FieldsCannotBeQueriedTogetherTest.java
>  fe2dfb3 
>   
> lens-cube/src/test/java/org/apache/lens/cube/parse/TestTimeRangeResolver.java 
> c8a9ac6 
>   
> lens-server-api/src/main/java/org/apache/lens/server/api/LensConfConstants.java
>  bd9b1ab 
>   
> lens-server-api/src/main/java/org/apache/lens/server/api/events/SchedulerAlarmEvent.java
>  3ca7eb9 
>   
> lens-server-api/src/main/java/org/apache/lens/server/api/scheduler/SchedulerJobInstanceState.java
>  PRE-CREATION 
>   
> lens-server-api/src/main/java/org/apache/lens/server/api/scheduler/SchedulerJobState.java
>  PRE-CREATION 
>   
> lens-server-api/src/main/java/org/apache/lens/server/api/scheduler/SchedulerService.java
>  d0af876 
>   lens-server/src/main/java/org/apache/lens/server/BaseLensService.java 
> 74bc0be 
>   lens-server/src/main/java/org/apache/lens/server/LensServices.java 7618669 
>   
> lens-server/src/main/java/org/apache/lens/server/metrics/MetricsServiceImpl.java
>  1e8d540 
>   
> lens-server/src/main/java/org/apache/lens/server/scheduler/AlarmService.java 
> PRE-CREATION 
>   
> lens-server/src/main/java/org/apache/lens/server/scheduler/ScheduleResource.java
>  39c4d98 
>   
> lens-server/src/main/java/org/apache/lens/server/scheduler/SchedulerDAO.java 
> bf99fde 
>   
> lens-server/src/main/java/org/apache/lens/server/scheduler/SchedulerEventListener.java
>  PRE-CREATION 
>   
> lens-server/src/main/java/org/apache/lens/server/scheduler/SchedulerQueryEventListener.java
>  PRE-CREATION 
>   
> lens-server/src/main/java/org/apache/lens/server/scheduler/SchedulerServiceImpl.java
>  3952671 
>   
> lens-server/src/main/java/org/apache/lens/server/scheduler/notification/services/AlarmService.java
>  a4cdd83 
>   
> lens-server/src/main/java/org/apache/lens/server/scheduler/state/SchedulerJobInstanceState.java
>  95057e4 
>   
> lens-server/src/main/java/org/apache/lens/server/scheduler/state/SchedulerJobState.java
>  d21cd05 
>   
> lens-server/src/main/java/org/apache/lens/server/scheduler/util/UtilityMethods.java
>  31783ad 
>   
> lens-server/src/main/java/org/apache/lens/server/session/LensSessionImpl.java 
> e77c7fa 
>   lens-server/src/main/java/org/apache/lens/server/util/UtilityMethods.java 
> 63a7874 
>   lens-server/src/main/resources/lensserver-default.xml 6dc322e 
>   
> lens-server/src/test/java/org/apache/lens/server/scheduler/AlarmServiceTest.java
>  PRE-CREATION 
>   
> lens-server/src/test/java/org/apache/lens/server/scheduler/SchedulerDAOTest.java
>  d76a586 
>   
> lens-server/src/test/java/org/apache/lens/server/scheduler/TestSchedulerServiceImpl.java
>  PRE-CREATION 
>   
> lens-server/src/test/java/org/apache/lens/server/scheduler/notification/services/AlarmServiceTest.java
>  06883ae 
>   src/site/apt/admin/config.apt 5b76069 
> 
> Diff: https://reviews.apache.org/r/49770/diff/
> 
> 
> Testing
> ---
> 
> 
> Thanks,
> 
> Lavkesh Lahngir
> 
>



Re: Review Request 49770: Core scheduler

2016-07-22 Thread Lavkesh Lahngir


> On July 22, 2016, 3:53 a.m., Amareshwari Sriramadasu wrote:
> > lens-server/src/main/resources/lensserver-default.xml, line 876
> > 
> >
> > why are we setting default value to 0 ?

There are no specific reasons. If the value is set to zero then take current 
time as 'now'.


- Lavkesh


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


On July 21, 2016, 10:10 a.m., Lavkesh Lahngir wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/49770/
> ---
> 
> (Updated July 21, 2016, 10:10 a.m.)
> 
> 
> Review request for lens.
> 
> 
> Bugs: LENS-128
> https://issues.apache.org/jira/browse/LENS-128
> 
> 
> Repository: lens
> 
> 
> Description
> ---
> 
> Implementaion of core scheduler:
> 
> 
> Diffs
> -
> 
>   lens-api/src/main/java/org/apache/lens/api/scheduler/SchedulerJobInfo.java 
> 7d06689 
>   
> lens-api/src/main/java/org/apache/lens/api/scheduler/SchedulerJobInstanceInfo.java
>  8158576 
>   
> lens-api/src/main/java/org/apache/lens/api/scheduler/SchedulerJobInstanceRun.java
>  PRE-CREATION 
>   lens-cube/src/main/java/org/apache/lens/cube/parse/TimerangeResolver.java 
> 33ec9d9 
>   
> lens-cube/src/test/java/org/apache/lens/cube/parse/FieldsCannotBeQueriedTogetherTest.java
>  fe2dfb3 
>   
> lens-cube/src/test/java/org/apache/lens/cube/parse/TestTimeRangeResolver.java 
> c8a9ac6 
>   
> lens-server-api/src/main/java/org/apache/lens/server/api/LensConfConstants.java
>  bd9b1ab 
>   
> lens-server-api/src/main/java/org/apache/lens/server/api/events/SchedulerAlarmEvent.java
>  3ca7eb9 
>   
> lens-server-api/src/main/java/org/apache/lens/server/api/scheduler/SchedulerJobInstanceState.java
>  PRE-CREATION 
>   
> lens-server-api/src/main/java/org/apache/lens/server/api/scheduler/SchedulerJobState.java
>  PRE-CREATION 
>   
> lens-server-api/src/main/java/org/apache/lens/server/api/scheduler/SchedulerService.java
>  d0af876 
>   lens-server/src/main/java/org/apache/lens/server/BaseLensService.java 
> 74bc0be 
>   lens-server/src/main/java/org/apache/lens/server/LensServices.java 7618669 
>   
> lens-server/src/main/java/org/apache/lens/server/metrics/MetricsServiceImpl.java
>  1e8d540 
>   
> lens-server/src/main/java/org/apache/lens/server/scheduler/AlarmService.java 
> PRE-CREATION 
>   
> lens-server/src/main/java/org/apache/lens/server/scheduler/ScheduleResource.java
>  39c4d98 
>   
> lens-server/src/main/java/org/apache/lens/server/scheduler/SchedulerDAO.java 
> bf99fde 
>   
> lens-server/src/main/java/org/apache/lens/server/scheduler/SchedulerEventListener.java
>  PRE-CREATION 
>   
> lens-server/src/main/java/org/apache/lens/server/scheduler/SchedulerQueryEventListener.java
>  PRE-CREATION 
>   
> lens-server/src/main/java/org/apache/lens/server/scheduler/SchedulerServiceImpl.java
>  3952671 
>   
> lens-server/src/main/java/org/apache/lens/server/scheduler/notification/services/AlarmService.java
>  a4cdd83 
>   
> lens-server/src/main/java/org/apache/lens/server/scheduler/state/SchedulerJobInstanceState.java
>  95057e4 
>   
> lens-server/src/main/java/org/apache/lens/server/scheduler/state/SchedulerJobState.java
>  d21cd05 
>   
> lens-server/src/main/java/org/apache/lens/server/scheduler/util/UtilityMethods.java
>  31783ad 
>   
> lens-server/src/main/java/org/apache/lens/server/session/LensSessionImpl.java 
> e77c7fa 
>   lens-server/src/main/java/org/apache/lens/server/util/UtilityMethods.java 
> 63a7874 
>   lens-server/src/main/resources/lensserver-default.xml 6dc322e 
>   
> lens-server/src/test/java/org/apache/lens/server/scheduler/AlarmServiceTest.java
>  PRE-CREATION 
>   
> lens-server/src/test/java/org/apache/lens/server/scheduler/SchedulerDAOTest.java
>  d76a586 
>   
> lens-server/src/test/java/org/apache/lens/server/scheduler/TestSchedulerServiceImpl.java
>  PRE-CREATION 
>   
> lens-server/src/test/java/org/apache/lens/server/scheduler/notification/services/AlarmServiceTest.java
>  06883ae 
>   src/site/apt/admin/config.apt 5b76069 
> 
> Diff: https://reviews.apache.org/r/49770/diff/
> 
> 
> Testing
> ---
> 
> 
> Thanks,
> 
> Lavkesh Lahngir
> 
>