hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Daniel Cryans <jdcry...@apache.org>
Subject Re: Implement a shell in the Master UI
Date Mon, 16 Jul 2012 22:14:04 GMT
Hi Claudiu,

Our IRB shell is hackish enough that trying to use it from the web UI
make it sounds like a project that's doomed from the beginning (but I
say this from my limited experience with IRB, JRuby and calling JRuby
from Java).

On the other hand, it sounds like it could be useful...


On Thu, Jul 12, 2012 at 2:29 PM, Claudiu Olteanu
<olteanu.claudiu@ymail.com> wrote:
> Hello!
> My name in Claudiu Olteanu and I want to implement a shell in the Master UI. The problem
is that
> I  don't know how to capture the output of the IRB's commands. I tried to create a new
ruby class
> which runs the commands and save the stdout but it can't call any IRB's methods.
> I've never used ruby before, so please give me some tips!
> You can find a sample of my code here [1].
> Best regards,
> Claudiu
> [1] - http://stackoverflow.com/questions/11457960/rubynomethoderror-call-a-ruby-method-from-java

View raw message