----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/46894/#review131298 -----------------------------------------------------------
Ship it! Ship It! - Rajat Khandelwal On May 2, 2016, 6:03 p.m., Puneet Gupta wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/46894/ > ----------------------------------------------------------- > > (Updated May 2, 2016, 6:03 p.m.) > > > Review request for lens. > > > Bugs: lens-1027 > https://issues.apache.org/jira/browse/lens-1027 > > > Repository: lens > > > Description > ------- > > As of now we can throttle queries via Constraint > driver.max.concurrent.launched.queries.per.queue which is specified as > {"QueueName=MaxQueriesAllowed"},+. > > Example driver.max.concurrent.launched.queries.per.queue = > "QueueA=4,QueueB=3". > > We should be able to specify ANY/* as a queue in which case the value for ANY > should be the default value for all queues that are not mentioned as part of > the constraint. > > > Diffs > ----- > > > lens-server-api/src/main/java/org/apache/lens/server/api/query/constraint/MaxConcurrentDriverQueriesConstraint.java > 58ebd9aca1cbd0c69e8523dd2cefc79620f00faf > > lens-server-api/src/main/java/org/apache/lens/server/api/query/constraint/MaxConcurrentDriverQueriesConstraintFactory.java > 6db7da77ad0dfa1e1bceea9982f8517664f6dadf > > lens-server-api/src/test/java/org/apache/lens/server/api/query/constraint/MaxConcurrentDriverQueriesConstraintTest.java > 4031122e8de23ba0569926965025dd8b2ce81cd4 > > Diff: https://reviews.apache.org/r/46894/diff/ > > > Testing > ------- > > > Thanks, > > Puneet Gupta > >
