You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "stack (JIRA)" <ji...@apache.org> on 2008/10/29 19:46:44 UTC
[jira] Created: (HBASE-970) Update the copy/rename scripts to go
against change API
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
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
Re: [jira] Commented: (HBASE-970) Update the copy/rename scripts to
go against change API
Posted by Erik Holstad <er...@gmail.com>.
Opened up an issue or old scripts in
https://issues.apache.org/jira/browse/HBASE-1498
Erik
[jira] Commented: (HBASE-970) Update the copy/rename scripts to go
against change API
Posted by "stack (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-970?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12717277#action_12717277 ]
stack commented on HBASE-970:
-----------------------------
The scripts have gone stale. The API has changed on them. If you can't figure it out yourself, I'll take a look later. Thanks for reporting the issue.
> 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.
[jira] Resolved: (HBASE-970) Update the copy/rename scripts to go
against change API
Posted by "stack (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-970?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
stack resolved HBASE-970.
-------------------------
Resolution: Fixed
Fix Version/s: 0.19.0
Committed.
> 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.
[jira] Commented: (HBASE-970) Update the copy/rename scripts to go
against change API
Posted by "Nitay Joffe (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-970?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12717360#action_12717360 ]
Nitay Joffe commented on HBASE-970:
-----------------------------------
Why do these need to be scripts anyways? I think we should move this functionality into HBaseAdmin (or something else appropriate) and make it a part of the regular shell so that there won't be anymore disconnect between Java API and these operations.
> 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.
[jira] Commented: (HBASE-970) Update the copy/rename scripts to go
against change API
Posted by "No JinHo (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Commented: (HBASE-970) Update the copy/rename scripts to go
against change API
Posted by "stack (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-970?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12717455#action_12717455 ]
stack commented on HBASE-970:
-----------------------------
Agree Nitay. Scripts were just some hackups I checked into bin until we were able to get functionality into HBA.
> 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.