I have setup a Hadoop cluster containing 5 nodes on Amazon EC2. Now, when i login into the Master node and submit the following command
bin/hadoop jar
Use
-Dfs.s3n.awsAccessKeyId= -Dfs.s3n.awsSecretAccessKey=
e.g.
hadoop distcp -Dfs.s3n.awsAccessKeyId= -Dfs.s3n.awsSecretAccessKey= -
or
hadoop fs -Dfs.s3n.awsAccessKeyId= -Dfs.s3n.awsSecretAccessKey= -