Distcp: Operation category READ is not supported in state standby

Let’s say you need to run the distcp command:

hadoop distcp -Dmapreduce.map.memory.mb=1000 -m 200 hdfs://node1:8020/your/folder1 hdfs://node1:8020/your/folder2

But as a result, you get an error like this:

ERROR tools.DistCp: Invalid arguments:
org.apache.hadoop.ipc.RemoteException(org.apache.hadoop.ipc.StandbyException): Operation category READ is not supported in state standby. Visit https://s.apache.org/sbnn-error

One of the non-obvious reasons for such an error may be that node1:8020 is not an active node. Recheck the hostname and run the command again.

Telegram channel

If you still have any questions, feel free to ask me in the comments under this article or write me at promark33@gmail.com.

If I saved your day, you can support me 🤝

2 thoughts on “Distcp: Operation category READ is not supported in state standby

Leave a Reply

Your email address will not be published. Required fields are marked *