oozie vesion : 2.3.2-cdh3u2
Trying to execute a shell command in the non-hadoop remote host from a hadoop supporting node.
Steps followed: 1. Copied the workflow.xml file containing the ssh action to create a file in the remote host to HDFS.
2. Submitted the job from a hadoop supporting node where oozie derver and oozie client both are installed.
Expected Result: Should create a file in the remote host
Issue faced: AUTH_FAILED: Not able to perform operation [ssh -o PasswordAuthentication=no -o KbdInteractiveDevices=no -o StrictHostKeyChecking=no -o ConnectTimeout=20 email@example.com mkdir -p oozie-oozi/0000000-120614121603884-oozie-oozi-W/ssh-node--ssh/ ] | ErrorStream: Permission denied (publickey,gssapi-with-mic,password) in the log file.
The documentation at "http://incubator.apache.org/oozie/docs/3.2.0-incubating/docs/ENG_Building.html#Passphare-less_SSH_Setup" clearly indicates that there must be a user setup with pass phrase less access to shell otherwise it will endup in PermissionDenied(publickey, password) scenario