hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Purtell (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (HBASE-2524) Java version of add_table.rb
Date Wed, 16 Jul 2014 22:05:07 GMT

     [ https://issues.apache.org/jira/browse/HBASE-2524?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Andrew Purtell resolved HBASE-2524.
-----------------------------------

    Resolution: Won't Fix

> Java version of add_table.rb
> ----------------------------
>
>                 Key: HBASE-2524
>                 URL: https://issues.apache.org/jira/browse/HBASE-2524
>             Project: HBase
>          Issue Type: Task
>            Reporter: stack
>
> Someone was asking for a java version of add_table.rb.  I took a look.  Should be able
to make a class file out of add_table.rb.  See http://kenai.com/projects/jruby/pages/GeneratingJavaClasses.
 I played w/ it some.  I'd need to refactor it a little to make it easier to call but basically
works.  I did:
> {code}
>   967  ./bin/jruby bin/jrubyc --dir /Users/stack/checkouts/0.20/bin/  /Users/stack/checkouts/0.20/bin/add_table.rb
>   969  javap add_table.class 
> {code}
> Then...
> {code}
> $ ./bin/hbase add_table
> Usage: add_table.rb TABLE_DIR [alternate_tablename]
> Exception in thread "main" org.jruby.exceptions.MainExitException: aborted
> {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message