hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bhupendra Kumar Jain (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-13049) wal_roll ruby command doesn't work.
Date Mon, 16 Feb 2015 13:20:12 GMT
Bhupendra Kumar Jain created HBASE-13049:

             Summary: 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
            Reporter: Bhupendra Kumar Jain

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

It should be like 

This message was sent by Atlassian JIRA

View raw message