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 0349B108D9 for ; Thu, 27 Nov 2014 06:19:41 +0000 (UTC) Received: (qmail 86006 invoked by uid 500); 27 Nov 2014 06:19:40 -0000 Delivered-To: apmail-falcon-dev-archive@falcon.apache.org Received: (qmail 85961 invoked by uid 500); 27 Nov 2014 06:19:40 -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 85945 invoked by uid 99); 27 Nov 2014 06:19:40 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Nov 2014 06:19:40 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of gzagarwal@gmail.com designates 209.85.214.180 as permitted sender) Received: from [209.85.214.180] (HELO mail-ob0-f180.google.com) (209.85.214.180) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Nov 2014 06:19:13 +0000 Received: by mail-ob0-f180.google.com with SMTP id wp4so3293676obc.39 for ; Wed, 26 Nov 2014 22:19:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=5Q7LTSC00PFBXVNGJONK2G2U0v7ZT6nQk4BbF8iurcQ=; b=UPl19+GVxvNmB+DLhX0S+FztwtAJiI+mI24QMp8JiKctUm5eVHNg9bL8T1Maid3vDb IHGRPWXAcLywJTm6tyRlV6qgsFLQqucgY9Q6vGiOJFA6tQOhy0ZFreYaZcdOTJc+xn5f 3JEef1QUV9tusfV/rU3QEPu9PNdTPFAZwIdC17CKYQbahJFrsPHebCrlX2yi8i/UaYie efmkuf/y/GYAdbDrFZRcyDRF6yrsYRG3vTK86njLX0ANzv9V0bn8wtLNnm7Ako6mLeWB IDa/dnJYrxkrnwudKD2/bIZqTrJHOOCxTKCnqw9P6PbkvMqo+Q1jRkkq/2CWCikVSyEv rARQ== MIME-Version: 1.0 X-Received: by 10.202.59.137 with SMTP id i131mr20385160oia.114.1417069152407; Wed, 26 Nov 2014 22:19:12 -0800 (PST) Received: by 10.202.4.20 with HTTP; Wed, 26 Nov 2014 22:19:12 -0800 (PST) In-Reply-To: References: Date: Thu, 27 Nov 2014 11:49:12 +0530 Message-ID: Subject: Re: Need help for the problem that i faced From: Gaurav Agarwal To: dev@falcon.incubator.apache.org Content-Type: multipart/alternative; boundary=001a113cc7f27398620508d11f06 X-Virus-Checked: Checked by ClamAV on apache.org --001a113cc7f27398620508d11f06 Content-Type: text/plain; charset=UTF-8 Shwetha Apologise to trouble everyone but i am new to this falcon. Do i need to check the logs in JobBrowser? there is stderror Log Length: 188 Error: Could not find or load main class com.jpmc.cib.is.bigdata. falcon.SemsStaticDataProvider Failing Oozie Launcher, Main class [org.apache.oozie.action.hadoop.ShellMain], exit code [1] On Thu, Nov 27, 2014 at 11:43 AM, Shwetha GS wrote: > oozie launches a hadoop job which executes the shell script. Check the > launcher job logs > > On Thu, Nov 27, 2014 at 11:39 AM, Gaurav Agarwal > wrote: > > > Srikanth > > > > What do we mean by that in oozie context? > > > > Thanks > > > > On Thu, Nov 27, 2014 at 11:36 AM, Srikanth Sundarrajan < > > sriksun@hotmail.com> > > wrote: > > > > > Looks like the script ingest.sh is returning non-zero exit code. > > > > > > Regards > > > Srikanth Sundarrajan > > > > > > > Date: Thu, 27 Nov 2014 11:31:30 +0530 > > > > Subject: Re: Need help for the problem that i faced > > > > From: gzagarwal@gmail.com > > > > To: dev@falcon.incubator.apache.org > > > > > > > > These are the log > > > > > > > > 2014-11-27 05:37:02,726 INFO ActionStartXCommand:543 - SERVER[ > > > > sandbox.hortonworks.com] USER[ambari-qa] GROUP[-] TOKEN[] > > APP[shell-wf] > > > > JOB[0000129-141126162609456-oozie-oozi-W] > > > > ACTION[0000129-141126162609456-oozie-oozi-W@:start:] Start action > > > > [0000129-141126162609456-oozie-oozi-W@:start:] with user-retry > state : > > > > userRetryCount [0], userRetryMax [0], userRetryInterval [10] > > > > 2014-11-27 05:37:02,727 INFO ActionStartXCommand:543 - SERVER[ > > > > sandbox.hortonworks.com] USER[ambari-qa] GROUP[-] TOKEN[] > > APP[shell-wf] > > > > JOB[0000129-141126162609456-oozie-oozi-W] > > > > ACTION[0000129-141126162609456-oozie-oozi-W@:start:] > > > > [***0000129-141126162609456-oozie-oozi-W@:start:***]Action > status=DONE > > > > 2014-11-27 05:37:02,727 INFO ActionStartXCommand:543 - SERVER[ > > > > sandbox.hortonworks.com] USER[ambari-qa] GROUP[-] TOKEN[] > > APP[shell-wf] > > > > JOB[0000129-141126162609456-oozie-oozi-W] > > > > ACTION[0000129-141126162609456-oozie-oozi-W@:start:] > > > > [***0000129-141126162609456-oozie-oozi-W@:start:***]Action updated > in > > > DB! > > > > 2014-11-27 05:37:03,151 INFO ActionStartXCommand:543 - SERVER[ > > > > sandbox.hortonworks.com] USER[ambari-qa] GROUP[-] TOKEN[] > > APP[shell-wf] > > > > JOB[0000129-141126162609456-oozie-oozi-W] > > > > ACTION[0000129-141126162609456-oozie-oozi-W@shell-node] Start action > > > > [0000129-141126162609456-oozie-oozi-W@shell-node] with user-retry > > state > > > : > > > > userRetryCount [0], userRetryMax [0], userRetryInterval [10] > > > > 2014-11-27 05:37:05,377 INFO ShellActionExecutor:543 - SERVER[ > > > > sandbox.hortonworks.com] USER[ambari-qa] GROUP[-] TOKEN[] > > APP[shell-wf] > > > > JOB[0000129-141126162609456-oozie-oozi-W] > > > > ACTION[0000129-141126162609456-oozie-oozi-W@shell-node] checking > > action, > > > > hadoop job ID [job_1417019189193_0117] status [RUNNING] > > > > 2014-11-27 05:37:05,378 INFO ActionStartXCommand:543 - SERVER[ > > > > sandbox.hortonworks.com] USER[ambari-qa] GROUP[-] TOKEN[] > > APP[shell-wf] > > > > JOB[0000129-141126162609456-oozie-oozi-W] > > > > ACTION[0000129-141126162609456-oozie-oozi-W@shell-node] > > > > [***0000129-141126162609456-oozie-oozi-W@shell-node***]Action > > > > status=RUNNING > > > > 2014-11-27 05:37:05,379 INFO ActionStartXCommand:543 - SERVER[ > > > > sandbox.hortonworks.com] USER[ambari-qa] GROUP[-] TOKEN[] > > APP[shell-wf] > > > > JOB[0000129-141126162609456-oozie-oozi-W] > > > > ACTION[0000129-141126162609456-oozie-oozi-W@shell-node] > > > > [***0000129-141126162609456-oozie-oozi-W@shell-node***]Action > updated > > in > > > > DB! > > > > 2014-11-27 05:37:49,260 INFO CallbackServlet:543 - SERVER[ > > > > sandbox.hortonworks.com] USER[-] GROUP[-] TOKEN[-] APP[-] > > > > JOB[0000129-141126162609456-oozie-oozi-W] > > > > ACTION[0000129-141126162609456-oozie-oozi-W@shell-node] callback for > > > action > > > > [0000129-141126162609456-oozie-oozi-W@shell-node] > > > > 2014-11-27 05:37:50,753 INFO ShellActionExecutor:543 - SERVER[ > > > > sandbox.hortonworks.com] USER[ambari-qa] GROUP[-] TOKEN[] > > APP[shell-wf] > > > > JOB[0000129-141126162609456-oozie-oozi-W] > > > > ACTION[0000129-141126162609456-oozie-oozi-W@shell-node] action > > > completed, > > > > external ID [job_1417019189193_0117] > > > > 2014-11-27 05:37:50,761 WARN ShellActionExecutor:546 - SERVER[ > > > > sandbox.hortonworks.com] USER[ambari-qa] GROUP[-] TOKEN[] > > APP[shell-wf] > > > > JOB[0000129-141126162609456-oozie-oozi-W] > > > > ACTION[0000129-141126162609456-oozie-oozi-W@shell-node] Launcher > > ERROR, > > > > reason: Main class [org.apache.oozie.action.hadoop.ShellMain], exit > > code > > > > [1] > > > > 2014-11-27 05:37:50,865 INFO ActionEndXCommand:543 - SERVER[ > > > > sandbox.hortonworks.com] USER[ambari-qa] GROUP[-] TOKEN[] > > APP[shell-wf] > > > > JOB[0000129-141126162609456-oozie-oozi-W] > > > > ACTION[0000129-141126162609456-oozie-oozi-W@shell-node] ERROR is > > > considered > > > > as FAILED for SLA > > > > 2014-11-27 05:37:50,941 INFO ActionStartXCommand:543 - SERVER[ > > > > sandbox.hortonworks.com] USER[ambari-qa] GROUP[-] TOKEN[] > > APP[shell-wf] > > > > JOB[0000129-141126162609456-oozie-oozi-W] > > > > ACTION[0000129-141126162609456-oozie-oozi-W@fail] Start action > > > > [0000129-141126162609456-oozie-oozi-W@fail] with user-retry state : > > > > userRetryCount [0], userRetryMax [0], userRetryInterval [10] > > > > 2014-11-27 05:37:50,942 INFO ActionStartXCommand:543 - SERVER[ > > > > sandbox.hortonworks.com] USER[ambari-qa] GROUP[-] TOKEN[] > > APP[shell-wf] > > > > JOB[0000129-141126162609456-oozie-oozi-W] > > > > ACTION[0000129-141126162609456-oozie-oozi-W@fail] > > > > [***0000129-141126162609456-oozie-oozi-W@fail***]Action status=DONE > > > > 2014-11-27 05:37:50,942 INFO ActionStartXCommand:543 - SERVER[ > > > > sandbox.hortonworks.com] USER[ambari-qa] GROUP[-] TOKEN[] > > APP[shell-wf] > > > > JOB[0000129-141126162609456-oozie-oozi-W] > > > > ACTION[0000129-141126162609456-oozie-oozi-W@fail] > > > > [***0000129-141126162609456-oozie-oozi-W@fail***]Action updated in > DB! > > > > > > > > On Thu, Nov 27, 2014 at 10:25 AM, Shwetha GS > > > wrote: > > > > > > > > > ingest.sh > > > > > Try using absolute path. > > > > > > > > > > None of the logs imply any error. Can you attach all the oozie logs > > > for the > > > > > workflow? > > > > > > > > > > > > > > > > > > > > > > > > > On Thu, Nov 27, 2014 at 7:50 AM, Gaurav Agarwal < > gzagarwal@gmail.com > > > > > > > > wrote: > > > > > > > > > > > Hello I am running apache falcon and oozie with shell script to > run > > > the > > > > > > workflow. > > > > > > > > > > > > > > > > > > > > > > > > getting this error > > > > > > > > > > > > *ell-node] Launcher ERROR, reason: Main class > > > > > > [org.apache.oozie.action.hadoop.ShellMain], exit code [1]* > > > > > > *2014-11-26 17:24:06,645 INFO ActionEndXCommand:543 - > > > > > > SERVER[sandbox.hortonworks.com ] > > > > > > USER[ambari-qa] GROUP[-] TOKEN[] APP[shell-wf] > > > > > > JOB[0000020-141126162609456-oozie-oozi-W] > > > > > > ACTION[0000020-141126162609456-oozie-oozi-W@shell-node] ERROR is > > > > > > considered > > > > > > as FAILED for SLA* > > > > > > *2014-11-26 17:24:06,702 INFO ActionStartXCommand:543 - > > > > > > SERVER[sandbox.hortonworks.com ] > > > > > > USER[ambari-qa] GROUP[-] TOKEN[] APP[shell-wf] > > > > > > JOB[0000020-141126162609456-oozie-oozi-W] > > > > > > ACTION[0000020-141126162609456-oozie-oozi-W@fail] Start action > > > > > > [0000020-141126162609456-oozie-* > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > *Workflow* > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ${jobTracker} > > > > > > ${nameNode} > > > > > > > > > > > > > > > > > > mapred.job.queue.name > > > > > > ${queueName} > > > > > > > > > > > > > > > > > > ingest.sh > > > > > > ${feedInstancePaths} > > > > > > ${wf:appPath()}/ingest.sh#ingest.sh > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Shell action failed, error > > > > > > message[${wf:errorMessage(wf:lastErrorNode())}] > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > This is the shell script > > > > > > > > > > > > > > > > > > > > > > > > #!/bin/bash > > > > > > > > > > > > > > > > > > java -cp > > > > > > > > > > > > > > > > > "/media/sf_ToSandbox/BigData-0.0.1-SNAPSHOT.jar:/usr/hdp/2.2.0.0-913/sqoop/lib/*:/usr/hdp/2.2.0.0-913/hadoop/lib/*" > > > > > > com.bigdata.falcon.StaticDataProvider > > > > > > > > > > > > > > > > > > > > > > > > These are the feed and process and cluster information > > > > > > > > > > > > > > > > > > > > > > > > > name="FINALrawEmailFeed" > > > > > > xmlns="uri:falcon:feed:0.1"> > > > > > > > > > > > > > > > externalSystem=USWestEmailServers,classification=secure > > > > > > churnAnalysisDataPipeline > > > > > > minutes(3) > > > > > > > > > > > > > > > > > > > > > > > > > > end="2016-03-31T00:00Z"/> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > path="/user/gaurav123/falcon/demo/primary/input/enron/${YEAR}-${MONTH}-${DAY}-${HOUR}"/> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > *Process* > > > > > > > > > > > > *-----------* > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > pipeline=churnAnalysisDataPipeline,owner=ETLGroup,externalSystem=USWestEmailServers > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > end="2014-11-25T10:00Z"/> > > > > > > > > > > > > > > > > > > > > > > > > 1 > > > > > > FIFO > > > > > > minutes(3) > > > > > > > > > > > > > > > > > > > > > > instance="now(0,0)" > > > > > > /> > > > > > > > > > > > > > > > > > > > > > > > engine="oozie" > > path="/user/gaurav123/falcon/demo/apps/ingest/fs" > > > /> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Can you please let me know what is the issue , I have tried since > > > long > > > > > two > > > > > > days? but unable to run the workflow with falcon process > > > > > > > > > > > > Also got this exception > > > > > > > > > > > > 2014-11-26 17:47:42,548 ERROR CompletedActionXCommand:540 - > > > > > > SERVER[sandbox.hortonworks.com] USER[-] GROUP[-] TOKEN[] APP[-] > > > > > > JOB[0000099-141126162609456-oozie-oozi-W] > > > > > > ACTION[0000099-141126162609456-oozie-oozi-W@user-action] > > XException, > > > > > > org.apache.oozie.command.CommandException: E0800: Action it is > not > > > > > > running its in [PREP] state, action > > > > > > [0000099-141126162609456-oozie-oozi-W@user-action] > > > > > > > > > > > > > > > > -- > > > > > _____________________________________________________________ > > > > > The information contained in this communication is intended solely > > for > > > the > > > > > use of the individual or entity to whom it is addressed and others > > > > > authorized to receive it. It may contain confidential or legally > > > privileged > > > > > information. If you are not the intended recipient you are hereby > > > notified > > > > > that any disclosure, copying, distribution or taking any action in > > > reliance > > > > > on the contents of this information is strictly prohibited and may > be > > > > > unlawful. If you have received this communication in error, please > > > notify > > > > > us immediately by responding to this email and then delete it from > > your > > > > > system. The firm is neither liable for the proper and complete > > > transmission > > > > > of the information contained in this communication nor for any > delay > > > in its > > > > > receipt. > > > > > > > > > > > > > > > -- > _____________________________________________________________ > The information contained in this communication is intended solely for the > use of the individual or entity to whom it is addressed and others > authorized to receive it. It may contain confidential or legally privileged > information. If you are not the intended recipient you are hereby notified > that any disclosure, copying, distribution or taking any action in reliance > on the contents of this information is strictly prohibited and may be > unlawful. If you have received this communication in error, please notify > us immediately by responding to this email and then delete it from your > system. The firm is neither liable for the proper and complete transmission > of the information contained in this communication nor for any delay in its > receipt. > --001a113cc7f27398620508d11f06--