Spark-Shell— error: object jblas is not a member of package org (Windows)

旧时模样 提交于 2019-12-25 09:21:38

问题


I am running code in spark shell in windows

import org.jblas.DoubleMatrix 

The error which I am getting is

error: object jblas is not a member of package org 

I researched on stackoverflow, but answer is available for Linux system only.

Any help will be greatly appreciated.

Kind regards, Innocent


回答1:


You should add jblas to your classpath when you startup spark-shell

such as:

bin/spark-shell --packages org.jblas:jblas:1.2.4-SNAPSHOT

Then, the ivy in the spark distribution will load jblas automatically.



来源:https://stackoverflow.com/questions/39237379/spark-shell-error-object-jblas-is-not-a-member-of-package-org-windows

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!