sqoop:000> show version --server
Exception has occurred during processing command
Exception: org.apache.sqoop.common.SqoopException Message: CLIENT_0000:An unknown error has occurred
原因是没有指定服务端
在sqoop:000>中
set server --host 主机名或IP地址
show version --server
sqoop:000> show version --all
client version:
Sqoop 1.99.5-cdh5.13.1 source revision 2cb91fd2e2b04e48f05f9ec98f3ef75978980c5c
Compiled by jenkins on Thu Nov 9 08:18:58 PST 2017
server version:
Sqoop 1.99.5-cdh5.13.1 source revision 2cb91fd2e2b04e48f05f9ec98f3ef75978980c5c
Compiled by jenkins on Thu Nov 9 08:18:58 PST 2017
API versions:
[v1]