Github user vrajat commented on the pull request:

    https://github.com/apache/incubator-zeppelin/pull/278#issuecomment-173466556
  
    Surprising. It seems like the hbase ruby scripts arent loaded. I used the
    interpreter two days back. I'll try to reproduce the problem.
    
    On Thu, Jan 21, 2016 at 11:32 AM Felix Cheung <[email protected]>
    wrote:
    
    > @vrajat <https://github.com/vrajat> I am having problem getting this to
    > work. It's like this is my setup but I wonder if you have any idea to fix
    > this
    >
    >    - HBase bin release from Apache Mirror hbase/hbase-1.0.2/
    >    - HBase running, hbase shell working
    >    - Built distribution for Zeppelin
    >    - set JAVA_HOME, start Zeppelin, enable hbase, set hbase.home in
    >    property
    >
    > When I ran this
    >
    > %hbase
    > help
    >
    > I got this
    >
    > (NameError) undefined local variable or method `help' for main:Object
    >
    > and in the log
    >
    >  INFO [2016-01-21 05:40:07,314] ({pool-2-thread-2} 
SchedulerFactory.java[jobStarted]:129) - Job remoteInterpretJob_1453354807312 
started by scheduler org.apache.zeppelin.hbase.HbaseInterpreter599771689
    >  INFO [2016-01-21 05:40:07,494] ({pool-2-thread-2} 
HbaseInterpreter.java[open]:86) - Home:/opt/hbase-1.0.2
    >  INFO [2016-01-21 05:40:07,494] ({pool-2-thread-2} 
HbaseInterpreter.java[open]:87) - Ruby Src:lib/ruby
    >  INFO [2016-01-21 05:40:07,495] ({pool-2-thread-2} 
HbaseInterpreter.java[interpret]:110) - help
    > ERROR [2016-01-21 05:40:11,026] ({pool-2-thread-2} 
HbaseInterpreter.java[interpret]:117) - Can not run 'help'
    > org.jruby.embed.EvalFailedException: (NameError) undefined local variable 
or method `help' for main:Object
    >     at 
org.jruby.embed.internal.EmbedEvalUnitImpl.run(EmbedEvalUnitImpl.java:136)
    >     at 
org.jruby.embed.ScriptingContainer.runUnit(ScriptingContainer.java:1263)
    >     at 
org.jruby.embed.ScriptingContainer.runScriptlet(ScriptingContainer.java:1256)
    >     at 
org.apache.zeppelin.hbase.HbaseInterpreter.interpret(HbaseInterpreter.java:112)
    >     at 
org.apache.zeppelin.interpreter.ClassloaderInterpreter.interpret(ClassloaderInterpreter.java:57)
    >     at 
org.apache.zeppelin.interpreter.LazyOpenInterpreter.interpret(LazyOpenInterpreter.java:93)
    >     at 
org.apache.zeppelin.interpreter.remote.RemoteInterpreterServer$InterpretJob.jobRun(RemoteInterpreterServer.java:305)
    >     at org.apache.zeppelin.scheduler.Job.run(Job.java:172)
    >     at 
org.apache.zeppelin.scheduler.FIFOScheduler$1.run(FIFOScheduler.java:139)
    >     at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    >     at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    >     at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
    >     at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
    >     at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    >     at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    >     at java.lang.Thread.run(Thread.java:745)
    > Caused by: org.jruby.exceptions.RaiseException: (NameError) undefined 
local variable or method `help' for main:Object
    >
    > —
    > Reply to this email directly or view it on GitHub
    > 
<https://github.com/apache/incubator-zeppelin/pull/278#issuecomment-173465856>
    > .
    >



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to