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";<[email protected]>; ????????: 2016??1??21??(??????) ????10:14 ??????: "Mina Lee"<[email protected]>; "[email protected]"<[email protected]>; ????: ????: 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; [email protected] ????: 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 <[email protected]> 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 ////////////////////////////////////////////////////////////////////////////////
