之前,我在hadoop客户端计算机上运行此命令没有问题:
hadoop fs -cp test.log hdfs://remote-hadoop-server.com:/user/testuser
现在我想使用此命令测试文件是否在那里(它在那里!),但是我收到了这个错误:
hadoop fs -test -e hdfs://remote-hadoop-server.com:/user/testuser/test.log
-test: Too many arguments: expected 1 but got 2
Usage: hadoop fs [generic options] -test -[defsz] <path>