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 3587C17559 for ; Thu, 9 Oct 2014 23:06:59 +0000 (UTC) Received: (qmail 76736 invoked by uid 500); 9 Oct 2014 23:06:59 -0000 Delivered-To: apmail-falcon-dev-archive@falcon.apache.org Received: (qmail 76698 invoked by uid 500); 9 Oct 2014 23:06:59 -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 76686 invoked by uid 99); 9 Oct 2014 23:06:59 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Oct 2014 23:06:59 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_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; Thu, 09 Oct 2014 23:06:36 +0000 Received: (qmail 73870 invoked by uid 99); 9 Oct 2014 23:06:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Oct 2014 23:06:34 +0000 Date: Thu, 9 Oct 2014 23:06:34 +0000 (UTC) From: "Sowmya Ramesh (JIRA)" To: dev@falcon.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (FALCON-787) FalconCLI - Submit recipe failed MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/FALCON-787?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:all-tabpanel ] Sowmya Ramesh updated FALCON-787: --------------------------------- Attachment: (was: FALCON-787.patch) > FalconCLI - Submit recipe failed=20 > --------------------------------- > > Key: FALCON-787 > URL: https://issues.apache.org/jira/browse/FALCON-787 > Project: Falcon > Issue Type: Bug > Components: client > Affects Versions: 0.6 > Reporter: Balu Vellanki > Assignee: Sowmya Ramesh > Fix For: 0.6 > > > Attempted submitting falcon hdfs-replication recipe without setting falco= n.recipe.path in client.properties. Expected falcon to look under falcon.ho= me directory for recipe > {code} > [hrt_qa@falcon-balu-6-3 falcon]$ ./bin/falcon recipe -name hdfs-replicati= on > Stacktrace: > org.apache.falcon.client.FalconCLIException: Recipe template file does no= t exist : null/hdfs-replication-template.xml > at org.apache.falcon.client.FalconClient.submitRecipe(FalconClient.java:1= 049) > at org.apache.falcon.cli.FalconCLI.recipeCommand(FalconCLI.java:1003) > at org.apache.falcon.cli.FalconCLI.run(FalconCLI.java:203) > at org.apache.falcon.cli.FalconCLI.main(FalconCLI.java:144) > {code} > In this case falcon.home is not set. A better behavior would be to ensure= user sets falcon.recipe.path before using recipe cli. > Error 2 : After setting falcon.recipe.path in client.properties and resta= rting falcon, I saw this error.=20 > {code} > [hrt_qa@falcon-balu-6-3 falcon]$ ./bin/falcon recipe -name hdfs-replicati= on > Stacktrace: > org.apache.falcon.client.FalconCLIException: Recipe workflow file does no= t exist : /recipes/hdfs-replication/hdfs-replication-workflow.xml > Submitted process entity: /tmp/falcon-recipe-1412195122284386392074482642= 3593.xml > at org.apache.falcon.client.FalconClient.submitRecipe(FalconClient.java:1= 090) > at org.apache.falcon.cli.FalconCLI.recipeCommand(FalconCLI.java:1003) > at org.apache.falcon.cli.FalconCLI.run(FalconCLI.java:203) > at org.apache.falcon.cli.FalconCLI.main(FalconCLI.java:144) > Caused by: java.lang.Exception: Recipe workflow file does not exist : /re= cipes/hdfs-replication/hdfs-replication-workflow.xml > at org.apache.falcon.recipe.RecipeTool.validateArtifacts(RecipeTool.java:= 139) > at org.apache.falcon.recipe.RecipeTool.run(RecipeTool.java:74) > at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70) > at org.apache.falcon.recipe.RecipeTool.main(RecipeTool.java:60) > {code} > The doc FalconCLI.twiki should be updated to say =E2=80=9Crecipename-work= flow.xml=E2=80=9D should be present in the falcon.recipe.path dir. > Once I manually fixed above error and tried to resubmit recipe, it fails = with the following error.=20 > {code} > [hrt_qa@falcon-balu-6-3 falcon]$ ./bin/falcon recipe -name hdfs-replicati= on > recipeWfPathName: falcon/recipes/hdfs-replication/hdfs-replication-workfl= ow.xml > Completed disaster recovery > Stacktrace: > org.apache.falcon.client.FalconCLIException: Bad Request;dryRun failed on= cluster primaryCluster > Submitted process entity: /tmp/falcon-recipe-1412196250999979012201450070= 295.xml > at org.apache.falcon.client.FalconClient.submitRecipe(FalconClient.java:1= 090) > at org.apache.falcon.cli.FalconCLI.recipeCommand(FalconCLI.java:1003) > at org.apache.falcon.cli.FalconCLI.run(FalconCLI.java:203) > at org.apache.falcon.cli.FalconCLI.main(FalconCLI.java:144) > Caused by: java.io.FileNotFoundException: File hdfs://172.18.145.72:8020/= user/falcon/falcon/recipes/hdfs-replication/hdfs-replication-workflow.xml d= oes not exist. > at org.apache.hadoop.hdfs.DistributedFileSystem.listStatusInterna= l(DistributedFileSystem.java:697) > at org.apache.hadoop.hdfs.DistributedFileSystem.access$600(Distri= butedFileSystem.java:105) > at org.apache.hadoop.hdfs.DistributedFileSystem$15.doCall(Distrib= utedFileSystem.java:755) > at org.apache.hadoop.hdfs.DistributedFileSystem$15.doCall(Distrib= utedFileSystem.java:751) > at org.apache.hadoop.fs.FileSystemLinkResolver.resolve(FileSystem= LinkResolver.java:81) > at org.apache.hadoop.hdfs.DistributedFileSystem.listStatus(Distri= butedFileSystem.java:751) > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)