mahout-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Musselman (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MAHOUT-1708) Replace Preconditions with asserts for Spark code
Date Tue, 19 May 2015 16:32:10 GMT

    [ https://issues.apache.org/jira/browse/MAHOUT-1708?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14550724#comment-14550724
] 

Andrew Musselman commented on MAHOUT-1708:
------------------------------------------

PR 132 has the removals of guava from dependency xmls.

> 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)

Mime
View raw message