hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "No JinHo (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HBASE-970) Update the copy/rename scripts to go against change API
Date Mon, 08 Jun 2009 05:22:07 GMT

    [ https://issues.apache.org/jira/browse/HBASE-970?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12717154#action_12717154
] 

No JinHo commented on HBASE-970:
--------------------------------

rename_table.rb does not work. 

I made a table and put some data. when i used rename_table.rb to rename the table, it does
not work.
The directory, has new name, is created and the old datas are removed from HDFS. But I can
not find the table, has new name, form hbase shell.

I've got some worning messages. 

bash# hbase org.jruby.Main rename_table.rb tTest tTest3
09/06/08 11:59:15 INFO regionserver.HLog: HLog configuration: blocksize=67108864, maxlogentries=100000,
flushlogentries=100, optionallogflushinternal=10000ms
09/06/08 11:59:15 INFO regionserver.HLog: New log writer: /user/root/log_1244429955523/hlog.dat.1244429955540
09/06/08 11:59:15 INFO util.NativeCodeLoader: Loaded the native-hadoop library
09/06/08 11:59:15 INFO zlib.ZlibFactory: Successfully loaded & initialized native-zlib
library
09/06/08 11:59:15 INFO compress.CodecPool: Got brand-new decompressor
09/06/08 11:59:15 INFO compress.CodecPool: Got brand-new decompressor
09/06/08 11:59:15 INFO compress.CodecPool: Got brand-new decompressor
09/06/08 11:59:15 INFO compress.CodecPool: Got brand-new decompressor
09/06/08 11:59:15 INFO regionserver.HRegion: region -ROOT-,,0/70236052 available
09/06/08 11:59:15 INFO regionserver.HRegion: starting  compaction on region -ROOT-,,0
09/06/08 11:59:15 INFO regionserver.HRegion: compaction completed on region -ROOT-,,0 in 0sec
09/06/08 11:59:15 INFO rename_table: Scanning .META.,,1
09/06/08 11:59:15 INFO regionserver.HRegion: region .META.,,1/1028785192 available
09/06/08 11:59:15 INFO regionserver.HRegion: starting  compaction on region .META.,,1
09/06/08 11:59:15 INFO regionserver.HRegion: compaction completed on region .META.,,1 in 0sec
09/06/08 11:59:15 INFO rename_table: Renaming hdfs://nozino:9000/hbase/tTest/1674338366 as
hdfs://nozino:9000/hbase/tTest3/286899439
09/06/08 11:59:15 INFO rename_table: Removing tTest,,1244429417400 from .META.
09/06/08 11:59:15 INFO regionserver.HRegion: Closed -ROOT-,,0
09/06/08 11:59:15 INFO regionserver.HRegion: Closed .META.,,1
rename_table.rb:135: wrong # of arguments(2 for 4) (ArgumentError)
	from file:/usr/local/hbase-0.19.3/lib/jruby-complete-1.1.6.jar!/META-INF/jruby.home/lib/ruby/site_ruby/1.8/builtin/java/collections.rb:47:in
`call'
	from file:/usr/local/hbase-0.19.3/lib/jruby-complete-1.1.6.jar!/META-INF/jruby.home/lib/ruby/site_ruby/1.8/builtin/java/collections.rb:47:in
`each'
	from rename_table.rb:100


> Update the copy/rename scripts to go against change API
> -------------------------------------------------------
>
>                 Key: HBASE-970
>                 URL: https://issues.apache.org/jira/browse/HBASE-970
>             Project: Hadoop HBase
>          Issue Type: Bug
>            Reporter: stack
>             Fix For: 0.19.0
>
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message