You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mahout.apache.org by "Pat Ferrel (JIRA)" <ji...@apache.org> on 2015/05/18 20:01:00 UTC
[jira] [Created] (MAHOUT-1708) Replace Preconditions with asserts
for Spark code
Pat Ferrel created MAHOUT-1708:
----------------------------------
Summary: Replace Preconditions with asserts for Spark code
Key: MAHOUT-1708
URL: https://issues.apache.org/jira/browse/MAHOUT-1708
Project: Mahout
Issue Type: Bug
Components: Hdfs, Math
Affects Versions: 0.10.0
Environment: Spark
Reporter: Pat Ferrel
Assignee: Andrew Musselman
Fix For: 0.10.1
all use of guava has been removed from the code used with Spark except the use of Preconditions. These are pretty easy to replace.
1) remove guava from mahout-math, mahout-hdfs, poms and the spark dependency-reduced assembly.
2) you will now get compile errors for math and hdfs so remove the imports and replace and Preconditions with asserts.
Not sure how many errors in replacing these will be caught with unit tests so be careful.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)