falcon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shwetha G S (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FALCON-514) Falcon CLI giving error when using -file option with -rerun in instance management
Date Fri, 08 Aug 2014 06:58:11 GMT

    [ 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)

Mime
View raw message