Is there a command avaialble to copy the files from HDFS
to another linux
box.
The Cluster is secured one.
I hope the copyToLocal
will copy the files inside the cluster, actually i wanted to copy files outside the cluster.
Is there a command avaialble to copy the files from HDFS
to another linux
box.
The Cluster is secured one.
I hope the copyToLocal
will copy the files inside the cluster, actually i wanted to copy files outside the cluster.
You could use WebHDFS to copy the file to your local machine. See for example here: http://hortonworks.com/blog/webhdfs-%E2%80%93-http-rest-access-to-hdfs/.
Since your cluster is secured (I suppose using Kerberos), you will need to get a Kerberos ticket (with kinit
), and add flags like: -udummy:dummy --negotiate
to your curl command.