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/03/06 00:37:40 UTC
[jira] [Commented] (MAHOUT-1643) CLI arguments are not being
processed in spark-shell
[ https://issues.apache.org/jira/browse/MAHOUT-1643?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14349626#comment-14349626 ]
Pat Ferrel commented on MAHOUT-1643:
------------------------------------
Should be working in the master branch but it's
{{-D:k=n}}
notice the ":" which is the way scopt does these. I've used it for several things that do work so let me know if something specific does not.
> CLI arguments are not being processed in spark-shell
> ----------------------------------------------------
>
> Key: MAHOUT-1643
> URL: https://issues.apache.org/jira/browse/MAHOUT-1643
> Project: Mahout
> Issue Type: Bug
> Components: CLI, spark
> Affects Versions: 1.0
> Environment: spark spark-shell
> Reporter: Andrew Palumbo
> Labels: DSL, scala, spark, spark-shell
> Fix For: 1.0
>
>
> The CLI arguments are not being processed in spark-shell. Most importantly the spark options are not being passed to the spark configuration via:
> {code}
> $ mahout spark-shell -Dk=v
> {code}
> The arguments are preserved it through {code}$ bin/mahout{code}There should be a relatively easy fix either by using the MahoutOptionParser, Scopt or by simply parsing the args array.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)