Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Plain View
HBase >> mail # user >> Hbase: Table rename


Copy link to this message
-
Hbase: Table rename
Hi,

Is the table rename not supported in Hbase 0.90.0 at the moment?
I tried using the rename_table.rb in the bin directory but it returned  
with the following errors:

./rename_table.rb abc xyz
./rename_table.rb: line 36: include: command not found
./rename_table.rb: line 37: import: command not found
./rename_table.rb: line 38: import: command not found
./rename_table.rb: line 39: import: command not found
./rename_table.rb: line 40: import: command not found
./rename_table.rb: line 41: import: command not found
./rename_table.rb: line 42: import: command not found
./rename_table.rb: line 43: import: command not found
./rename_table.rb: line 44: import: command not found
./rename_table.rb: line 45: import: command not found
./rename_table.rb: line 46: import: command not found
./rename_table.rb: line 47: import: command not found
./rename_table.rb: line 48: import: command not found
./rename_table.rb: line 49: import: command not found
./rename_table.rb: line 50: import: command not found
./rename_table.rb: line 51: import: command not found
./rename_table.rb: line 52: import: command not found
./rename_table.rb: line 53: import: command not found
./rename_table.rb: line 54: import: command not found
./rename_table.rb: line 55: import: command not found
./rename_table.rb: line 58: NAME: command not found
./rename_table.rb: line 61: def: command not found
./rename_table.rb: line 62: puts: command not found
./rename_table.rb: line 63: exit!: command not found
./rename_table.rb: line 64: end: command not found
./rename_table.rb: line 67: syntax error near unexpected token `('
./rename_table.rb: line 67: `def isDirExists(fs, dir)'

Thanks,
Usman

--
Using Opera's revolutionary email client: http://www.opera.com/mail/
+
Stack 2011-02-28, 16:45
+
Jean-Daniel Cryans 2011-02-28, 17:24
+
Usman Waheed 2011-02-28, 17:35
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB