[ https://issues.apache.org/jira/browse/LENS-743?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15581383#comment-15581383 ]
Hudson commented on LENS-743: ----------------------------- FAILURE: Integrated in Jenkins build Lens-Commit-Java8 #277 (See [https://builds.apache.org/job/Lens-Commit-Java8/277/]) LENS-743: Query retry framework for retrying upon transient failures (rajatgupta59: rev 38ab6c6082b6221502daac979551e8c5fca72241) * (edit) lens-server/src/test/java/org/apache/lens/server/scheduler/util/SchedulerTestUtils.java * (delete) lens-server-api/src/main/java/org/apache/lens/server/api/query/QueryQueued.java * (add) lens-server-api/src/main/java/org/apache/lens/server/api/query/StatusUpdateFailureContext.java * (edit) lens-server-api/src/main/java/org/apache/lens/server/api/driver/LensDriver.java * (delete) lens-server/src/main/java/org/apache/lens/server/query/QueryCostComparator.java * (add) lens-server-api/src/main/java/org/apache/lens/server/api/retry/FibonacciExponentialBackOffRetryHandler.java * (edit) lens-driver-es/src/main/java/org/apache/lens/driver/es/ESDriver.java * (edit) lens-server/src/test/java/org/apache/lens/server/query/constraint/ThreadSafeEstimatedQueryCollectionTest.java * (edit) lens-server/src/main/java/org/apache/lens/server/query/ResultFormatter.java * (edit) lens-api/src/main/java/org/apache/lens/api/query/QueryStatus.java * (edit) lens-driver-jdbc/src/main/java/org/apache/lens/driver/jdbc/MaxJDBCConnectionCheckConstraint.java * (edit) lens-server/src/main/java/org/apache/lens/server/metrics/MetricsServiceImpl.java * (edit) lens-server-api/src/test/java/org/apache/lens/server/api/query/TestQueryContext.java * (delete) lens-server-api/src/main/java/org/apache/lens/server/api/query/QueryEnded.java * (add) lens-server-api/src/main/java/org/apache/lens/server/api/query/events/QueryAccepted.java * (edit) checkstyle/src/main/resources/checkstyle.xml * (edit) lens-regression/src/main/java/org/apache/lens/regression/core/constants/DriverConfig.java * (add) lens-server-api/src/main/java/org/apache/lens/server/api/query/events/StatusChange.java * (edit) lens-server/src/test/java/org/apache/lens/server/query/collect/QueryCollectUtil.java * (edit) lens-server/src/test/java/org/apache/lens/server/query/TestEventService.java * (edit) lens-server-api/src/main/java/org/apache/lens/server/api/query/constraint/MaxConcurrentDriverQueriesConstraint.java * (delete) lens-server/src/main/java/org/apache/lens/server/query/QueryPriorityComparator.java * (add) lens-server-api/src/test/java/org/apache/lens/server/api/query/comparators/ChainedComparatorTest.java * (add) lens-server/src/test/java/org/apache/lens/server/query/retry/MockDriverForRetries.java * (add) lens-server-api/src/main/java/org/apache/lens/server/api/retry/DefaultRetryPolicyDecider.java * (edit) lens-server/src/main/java/org/apache/lens/server/query/QueryEventHttpNotifier.java * (add) lens-server-api/src/main/java/org/apache/lens/server/api/query/events/QuerySuccess.java * (delete) lens-server/src/main/java/org/apache/lens/server/query/QueryComparator.java * (add) lens-server-api/src/main/java/org/apache/lens/server/api/retry/BackOffRetryHandler.java * (edit) lens-server/src/main/java/org/apache/lens/server/query/LensServerDAO.java * (add) lens-server-api/src/main/java/org/apache/lens/server/api/retry/ChainedRetryPolicyDecider.java * (edit) lens-server/src/main/java/org/apache/lens/server/scheduler/SchedulerQueryEventListener.java * (add) lens-server/src/test/resources/drivers/mock/single_failure/failing-query-driver-site.xml * (add) lens-server-api/src/main/java/org/apache/lens/server/api/driver/DriverConfiguration.java * (add) lens-server/src/test/resources/drivers/retry/single_failure/driver-site.xml * (add) lens-server-api/src/main/java/org/apache/lens/server/api/query/events/QueryRunning.java * (edit) lens-driver-hive/src/test/java/org/apache/lens/driver/hive/TestHiveDriver.java * (edit) lens-api/src/test/java/org/apache/lens/api/jaxb/YAMLToStringStrategyTest.java * (add) lens-server/src/test/java/org/apache/lens/server/query/retry/TestServerRetryPolicyDecider.java * (edit) lens-server/src/test/java/org/apache/lens/server/query/constraint/DefaultQueryLaunchingConstraintsCheckerTest.java * (add) lens-server-api/src/main/java/org/apache/lens/server/api/retry/FailureContext.java * (edit) lens-driver-es/src/test/resources/hive-site.xml * (delete) lens-server-api/src/main/java/org/apache/lens/server/api/common/OperationRetryHandlerFactory.java * (add) lens-server-api/src/main/java/org/apache/lens/server/api/retry/NoRetryHandler.java * (add) lens-server-api/src/main/java/org/apache/lens/server/api/query/events/QueryClosed.java * (edit) lens-driver-jdbc/src/main/java/org/apache/lens/driver/jdbc/JDBCDriverConfConstants.java * (add) lens-server-api/src/main/java/org/apache/lens/server/api/query/comparators/QueryPriorityComparator.java * (edit) lens-server/src/test/java/org/apache/lens/server/query/TestQueryIndependenceFromSessionClose.java * (add) lens-server/src/test/java/org/apache/lens/server/query/retry/QueryRetryTest.java * (edit) lens-server-api/src/main/java/org/apache/lens/server/api/query/constraint/QueryLaunchingConstraint.java * (edit) lens-server/src/test/java/org/apache/lens/server/query/constraint/TotalQueryCostCeilingConstraintTest.java * (edit) lens-server-api/src/main/java/org/apache/lens/server/api/query/QueryContext.java * (add) lens-server-api/src/main/java/org/apache/lens/server/api/query/comparators/FIFOQueryComparator.java * (delete) lens-server-api/src/main/java/org/apache/lens/server/api/common/BackOffRetryHandler.java * (add) lens-server-api/src/main/java/org/apache/lens/server/api/query/events/QueryCancelled.java * (edit) lens-server-api/src/main/java/org/apache/lens/server/api/driver/AbstractLensDriver.java * (delete) lens-server-api/src/main/java/org/apache/lens/server/api/query/QueryEvent.java * (edit) lens-driver-jdbc/src/test/java/org/apache/lens/driver/jdbc/TestJdbcDriver.java * (add) lens-server/src/main/java/org/apache/lens/server/query/constraint/RetryPolicyToConstraingAdapter.java * (delete) lens-server-api/src/test/java/org/apache/lens/server/api/common/TestExponentialBackOffRetryHandler.java * (add) lens-server-api/src/main/java/org/apache/lens/server/api/query/comparators/ChainedComparator.java * (add) lens-server-api/src/main/java/org/apache/lens/server/api/query/events/QueryLaunched.java * (add) lens-server/src/test/resources/drivers/retry/double_failure/driver-site.xml * (delete) lens-server-api/src/main/java/org/apache/lens/server/api/query/QueryRunning.java * (edit) lens-server/src/test/java/org/apache/lens/server/query/TestQueryNotifictaionResource.java * (delete) lens-server-api/src/main/java/org/apache/lens/server/api/query/QueryRejected.java * (add) lens-server-api/src/main/java/org/apache/lens/server/api/query/events/QueryRejected.java * (add) lens-server-api/src/main/java/org/apache/lens/server/api/query/events/QueryFailed.java * (add) lens-server/src/test/java/org/apache/lens/server/query/retry/MockRetryPolicyDecider.java * (delete) lens-server-api/src/main/java/org/apache/lens/server/api/query/PriorityChange.java * (delete) lens-server-api/src/main/java/org/apache/lens/server/api/query/QuerySuccess.java * (edit) lens-server/src/main/java/org/apache/lens/server/query/QueryExecutionStatisticsGenerator.java * (edit) lens-server/src/main/java/org/apache/lens/server/query/constraint/TotalQueryCostCeilingConstraint.java * (add) lens-server-api/src/main/java/org/apache/lens/server/api/query/events/QueuePositionChange.java * (add) lens-api/src/main/java/org/apache/lens/api/query/FailedAttempt.java * (delete) lens-server-api/src/main/java/org/apache/lens/server/api/query/QueryCancelled.java * (edit) lens-server/src/test/java/org/apache/lens/server/query/QueryContextComparatorTest.java * (add) lens-server-api/src/main/java/org/apache/lens/server/api/retry/ImmediateRetryHandler.java * (add) lens-server-api/src/main/java/org/apache/lens/server/api/query/events/QueryQueued.java * (edit) lens-api/src/main/java/org/apache/lens/api/query/LensQuery.java * (edit) lens-server/src/main/java/org/apache/lens/server/query/QueryExecutionServiceImpl.java * (edit) lens-server/src/main/java/org/apache/lens/server/query/constraint/DefaultQueryLaunchingConstraintsChecker.java * (add) lens-server-api/src/main/java/org/apache/lens/server/api/retry/RetryPolicyDecider.java * (edit) lens-server-api/src/main/java/org/apache/lens/server/api/query/AbstractQueryContext.java * (add) lens-server-api/src/main/java/org/apache/lens/server/api/query/events/QueryQueuedForRetry.java * (add) lens-server-api/src/main/java/org/apache/lens/server/api/query/events/QueryEnded.java * (delete) lens-server-api/src/main/java/org/apache/lens/server/api/query/QueryExecuted.java * (delete) lens-server-api/src/main/java/org/apache/lens/server/api/query/QueryLaunched.java * (edit) lens-server/src/main/java/org/apache/lens/server/query/QueryEndNotifier.java * (edit) lens-server-api/src/main/java/org/apache/lens/server/api/query/DriverSelectorQueryContext.java * (edit) lens-driver-hive/src/main/java/org/apache/lens/driver/hive/HiveDriver.java * (add) lens-server-api/src/main/java/org/apache/lens/server/api/query/events/QueryExecuted.java * (edit) lens-api/src/test/resources/toString/org.apache.lens.api.query.QueryStatus.xml * (edit) lens-api/src/test/resources/toString/org.apache.lens.api.query.LensQuery.xml * (add) lens-server-api/src/main/java/org/apache/lens/server/api/query/events/QueryEvent.java * (edit) lens-server-api/src/main/java/org/apache/lens/server/api/query/FinishedLensQuery.java * (add) lens-server-api/src/main/java/org/apache/lens/server/api/query/comparators/QueryComparator.java * (delete) lens-server-api/src/main/java/org/apache/lens/server/api/query/QueryClosed.java * (edit) lens-driver-hive/src/test/java/org/apache/lens/driver/hive/TestRemoteHiveDriver.java * (delete) lens-server-api/src/main/java/org/apache/lens/server/api/query/StatusChange.java * (edit) lens-server/pom.xml * (delete) lens-server-api/src/main/java/org/apache/lens/server/api/common/FailureContext.java * (edit) lens-server/src/test/java/org/apache/lens/server/query/TestQueryService.java * (delete) lens-server-api/src/main/java/org/apache/lens/server/api/query/QueryFailed.java * (add) lens-server-api/src/main/java/org/apache/lens/server/api/retry/OperationRetryHandlerFactory.java * (delete) lens-server-api/src/main/java/org/apache/lens/server/api/common/FibonacciExponentialBackOffRetryHandler.java * (delete) lens-server/src/main/java/org/apache/lens/server/query/FIFOQueryComparator.java * (edit) lens-driver-jdbc/src/main/java/org/apache/lens/driver/jdbc/JDBCDriver.java * (delete) lens-server-api/src/main/java/org/apache/lens/server/api/query/QueryAccepted.java * (delete) lens-server-api/src/main/java/org/apache/lens/server/api/query/QueuePositionChange.java * (edit) lens-server-api/src/test/java/org/apache/lens/server/api/query/constraint/MaxConcurrentDriverQueriesConstraintTest.java * (edit) lens-server/src/main/java/org/apache/lens/server/rewrite/RewriteUtil.java * (edit) lens-server/src/main/java/org/apache/lens/server/scheduler/SchedulerServiceImpl.java * (edit) lens-server/src/main/java/org/apache/lens/server/query/QueryEndHttpNotifier.java * (add) lens-server/src/test/resources/drivers/retry/triple_failure/driver-site.xml * (add) lens-server-api/src/test/java/org/apache/lens/server/api/retry/TestExponentialBackOffRetryHandler.java * (edit) lens-server/src/test/java/org/apache/lens/server/query/TestLensDAO.java * (add) lens-server-api/src/main/java/org/apache/lens/server/api/query/comparators/QueryCostComparator.java * (add) lens-server-api/src/main/java/org/apache/lens/server/api/query/comparators/MoreRetriesFirstComparator.java * (edit) lens-server-api/src/main/java/org/apache/lens/server/api/LensConfConstants.java * (edit) lens-server-api/src/main/java/org/apache/lens/server/api/util/LensUtil.java * (edit) lens-server-api/src/main/java/org/apache/lens/server/api/driver/DriverQueryStatus.java * (edit) lens-server-api/src/test/java/org/apache/lens/server/api/driver/MockDriver.java * (add) lens-server-api/src/main/java/org/apache/lens/server/api/query/events/PriorityChange.java > Query failure retries for transient errors > ------------------------------------------ > > Key: LENS-743 > URL: https://issues.apache.org/jira/browse/LENS-743 > Project: Apache Lens > Issue Type: Improvement > Components: server > Reporter: Amareshwari Sriramadasu > Assignee: Rajat Khandelwal > Labels: gsoc2016, java > Fix For: 2.7 > > Attachments: LENS-743.09.patch, LENS-743.11.patch, LENS-743.12.patch, > LENS-743.13.patch, LENS-743.14.patch, LENS-743.15.patch, LENS-743.16.patch, > LENS-743.18.patch > > > 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. -- This message was sent by Atlassian JIRA (v6.3.4#6332)