Return-Path: X-Original-To: apmail-falcon-dev-archive@minotaur.apache.org Delivered-To: apmail-falcon-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id BD1C9117D1 for ; Fri, 8 Aug 2014 06:58:33 +0000 (UTC) Received: (qmail 5558 invoked by uid 500); 8 Aug 2014 06:58:33 -0000 Delivered-To: apmail-falcon-dev-archive@falcon.apache.org Received: (qmail 5513 invoked by uid 500); 8 Aug 2014 06:58:33 -0000 Mailing-List: contact dev-help@falcon.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@falcon.incubator.apache.org Delivered-To: mailing list dev@falcon.incubator.apache.org Received: (qmail 5502 invoked by uid 99); 8 Aug 2014 06:58:33 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Aug 2014 06:58:33 +0000 X-ASF-Spam-Status: No, hits=-2000.7 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO mail.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 08 Aug 2014 06:58:32 +0000 Received: (qmail 5374 invoked by uid 99); 8 Aug 2014 06:58:11 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Aug 2014 06:58:11 +0000 Date: Fri, 8 Aug 2014 06:58:11 +0000 (UTC) From: "Shwetha G S (JIRA)" To: dev@falcon.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (FALCON-514) Falcon CLI giving error when using -file option with -rerun in instance management MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/FALCON-514?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14090405#comment-14090405 ] Shwetha G S commented on FALCON-514: ------------------------------------ Oozie has this check: {code} if (conf.get(OozieClient.RERUN_SKIP_NODES) == null && conf.get(OozieClient.RERUN_FAIL_NODES) == null) { throw new DagEngineException(ErrorCode.E0401, OozieClient.RERUN_SKIP_NODES + " OR " + OozieClient.RERUN_FAIL_NODES); } if (conf.get(OozieClient.RERUN_SKIP_NODES) != null && conf.get(OozieClient.RERUN_FAIL_NODES) != null) { throw new DagEngineException(ErrorCode.E0404, OozieClient.RERUN_SKIP_NODES + " OR " + OozieClient.RERUN_FAIL_NODES); } {code} So, this will fail if OozieClient.RERUN_SKIP_NODES is set by user > Falcon CLI giving error when using -file option with -rerun in instance management > ---------------------------------------------------------------------------------- > > Key: FALCON-514 > URL: https://issues.apache.org/jira/browse/FALCON-514 > Project: Falcon > Issue Type: Bug > Components: rerun > Affects Versions: 0.5 > Environment: QA > Reporter: Samarth Gupta > Assignee: pavan kumar kolamuri > Fix For: 0.6 > > Attachments: FALCON-514.patch > > > we have provision to use "-file" option along with "instance rerun" , in which we can mention the wf properties that we want to override while rerunning the instance. > While trying to use the same , following error is coming : > {code} > 2014-07-21 06:46:16,893 INFO - [ActiveMQ Session Task:] ~ Vertex exists? name=raaw-logs16-83789175, type=FEED_ENTITY, v=v[320252] (InstanceRelationshipGraphBuilder:115) > 2014-07-21 06:46:16,894 DEBUG - [ActiveMQ Session Task:] ~ Finding vertex for: name=corp-9adc6a76, type=CLUSTER_ENTITY (RelationshipGraphBuilder:87) > 2014-07-21 06:46:16,894 INFO - [ActiveMQ Session Task:] ~ Vertex exists? name=corp-9adc6a76, type=CLUSTER_ENTITY, v=v[320240] (InstanceRelationshipGraphBuilder:115) > 2014-07-21 06:46:16,895 DEBUG - [ActiveMQ Session Task:] ~ Finding vertex for: name=samarth.gupta, type=USER (RelationshipGraphBuilder:87) > 2014-07-21 06:46:16,906 INFO - [ActiveMQ Session Task:] ~ Vertex exists? name=samarth.gupta, type=USER, v=v[240548] (InstanceRelationshipGraphBuilder:115) > :?rerun > at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212) > at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:399) > at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) > at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182) > at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766) > at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:450) > at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) > at org.mortbay.jetty.Server.handle(Server.java:326) > at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542) > at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:945) > at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:756) > at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212) > at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404) > at org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:228) > at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582) > Caused by: AUTHENTICATION : E0401 : E0401: Missing configuration property [oozie.wf.rerun.skip.nodes OR oozie.wf.rerun.failnodes] > at org.apache.oozie.client.ProxyOozieClient.reRun(ProxyOozieClient.java:229) > at org.apache.falcon.workflow.engine.OozieWorkflowEngine.reRun(OozieWorkflowEngine.java:1230) > ... 45 more > Caused by: E0401 : E0401: Missing configuration property [oozie.wf.rerun.skip.nodes OR oozie.wf.rerun.failnodes] > at org.apache.oozie.client.OozieClient.handleError(OozieClient.java:508) > at org.apache.oozie.client.OozieClient$JobSubmit.call(OozieClient.java:591) > at org.apache.oozie.client.OozieClient$JobSubmit.call(OozieClient.java:561) > at org.apache.oozie.client.OozieClient$ClientCallable.call(OozieClient.java:479) > at org.apache.oozie.client.OozieClient.reRun(OozieClient.java:666) > at org.apache.oozie.client.ProxyOozieClient.access$701(ProxyOozieClient.java:49) > at org.apache.oozie.client.ProxyOozieClient$7.call(ProxyOozieClient.java:224) > at org.apache.oozie.client.OozieClient.doAs(OozieClient.java:191) > at org.apache.oozie.client.ProxyOozieClient.reRun(ProxyOozieClient.java:221) > {code} -- This message was sent by Atlassian JIRA (v6.2#6252)