Reply
Explorer
Posts: 24
Registered: ‎12-05-2017
Accepted Solution

oozie ssh-action execute command failed

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.

Cloudera Employee
Posts: 260
Registered: ‎01-16-2014

Re: oozie ssh-action execute command failed

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

Highlighted
Explorer
Posts: 24
Registered: ‎12-05-2017

Re: oozie ssh-action execute command failed

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

Announcements