I'm trying to automate the installation of Sqoop 2
. Suppose the sqoop-server
is installed in the ip address 1.2.3.4
.
On the sqoop-client
I want to set that server's ip. Manually, to do so, I would:
sqoop2
sqoop:000> set server --host 1.2.3.4
how could I accomplish that using shell's pipe
and echo
? I've tried
set server --host 1.2.3.4 | sqoop2
but it didn't quite work.