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:

{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 is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to