Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

oozie ssh-action execute command failed

Solved Go to solution

oozie ssh-action execute command failed

Explorer

my ssh-action problem is that, run "ls" or"pwd" or "mkdir dirtest" or "java -version" with ssh action is successful. but, when i run "sqlplus","sqlplus user/pass","sqlplus user/pass@localhost/pdb1 @test.sql " is failed and there is not any useful log in "log" tab or "oozie-oozie" directory. and you know i want execute some oracle sql statement bu oozie ssh action. thank you very much.

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted

Re: oozie ssh-action execute command failed

Explorer

hello.everyone.  the first step in ssh-action is "source /home/oracle/bash_profile",and then you can run oracle command. thanks

2 REPLIES 2

Re: oozie ssh-action execute command failed

Super Collaborator

This looks like it is a duplicate of what I already answered in: this thread

Highlighted

Re: oozie ssh-action execute command failed

Explorer

hello.everyone.  the first step in ssh-action is "source /home/oracle/bash_profile",and then you can run oracle command. thanks