hadoop fs -mv old_path new_path If one new_path isn't in HDFS, use -get instead of -mv.
If you're moving Hive tables, you should then use ALTER TABLE to change the metadata. Or, if the tables are external and have no partitions, you could just drop them and recreate them with the new location. On Tue, Feb 12, 2013 at 10:50 AM, Hamza Asad <hamza.asa...@gmail.com> wrote: > i want to change my HIVE/HDFS directory.. how can i transfer data which > resides in HDFS to some other directory ? either i have have to use > sqoop-export followed by sqoop-import to new location?? or is there any > easier solution for safely data transfer?? > > -- > *Muhammad Hamza Asad * > +923457261988 > -- *Dean Wampler, Ph.D.* thinkbiganalytics.com +1-312-339-1330