Return-Path: X-Original-To: apmail-hadoop-user-archive@minotaur.apache.org Delivered-To: apmail-hadoop-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 47C08105FD for ; Wed, 9 Oct 2013 12:46:54 +0000 (UTC) Received: (qmail 78835 invoked by uid 500); 9 Oct 2013 12:46:47 -0000 Delivered-To: apmail-hadoop-user-archive@hadoop.apache.org Received: (qmail 78579 invoked by uid 500); 9 Oct 2013 12:46:47 -0000 Mailing-List: contact user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hadoop.apache.org Delivered-To: mailing list user@hadoop.apache.org Received: (qmail 78567 invoked by uid 99); 9 Oct 2013 12:46:46 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Oct 2013 12:46:46 +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 kasavarun@gmail.com designates 209.85.212.180 as permitted sender) Received: from [209.85.212.180] (HELO mail-wi0-f180.google.com) (209.85.212.180) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Oct 2013 12:46:39 +0000 Received: by mail-wi0-f180.google.com with SMTP id hj8so662772wib.13 for ; Wed, 09 Oct 2013 05:46:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=k1b0nP+wcf7gbC3bvBUBQKSYKvZ0JqhUVQ/GLQUTTes=; b=MsoL4xRXMuDssyOX5GjJW/5y4sHambpftyYcuJYcfbsHjbv4czx9qaACVSz+/CZHgl iedZPZZgRok1+1ZfSE/I6RIWgV0gJtmwTy3v4ykXwAKJkLGL1HMil81TflvlCA1a2cZa dEZcOaYPdz8VC0ukqchRfaNNWMwFYmmIOmd7ZXaHI9L1L6aCEUclKP1kXT0U7UqFUNSp szSw5bdgxFbA99DNifMnHxsgxrTg2zsk/sZ7lgR8d6ncJd8Hi2v/syFoc98iOjRE2dsf px5kJhm8EyjIR6pv5mO+X5KEosnnb8+jsaaqMWI8KFHnbY8tMBgtG+zqiOfKIIvs44o+ pRoQ== MIME-Version: 1.0 X-Received: by 10.194.88.98 with SMTP id bf2mr170441wjb.82.1381322779585; Wed, 09 Oct 2013 05:46:19 -0700 (PDT) Received: by 10.194.200.226 with HTTP; Wed, 9 Oct 2013 05:46:19 -0700 (PDT) Date: Wed, 9 Oct 2013 18:16:19 +0530 Message-ID: Subject: Oozie SSH Action Issue From: Kasa V Varun Tej To: "cdh-user@cloudera.org" , user@hadoop.apache.org Content-Type: multipart/alternative; boundary=089e010d825a98fa2804e84e4543 X-Virus-Checked: Checked by ClamAV on apache.org --089e010d825a98fa2804e84e4543 Content-Type: text/plain; charset=ISO-8859-1 #Oozie SSH Action Issue: *Issue:* We are trying to run few commands on a particular host machine of our cluster. We chose SSH Action for the same. We have been facing this SSH issue for some time now. What might be the real issue here? Please point me towards the solution. *logs:* AUTH_FAILED: Not able to perform operation [ssh -o PasswordAuthentication=no -o KbdInteractiveDevices=no -o StrictHostKeyChecking=no -o ConnectTimeout=20 USER@1.2.3.4 mkdir -p oozie-oozi/0000000-131008185935754-oozie-oozi-W/action1--ssh/ ] | ErrorStream: Warning: Permanently added host,1.2.3.4 (RSA) to the list of known hosts. Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password). org.apache.oozie.action.ActionExecutorException: AUTH_FAILED: Not able to perform operation [ssh -o PasswordAuthentication=no -o KbdInteractiveDevices=no -o StrictHostKeyChecking=no -o ConnectTimeout=20 user@1.2.3.4 mkdir -p oozie-oozi/0000000-131008185935754-oozie-oozi-W/action1--ssh/ ] | ErrorStream: Warning: Permanently added 1.2.3.4,192.168.34.208 (RSA) to the list of known hosts. Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password). at org.apache.oozie.action.ssh.SshActionExecutor.execute(SshActionExecutor.java:589) at org.apache.oozie.action.ssh.SshActionExecutor.start(SshActionExecutor.java:204) at org.apache.oozie.command.wf.ActionStartXCommand.execute(ActionStartXCommand.java:211) at org.apache.oozie.command.wf.ActionStartXCommand.execute(ActionStartXCommand.java:59) at org.apache.oozie.command.XCommand.call(XCommand.java:277) at org.apache.oozie.service.CallableQueueService$CompositeCallable.call(CallableQueueService.java:326) at org.apache.oozie.service.CallableQueueService$CompositeCallable.call(CallableQueueService.java:255) at org.apache.oozie.service.CallableQueueService$CallableWrapper.run(CallableQueueService.java:175) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) Caused by: java.io.IOException: Not able to perform operation [ssh -o PasswordAuthentication=no -o KbdInteractiveDevices=no -o StrictHostKeyChecking=no -o ConnectTimeout=20 user@1.2.3.4 mkdir -p oozie-oozi/0000000-131008185935754-oozie-oozi-W/action1--ssh/ ] | ErrorStream: Warning: Permanently added '1.2.3.4,1.2.3.4' (RSA) to the list of known hosts. Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password). at org.apache.oozie.action.ssh.SshActionExecutor.executeCommand(SshActionExecutor.java:340) at org.apache.oozie.action.ssh.SshActionExecutor.setupRemote(SshActionExecutor.java:373) at org.apache.oozie.action.ssh.SshActionExecutor$1.call(SshActionExecutor.java:206) at org.apache.oozie.action.ssh.SshActionExecutor$1.call(SshActionExecutor.java:204) at org.apache.oozie.action.ssh.SshActionExecutor.execute(SshActionExecutor.java:547) ... 10 more 2013-10-09 12:48:25,982 WARN org.apache.oozie.command.wf.ActionStartXCommand: USER[user] GROUP[-] TOKEN[] APP[Test] JOB[0000000-131008185935754-oozie-oozi-W] ACTION[0000000-131008185935754-oozie-oozi-W@action1] Suspending Workflow Job id=0000000-131008185935754-oozie-oozi-W 2013-10-09 12:48:27,204 WARN org.apache.oozie.command.coord.CoordActionUpdateXCommand: USER[user] GROUP[-] TOKEN[] APP[Test] JOB[0000000-131008185935754-oozie-oozi-W] ACTION[0000000-131008185935754-oozie-oozi-W@action1] E1100: Command precondition does not hold before execution, [, coord action is null], Error Code: E1100 2013-10-09 12:59:57,477 INFO org.apache.oozie.command.wf.KillXCommand: USER[user] GROUP[-] TOKEN[] APP[Test] JOB[0000000-131008185935754-oozie-oozi-W] ACTION[-] STARTED WorkflowKillXCommand for jobId=0000000-131008185935754-oozie-oozi-W 2013-10-09 12:59:57,685 WARN org.apache.oozie.command.coord.CoordActionUpdateXCommand: USER[user] GROUP[-] TOKEN[] APP[Test] JOB[0000000-131008185935754-oozie-oozi-W] ACTION[-] E1100: Command precondition does not hold before execution, [, coord action is null], Error Code: E1100 2013-10-09 12:59:57,686 INFO org.apache.oozie.command.wf.KillXCommand: USER[user] GROUP[-] TOKEN[] APP[Test] JOB[0000000-131008185935754-oozie-oozi-W] ACTION[-] ENDED WorkflowKillXCommand for jobId=0000000-131008185935754-oozie-oozi-W 2013-10-09 13:41:32,654 WARN org.apache.oozie.command.wf.KillXCommand: USER[user] GROUP[-] TOKEN[] APP[Test] JOB[0000000-131008185935754-oozie-oozi-W] ACTION[-] E0725: Workflow instance can not be killed, 0000000-131008185935754-oozie-oozi-W, Error Code: E0725 2013-10-09 13:41:45,199 WARN org.apache.oozie.command.wf.KillXCommand: USER[user] GROUP[-] TOKEN[] APP[Test] JOB[0000000-131008185935754-oozie-oozi-W] ACTION[-] E0725: Workflow instance can not be killed, 0000000-131008185935754-oozie-oozi-W, Error Code: E0725 2013-10-09 13:42:04,869 WARN org.apache.oozie.command.wf.ResumeXCommand: USER[user] GROUP[-] TOKEN[] APP[Test] JOB[0000000-131008185935754-oozie-oozi-W] ACTION[-] E1100: Command precondition does not hold before execution, [workflow's status is KILLED is not SUSPENDED], Error Code: E1100 2013-10-09 13:45:56,357 WARN org.apache.oozie.command.wf.KillXCommand: USER[user] GROUP[-] TOKEN[] APP[Test] JOB[0000000-131008185935754-oozie-oozi-W] ACTION[-] E0725: Workflow instance can not be killed, 0000000-131008185935754-oozie-oozi-W, Error Code: E0725 *Approached tried:* 1. Password-less SSH set 2. User proxies set 3. Giving permissions to the required folders Thanks; Kasa. --089e010d825a98fa2804e84e4543 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

#Oozie SSH Action Issue:

*Issue:*
We are tryin= g to run few commands on a particular host machine of our cluster. We chose= SSH Action for the same. We have been facing this SSH issue for some time = now. What might be the real issue here? Please point me towards the solutio= n.


*logs:*

AUTH_FAILED: Not able to perform operation [ssh -o Pas= swordAuthentication=3Dno -o KbdInteractiveDevices=3Dno -o StrictHostKeyChec= king=3Dno -o ConnectTimeout=3D20 USER@1.2.3= .4 mkdir -p oozie-oozi/0000000-131008185935754-oozie-oozi-W/action1--ss= h/ ] | ErrorStream: Warning: Permanently added host,1.2.3.4 (RSA) to the li= st of known hosts. Permission denied (publickey,gssapi-keyex,gssapi-with-mi= c,password).

org.apache.oozie.action.ActionExecutorException: AUTH_FAILED: Not able t= o perform operation [ssh -o PasswordAuthentication=3Dno -o KbdInteractiveDe= vices=3Dno -o StrictHostKeyChecking=3Dno -o ConnectTimeout=3D20 user@1.2.3.4=A0 mkdir -p oozie-oozi/0000000-131008= 185935754-oozie-oozi-W/action1--ssh/ ] | ErrorStream: Warning: Permanently = added 1.2.3.4,192.168.34.208 (RSA) to the list of known hosts.
Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password).

= =A0at org.apache.oozie.action.ssh.SshActionExecutor.execute(SshActionExecut= or.java:589)
=A0at org.apache.oozie.action.ssh.SshActionExecutor.start(S= shActionExecutor.java:204)
=A0at org.apache.oozie.command.wf.ActionStartXCommand.execute(ActionStartXC= ommand.java:211)
=A0at org.apache.oozie.command.wf.ActionStartXCommand.e= xecute(ActionStartXCommand.java:59)
=A0at org.apache.oozie.command.XComm= and.call(XCommand.java:277)
=A0at org.apache.oozie.service.CallableQueueService$CompositeCallable.call(= CallableQueueService.java:326)
=A0at org.apache.oozie.service.CallableQu= eueService$CompositeCallable.call(CallableQueueService.java:255)
=A0at o= rg.apache.oozie.service.CallableQueueService$CallableWrapper.run(CallableQu= eueService.java:175)
=A0at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec= utor.java:886)
=A0at java.util.concurrent.ThreadPoolExecutor$Worker.run(= ThreadPoolExecutor.java:908)
=A0at java.lang.Thread.run(Thread.java:662)=
Caused by: java.io.IOException: Not able to perform operation [ssh -o Passw= ordAuthentication=3Dno -o KbdInteractiveDevices=3Dno -o StrictHostKeyChecki= ng=3Dno -o ConnectTimeout=3D20 user@1.2.3.4= =A0 mkdir -p oozie-oozi/0000000-131008185935754-oozie-oozi-W/action1--s= sh/ ] | ErrorStream: Warning: Permanently added '1.2.3.4,1.2.3.4' (= RSA) to the list of known hosts.
Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password).

= =A0at org.apache.oozie.action.ssh.SshActionExecutor.executeCommand(SshActio= nExecutor.java:340)
=A0at org.apache.oozie.action.ssh.SshActionExecutor.= setupRemote(SshActionExecutor.java:373)
=A0at org.apache.oozie.action.ssh.SshActionExecutor$1.call(SshActionExecuto= r.java:206)
=A0at org.apache.oozie.action.ssh.SshActionExecutor$1.call(S= shActionExecutor.java:204)
=A0at org.apache.oozie.action.ssh.SshActionEx= ecutor.execute(SshActionExecutor.java:547)
=A0... 10 more
2013-10-09 12:48:25,982 WARN org.apache.oozie.command.wf.= ActionStartXCommand: USER[user] GROUP[-] TOKEN[] APP[Test] JOB[0000000-1310= 08185935754-oozie-oozi-W] ACTION[0000000-131008185935754-oozie-oozi-W@actio= n1] Suspending Workflow Job id=3D0000000-131008185935754-oozie-oozi-W
2013-10-09 12:48:27,204 WARN org.apache.oozie.command.coord.CoordActionUpda= teXCommand: USER[user] GROUP[-] TOKEN[] APP[Test] JOB[0000000-1310081859357= 54-oozie-oozi-W] ACTION[0000000-131008185935754-oozie-oozi-W@action1] E1100= : Command precondition does not hold before execution, [, coord action is n= ull], Error Code: E1100
2013-10-09 12:59:57,477 INFO org.apache.oozie.command.wf.KillXCommand: USER= [user] GROUP[-] TOKEN[] APP[Test] JOB[0000000-131008185935754-oozie-oozi-W]= ACTION[-] STARTED WorkflowKillXCommand for jobId=3D0000000-131008185935754= -oozie-oozi-W
2013-10-09 12:59:57,685 WARN org.apache.oozie.command.coord.CoordActionUpda= teXCommand: USER[user] GROUP[-] TOKEN[] APP[Test] JOB[0000000-1310081859357= 54-oozie-oozi-W] ACTION[-] E1100: Command precondition does not hold before= execution, [, coord action is null], Error Code: E1100
2013-10-09 12:59:57,686 INFO org.apache.oozie.command.wf.KillXCommand: USER= [user] GROUP[-] TOKEN[] APP[Test] JOB[0000000-131008185935754-oozie-oozi-W]= ACTION[-] ENDED WorkflowKillXCommand for jobId=3D0000000-131008185935754-o= ozie-oozi-W
2013-10-09 13:41:32,654 WARN org.apache.oozie.command.wf.KillXCommand: USER= [user] GROUP[-] TOKEN[] APP[Test] JOB[0000000-131008185935754-oozie-oozi-W]= ACTION[-] E0725: Workflow instance can not be killed, 0000000-131008185935= 754-oozie-oozi-W, Error Code: E0725
2013-10-09 13:41:45,199 WARN org.apache.oozie.command.wf.KillXCommand: USER= [user] GROUP[-] TOKEN[] APP[Test] JOB[0000000-131008185935754-oozie-oozi-W]= ACTION[-] E0725: Workflow instance can not be killed, 0000000-131008185935= 754-oozie-oozi-W, Error Code: E0725
2013-10-09 13:42:04,869 WARN org.apache.oozie.command.wf.ResumeXCommand: US= ER[user] GROUP[-] TOKEN[] APP[Test] JOB[0000000-131008185935754-oozie-oozi-= W] ACTION[-] E1100: Command precondition does not hold before execution, [w= orkflow's status is KILLED is not SUSPENDED], Error Code: E1100
2013-10-09 13:45:56,357 WARN org.apache.oozie.command.wf.KillXCommand: USER= [user] GROUP[-] TOKEN[] APP[Test] JOB[0000000-131008185935754-oozie-oozi-W]= ACTION[-] E0725: Workflow instance can not be killed, 0000000-131008185935= 754-oozie-oozi-W, Error Code: E0725

=A0

*Approached tried:*

1. Password-less SSH set
2. User = proxies set
3. Giving permissions to the required folders

Thanks;<= /p>

Kasa.

--089e010d825a98fa2804e84e4543--