Hadoop is a distributed filesystem. If you wanted to backup your table data to hdfs, you can use SELECT * INTO OUTFILE 'file_name' FROM tbl_name; Then, put it to hadoop dfs.
Edward On Thu, May 21, 2009 at 12:08 AM, dealmaker <vin...@gmail.com> wrote: > > No, actually I am using mysql. So it doesn't belong to Hive, I think. > > > owen.omalley wrote: >> >> >> On May 19, 2009, at 11:48 PM, dealmaker wrote: >> >>> >>> Hi, >>> I want to backup a table and then create a new empty one with >>> following >>> commands in Hadoop. How do I do it in java? Thanks. >> >> Since this is a question about Hive, you should be asking on >> hive-u...@hadoop.apache.org >> . >> >> -- Owen >> >> > > -- > View this message in context: > http://www.nabble.com/How-to-Rename---Create-DB-Table-in-Hadoop--tp23629956p23637131.html > Sent from the Hadoop core-user mailing list archive at Nabble.com. > > -- Best Regards, Edward J. Yoon @ NHN, corp. edwardy...@apache.org http://blog.udanax.org