我在码头工具容器(https://github.com/jupyter/docker-stacks/tree/master/all-spark-notebook)中使用这个jupyter toree笔记本。
我尝试在笔记本中使用此%AddDeps命令添加HBASE依赖项:
%AddDeps org.apache.hbase hbase 1.3.1 --transitive --verbose
似乎找到了所有依赖项,但我仍然得到此输出(null错误?):
Magic AddDeps failed to execute with error:
null
我无法随后致电import org.apache.hadoop.hbase
,这意味着该库尚未安装。我非常感谢任何建议,谢谢。
答案 0 :(得分:0)
我解决了这个问题。导入错误的项目名称。应该是%AddDeps org.apache.hbase hbase-client 1.2.0 --transitive