我有一个要在 spark shell 中使用的库,如何添加这个库以便可以从 spark shell 访问?sbt:
resolvers += Resolver.bintrayRepo("unsupervise", "maven")
libraryDependencies += "com.github.unsupervise" %% "spark-tss" % "0.1.1"
行家:
<dependencies>
<!-- Other Dependencies -->
<dependency>
<groupId>com.github.unsupervise</groupId>
<artifactId>spark-tss_2.11</artifactId>
<version>0.1.1</version>
</dependency>
</dependencies>
<repositories>
<!-- Other Repositories ... -->
<repository>
<id>bintrayunsupervisemaven</id>
<name>bintray-unsupervise-maven</name>
<url>https://dl.bintray.com/unsupervise/maven/</url>
<layout>default</layout>
</repository>
</repositories>