Hello, Your nameNode property value does not include a scheme. It should be hdfs://mycluster. The stackoverflow error happens because 2 functions keep calling each other in an infinite loop. As you see in your stacktrace the function called on line 444 calls the other one on line 470 and so on.
Cheers, Oussama Chougna > From: [email protected] > To: [email protected] > Subject: Shell action error > Date: Wed, 19 Aug 2015 10:24:36 +0000 > > Hello, > > I am using Oozie 4.1.0.2.2 installed on HDP 2.2. > I am trying to execute a shell action via the command line. Here is my > workflow.xml: > > <workflow-app name="SecondAttempt" xmlns="uri:oozie:workflow:0.5"> > <start to="shell-3df9"/> > <action name="shell-3df9"> > <shell xmlns="uri:oozie:shell-action:0.1"> > <job-tracker>${jobTracker}</job-tracker> > <name-node>${nameNode}</name-node> > <exec>mkdir -p /user/oozie/share/test</exec> > <capture-output/> > </shell> > <ok to="End"/> > <error to="End"/> > </action> > <end name="End"/> > </workflow-app> > > And my job.properties: > > oozie.wf.application.path=hdfs://mycluster/user/oozie/share > oozie.libpath=/user/oozie/share > nameNode=mycluster > jobTracker=rm1,rm2 > > When I submit & start the job I see this error in the logs (on the Oozie UI): > > 2015-08-19 11:19:23,079 ERROR ActionStartXCommand:540 - > SERVER[eu-lamp-prod-xl-0065-hadoop-sec-master] USER[oozie] GROUP[-] TOKEN[] > APP[SecondAttempt] JOB[0000001-150819110832545-oozie-oozi-W] > ACTION[0000001-150819110832545-oozie-oozi-W@shell-3df9] Error, > java.lang.StackOverflowError > at > org.apache.hadoop.conf.Configuration.handleDeprecation(Configuration.java:602) > at org.apache.hadoop.conf.Configuration.get(Configuration.java:1107) > at org.apache.hadoop.fs.FileContext.getFileContext(FileContext.java:470) > at org.apache.hadoop.fs.FileContext.getFileContext(FileContext.java:444) > at org.apache.hadoop.fs.FileContext.getFileContext(FileContext.java:470) > at org.apache.hadoop.fs.FileContext.getFileContext(FileContext.java:444) > at org.apache.hadoop.fs.FileContext.getFileContext(FileContext.java:470) > at org.apache.hadoop.fs.FileContext.getFileContext(FileContext.java:444) > > I have cut the error message down but it repeats itself like above for a > while until the job is killed. > > What does this error mean? > > Cheers, > Dale > > ________________________________ > > Capgemini is a trading name used by the Capgemini Group of companies which > includes Capgemini UK plc, a company registered in England and Wales (number > 943935) whose registered office is at No. 1, Forge End, Woking, Surrey, GU21 > 6DB. > This message contains information that may be privileged or confidential and > is the property of the Capgemini Group. It is intended only for the person to > whom it is addressed. If you are not the intended recipient, you are not > authorized to read, print, retain, copy, disseminate, distribute, or use this > message or any part thereof. If you receive this message in error, please > notify the sender immediately and delete all copies of this message.
