hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "stack (JIRA)" <j...@apache.org>
Subject [jira] Created: (HBASE-2524) Java version of add_table.rb
Date Sat, 08 May 2010 06:42:47 GMT
Java version of add_table.rb

                 Key: HBASE-2524
                 URL: https://issues.apache.org/jira/browse/HBASE-2524
             Project: Hadoop 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:

  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 

$ ./bin/hbase add_table
Usage: add_table.rb TABLE_DIR [alternate_tablename]
Exception in thread "main" org.jruby.exceptions.MainExitException: aborted

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message