hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-13049) wal_roll ruby command doesn't work.
Date Mon, 16 Feb 2015 17:01:14 GMT

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

Hudson commented on HBASE-13049:
--------------------------------

SUCCESS: Integrated in HBase-1.0 #748 (See [https://builds.apache.org/job/HBase-1.0/748/])
HBASE-13049 wal_roll ruby command doesn't work (matteo.bertozzi: rev b2552a6e986c39acfe51bb70990b9c4a9d6cd50d)
* hbase-shell/src/main/ruby/hbase/admin.rb


> wal_roll ruby command doesn't work. 
> ------------------------------------
>
>                 Key: HBASE-13049
>                 URL: https://issues.apache.org/jira/browse/HBASE-13049
>             Project: HBase
>          Issue Type: Bug
>          Components: shell
>    Affects Versions: 1.0.0, 2.0.0
>            Reporter: Bhupendra Kumar Jain
>             Fix For: 1.0.0, 2.0.0
>
>         Attachments: 0001-HBASE-13049-wal_roll-ruby-command-doesn-t-work.patch
>
>
> On execution of wal_roll command in shell, error message gets displayed as shown below
> hbase(main):005:0> wal_roll 'host-10-19-92-94,16201,1424081618286'
> *ERROR: cannot convert instance of class org.jruby.RubyString to class org.apache.hadoop.hbase.ServerName*
> its because Admin Java api expecting a ServerName object but script passes the ServerName
as string. 
> currently script is as below
> {code}
> @admin.rollWALWriter(server_name)
> {code}
> It should be like 
> {code}
> @admin.rollWALWriter(ServerName.valueOf(server_name))
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message