Re: Dependency on TestingUtils in a Spark package

2016-01-12 Thread Robert Dodier
On Tue, Jan 12, 2016 at 12:55 PM, Reynold Xin wrote: > If you need it, just copy it over to your own package. That's probably the > safest option. OK, not a big deal, I was just hoping to avoid that, in part because the stuff I'm working on is also proposed as a pull request, and it seems like i

Re: Dependency on TestingUtils in a Spark package

2016-01-12 Thread Reynold Xin
If you need it, just copy it over to your own package. That's probably the safest option. On Tue, Jan 12, 2016 at 12:50 PM, Ted Yu wrote: > There is no annotation in TestingUtils class indicating whether it is > suitable for consumption by external projects. > > You should assume the class is

Re: Dependency on TestingUtils in a Spark package

2016-01-12 Thread Ted Yu
There is no annotation in TestingUtils class indicating whether it is suitable for consumption by external projects. You should assume the class is not public since its methods may change in future Spark releases. Cheers On Tue, Jan 12, 2016 at 12:36 PM, Robert Dodier wrote: > Hi, > > I'm putt

Dependency on TestingUtils in a Spark package

2016-01-12 Thread Robert Dodier
Hi, I'm putting together a Spark package (in the spark-packages.org sense) and I'd like to make use of the class org.apache.spark.mllib.util.TestingUtils which appears in mllib/src/test. Can I declare a dependency in my build.sbt to pull in a suitable jar? I have searched around but I have not bee