You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Andrew Purtell (JIRA)" <ji...@apache.org> on 2014/07/17 00:05:07 UTC
[jira] [Resolved] (HBASE-2524) Java version of add_table.rb
[ 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)