Try giving full path to sqoop exe in your script.

On Tue, Apr 22, 2014 at 9:59 AM, Miguel Angel Martin junquera <
mianmarjun.mailingl...@gmail.com> wrote:

> hi all,
>
> I need to create  a shell script action with sqoop export  command but
>  when I try  I  see the error  in the logs of tasktracker and The action
> info status is SUCCEEDED.
>
> -----
>
>
>
> ..
> *stderr logs*
>
>   % Total    % Received % Xferd  Average Speed   Time    Time     Time
>  Current
>                                  Dload  Upload   Total   Spent    Left
>  Speed
>
>   0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--
>   0
> 100    14  100    14    0     0   1828      0 --:--:-- --:--:-- --:--:--
>  2000
>   % Total    % Received % Xferd  Average Speed   Time    Time     Time
>  Current
>                                  Dload  Upload   Total   Spent    Left
>  Speed
>
>   0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--
>   0
> 100    22  100    22    0     0   1343      0 --:--:-- --:--:--
> --:--:--  1375*./scriptTest.sh: line 9: sqoop: command not found*
>
>
> -----
>
> D
>
> Is it posible?
>
> how can I add or run or use sqoop  command in a shell script action ?
>
>
> Thanks in advance and regards
>

Reply via email to