I tried to use distcp to copy between Hadoop and Amazon S3 on setting up an EC2 cluster using spark scripts for EC2
[root]# bin/hadoop distcp s3n:
The error I received was
INFO ipc.Client: Retrying connect to server: .. Already tried n time(s). Copy failed: java.net.ConnectException: Call to ..my_server failed on connection excep\ tion: java.net.ConnectException: Connection refused
source share