[jira] [Commented] (LENS-1361) Ignore DB failure while scheduler startup.
[ https://issues.apache.org/jira/browse/LENS-1361?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15594499#comment-15594499 ] Hudson commented on LENS-1361: -- UNSTABLE: Integrated in Jenkins build Lens-Commit #1364 (See [https://builds.apache.org/job/Lens-Commit/1364/]) LENS-1361 : Ignore DB failure while scheduler startup (amareshwari: rev f274e29d53998f482697bfd8c57a3841b1779abc) * (edit) lens-server/src/main/java/org/apache/lens/server/scheduler/SchedulerDAO.java * (edit) lens-server/src/main/java/org/apache/lens/server/scheduler/SchedulerServiceImpl.java > Ignore DB failure while scheduler startup. > -- > > Key: LENS-1361 > URL: https://issues.apache.org/jira/browse/LENS-1361 > Project: Apache Lens > Issue Type: Bug >Reporter: Lavkesh Lahngir >Assignee: Lavkesh Lahngir > Fix For: 2.7 > > Attachments: 0001-DB-fixes.patch, ignore-db.patch, ignore-db.patch > > -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (LENS-1361) Ignore DB failure while scheduler startup.
[ https://issues.apache.org/jira/browse/LENS-1361?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15594408#comment-15594408 ] Hudson commented on LENS-1361: -- SUCCESS: Integrated in Jenkins build Lens-Commit-Java8 #281 (See [https://builds.apache.org/job/Lens-Commit-Java8/281/]) LENS-1361 : Ignore DB failure while scheduler startup (amareshwari: rev f274e29d53998f482697bfd8c57a3841b1779abc) * (edit) lens-server/src/main/java/org/apache/lens/server/scheduler/SchedulerServiceImpl.java * (edit) lens-server/src/main/java/org/apache/lens/server/scheduler/SchedulerDAO.java > Ignore DB failure while scheduler startup. > -- > > Key: LENS-1361 > URL: https://issues.apache.org/jira/browse/LENS-1361 > Project: Apache Lens > Issue Type: Bug >Reporter: Lavkesh Lahngir >Assignee: Lavkesh Lahngir > Fix For: 2.7 > > Attachments: 0001-DB-fixes.patch, ignore-db.patch, ignore-db.patch > > -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (LENS-1361) Ignore DB failure while scheduler startup.
[ https://issues.apache.org/jira/browse/LENS-1361?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15594059#comment-15594059 ] Amareshwari Sriramadasu commented on LENS-1361: --- +1 for latest patch > Ignore DB failure while scheduler startup. > -- > > Key: LENS-1361 > URL: https://issues.apache.org/jira/browse/LENS-1361 > Project: Apache Lens > Issue Type: Bug >Reporter: Lavkesh Lahngir >Assignee: Lavkesh Lahngir > Attachments: 0001-DB-fixes.patch, ignore-db.patch, ignore-db.patch > > -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (LENS-1361) Ignore DB failure while scheduler startup.
[ https://issues.apache.org/jira/browse/LENS-1361?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15592125#comment-15592125 ] Hadoop QA commented on LENS-1361: - Applied patch: [0001-DB-fixes.patch|https://issues.apache.org/jira/secure/attachment/12834379/0001-DB-fixes.patch] and ran command: mvn clean install -fae. Result: Failure. Build Job: https://builds.apache.org/job/PreCommit-Lens-Build/1125/ > Ignore DB failure while scheduler startup. > -- > > Key: LENS-1361 > URL: https://issues.apache.org/jira/browse/LENS-1361 > Project: Apache Lens > Issue Type: Bug >Reporter: Lavkesh Lahngir >Assignee: Lavkesh Lahngir > Attachments: 0001-DB-fixes.patch, ignore-db.patch, ignore-db.patch > > -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (LENS-1361) Ignore DB failure while scheduler startup.
[ https://issues.apache.org/jira/browse/LENS-1361?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15591633#comment-15591633 ] Lavkesh Lahngir commented on LENS-1361: --- Kept a flag to check if the init() was successful. > Ignore DB failure while scheduler startup. > -- > > Key: LENS-1361 > URL: https://issues.apache.org/jira/browse/LENS-1361 > Project: Apache Lens > Issue Type: Bug >Reporter: Lavkesh Lahngir >Assignee: Lavkesh Lahngir > Attachments: 0001-DB-fixes.patch, ignore-db.patch, ignore-db.patch > > -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (LENS-1361) Ignore DB failure while scheduler startup.
[ https://issues.apache.org/jira/browse/LENS-1361?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15590699#comment-15590699 ] Amareshwari Sriramadasu commented on LENS-1361: --- bq. log.error("Error Initialising Scheduler-service", e); bq.+ throw new IllegalStateException("Exception happened while Initialising Scheduler-Service", e); This would make lens server not to come up. I don't think we want to do that, instead it should mark scheduler service unhealthy. > Ignore DB failure while scheduler startup. > -- > > Key: LENS-1361 > URL: https://issues.apache.org/jira/browse/LENS-1361 > Project: Apache Lens > Issue Type: Bug >Reporter: Lavkesh Lahngir >Assignee: Lavkesh Lahngir > Attachments: ignore-db.patch, ignore-db.patch > > -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (LENS-1361) Ignore DB failure while scheduler startup.
[ https://issues.apache.org/jira/browse/LENS-1361?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15589101#comment-15589101 ] Hadoop QA commented on LENS-1361: - Applied patch: [ignore-db.patch|https://issues.apache.org/jira/secure/attachment/12834158/ignore-db.patch], [LENS-1360.05.patch|https://issues.apache.org/jira/secure/attachment/12834181/LENS-1360.05.patch] and ran command: mvn clean install -fae. Result: Failure. Build Job: https://builds.apache.org/job/PreCommit-Lens-Build/1119/ > Ignore DB failure while scheduler startup. > -- > > Key: LENS-1361 > URL: https://issues.apache.org/jira/browse/LENS-1361 > Project: Apache Lens > Issue Type: Bug >Reporter: Lavkesh Lahngir >Assignee: Lavkesh Lahngir > Attachments: ignore-db.patch, ignore-db.patch > > -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (LENS-1361) Ignore DB failure while scheduler startup.
[ https://issues.apache.org/jira/browse/LENS-1361?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15588962#comment-15588962 ] Hadoop QA commented on LENS-1361: - Applied patch: [ignore-db.patch|https://issues.apache.org/jira/secure/attachment/12834158/ignore-db.patch], [LENS-1360.04.patch|https://issues.apache.org/jira/secure/attachment/12834168/LENS-1360.04.patch] and ran command: mvn clean install -fae. Result: Failure. Build Job: https://builds.apache.org/job/PreCommit-Lens-Build/1112/ > Ignore DB failure while scheduler startup. > -- > > Key: LENS-1361 > URL: https://issues.apache.org/jira/browse/LENS-1361 > Project: Apache Lens > Issue Type: Bug >Reporter: Lavkesh Lahngir >Assignee: Lavkesh Lahngir > Attachments: ignore-db.patch, ignore-db.patch > > -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (LENS-1361) Ignore DB failure while scheduler startup.
[ https://issues.apache.org/jira/browse/LENS-1361?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15588844#comment-15588844 ] Hadoop QA commented on LENS-1361: - Applied patch: [ignore-db.patch|https://issues.apache.org/jira/secure/attachment/12834158/ignore-db.patch], [LENS-1360.04.patch|https://issues.apache.org/jira/secure/attachment/12834168/LENS-1360.04.patch] and ran command: mvn clean install -fae. Result: Failure. Build Job: https://builds.apache.org/job/PreCommit-Lens-Build/1110/ > Ignore DB failure while scheduler startup. > -- > > Key: LENS-1361 > URL: https://issues.apache.org/jira/browse/LENS-1361 > Project: Apache Lens > Issue Type: Bug >Reporter: Lavkesh Lahngir >Assignee: Lavkesh Lahngir > Attachments: ignore-db.patch, ignore-db.patch > > -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (LENS-1361) Ignore DB failure while scheduler startup.
[ https://issues.apache.org/jira/browse/LENS-1361?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15588780#comment-15588780 ] Hadoop QA commented on LENS-1361: - Applied patch: [ignore-db.patch|https://issues.apache.org/jira/secure/attachment/12834158/ignore-db.patch], [LENS-1360.03.patch|https://issues.apache.org/jira/secure/attachment/12834144/LENS-1360.03.patch] and ran command: mvn clean install -fae. Result: Failure. Build Job: https://builds.apache.org/job/PreCommit-Lens-Build/1106/ > Ignore DB failure while scheduler startup. > -- > > Key: LENS-1361 > URL: https://issues.apache.org/jira/browse/LENS-1361 > Project: Apache Lens > Issue Type: Bug >Reporter: Lavkesh Lahngir >Assignee: Lavkesh Lahngir > Attachments: ignore-db.patch, ignore-db.patch > > -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (LENS-1361) Ignore DB failure while scheduler startup.
[ https://issues.apache.org/jira/browse/LENS-1361?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15588671#comment-15588671 ] Hadoop QA commented on LENS-1361: - Applied patch: [ignore-db.patch|https://issues.apache.org/jira/secure/attachment/12833930/ignore-db.patch] and ran command: mvn clean install -fae. Result: Failure. Build Job: https://builds.apache.org/job/PreCommit-Lens-Build/1101/ > Ignore DB failure while scheduler startup. > -- > > Key: LENS-1361 > URL: https://issues.apache.org/jira/browse/LENS-1361 > Project: Apache Lens > Issue Type: Bug >Reporter: Lavkesh Lahngir >Assignee: Lavkesh Lahngir > Attachments: ignore-db.patch, ignore-db.patch > > -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (LENS-1361) Ignore DB failure while scheduler startup.
[ https://issues.apache.org/jira/browse/LENS-1361?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15588586#comment-15588586 ] Lavkesh Lahngir commented on LENS-1361: --- Init() should throw an error if there are errors. Table creation will not throw an error, that will result in internal server error while API calls. > Ignore DB failure while scheduler startup. > -- > > Key: LENS-1361 > URL: https://issues.apache.org/jira/browse/LENS-1361 > Project: Apache Lens > Issue Type: Bug >Reporter: Lavkesh Lahngir >Assignee: Lavkesh Lahngir > Attachments: ignore-db.patch, ignore-db.patch > > -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (LENS-1361) Ignore DB failure while scheduler startup.
[ https://issues.apache.org/jira/browse/LENS-1361?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15588504#comment-15588504 ] Amareshwari Sriramadasu commented on LENS-1361: --- [~lavkesh], Can you take care of the consequences of not throwing exception? For ex : SchedulerServiceImpl.start()'s schedulerDAO.getInstanceRuns can throw NPE. > Ignore DB failure while scheduler startup. > -- > > Key: LENS-1361 > URL: https://issues.apache.org/jira/browse/LENS-1361 > Project: Apache Lens > Issue Type: Bug >Reporter: Lavkesh Lahngir >Assignee: Lavkesh Lahngir > Attachments: ignore-db.patch > > -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (LENS-1361) Ignore DB failure while scheduler startup.
[ https://issues.apache.org/jira/browse/LENS-1361?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15588425#comment-15588425 ] Hadoop QA commented on LENS-1361: - Applied patch: [ignore-db.patch|https://issues.apache.org/jira/secure/attachment/12833930/ignore-db.patch] and ran command: mvn clean install -fae. Result: Failure. Build Job: https://builds.apache.org/job/PreCommit-Lens-Build/1096/ > Ignore DB failure while scheduler startup. > -- > > Key: LENS-1361 > URL: https://issues.apache.org/jira/browse/LENS-1361 > Project: Apache Lens > Issue Type: Bug >Reporter: Lavkesh Lahngir >Assignee: Lavkesh Lahngir > Attachments: ignore-db.patch > > -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (LENS-1361) Ignore DB failure while scheduler startup.
[ https://issues.apache.org/jira/browse/LENS-1361?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15585318#comment-15585318 ] Hadoop QA commented on LENS-1361: - Applied patch: [ignore-db.patch|https://issues.apache.org/jira/secure/attachment/12833930/ignore-db.patch] and ran command: mvn clean install -fae. Result: Failure. Build Job: https://builds.apache.org/job/PreCommit-Lens-Build/1093/ > Ignore DB failure while scheduler startup. > -- > > Key: LENS-1361 > URL: https://issues.apache.org/jira/browse/LENS-1361 > Project: Apache Lens > Issue Type: Bug >Reporter: Lavkesh Lahngir >Assignee: Lavkesh Lahngir > Attachments: ignore-db.patch > > -- This message was sent by Atlassian JIRA (v6.3.4#6332)