All,
Is it possible for an oozie shell action to call the hdfs cli? I have tried
this both with "hadoop distcp <blah> <blah>" as well as "hadoop fs -ls
<blah>" and each time I try it I get the following error:
Error: Exception thrown by the agent :
java.rmi.server.ExportException: Port already in use: <port_value>;
nested exception is:
java.net.BindException: Address already in use
Failing Oozie Launcher, Main class
[org.apache.oozie.action.hadoop.ShellMain], exit code [1]
I am assuming this is because we are binding <port_value> as the
tasktracker jmx port in the hadoop-env.sh and it is being executed a second
time when it tries to use the CLI. If I am on the right track is there a
simple way around this?
Thanks.
--
Matt