I need to distcp hdfs://nn1:port/foo/bar/2016/* and
hdfs://nn1:port/foo/bar/2017/* into
hdfs://nn2:port/foo/bar/2016/* and
hdfs://nn2:port/foo/bar/2017/* in one go..How can we achieve that? If I use distcp
hdfs://nn1:port/foo/bar/2016/
\
hdfs://nn1:port/foo/bar/2017
hdfs://nn2:port/foo/bar/ then underlying directoris i.e. 2016 and 2017 are not getting created. I need distcp to create these directories and copy data.