Thanks for the tip, but my analytic queries work fine after my Scala script is pre-loaded. In my notebook, I just type in "%sql SQL-QUERY-STATEMENT", and it works fine. What exactly is %dep used for ? I never used this interpreter.
------------------ ???????? ------------------ ??????: "bear gan";<bear...@hotmail.com>; ????????: 2016??1??21??(??????) ????10:14 ??????: "Mina Lee"<mina...@apache.org>; "users@zeppelin.incubator.apache.org"<users@zeppelin.incubator.apache.org>; ????: ????: error: object jblas is not a member of package org Thanks so much! It works fine as I expected. Note that%dep interpreter should be used before %spark, %pyspark, %sql. ??????: bear gan ????????: 2016??1??20?? 17:16 ??????: Mina Lee; users@zeppelin.incubator.apache.org ????: re: error: object jblas is not a member of package org Run ////////////////////////////////////////////////////////////////// %dep z.load("org.scalanlp:jblas:1.2.1") ////////////////////////////////////////////////////////////////// Out: dep interpreter not found Hi, have you tried to load jblas library using %dep interpreter? For example, you can try to run below: ``` %dep z.load("org.scalanlp:jblas:1.2.1") ``` And then run `import org.jblas.DoubleMatrix` in next paragraph. If you want to know another way to load external library, please check "Dependency Management" section in https://zeppelin.incubator.apache.org/docs/0.6.0-incubating-SNAPSHOT/interpreter/spark.html Hope this helps. On Tue, Jan 19, 2016 at 11:46 PM, bear gan <bear...@hotmail.com> wrote: How to solve this problem? //////////////////////////////////////////////////////////////////////////////// import org.jblas.DoubleMatrix <console>:21: error: object jblas is not a member of package org import org.jblas.DoubleMatrix ////////////////////////////////////////////////////////////////////////////////