mahout-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From p..@apache.org
Subject git commit: fixed bug, now reporting correct app name to Spark
Date Fri, 17 Oct 2014 18:05:50 GMT
Repository: mahout
Updated Branches:
  refs/heads/master 666d314fb -> 6651a3286


fixed bug, now reporting correct app name to Spark


Project: http://git-wip-us.apache.org/repos/asf/mahout/repo
Commit: http://git-wip-us.apache.org/repos/asf/mahout/commit/6651a328
Tree: http://git-wip-us.apache.org/repos/asf/mahout/tree/6651a328
Diff: http://git-wip-us.apache.org/repos/asf/mahout/diff/6651a328

Branch: refs/heads/master
Commit: 6651a328679742ce6c14ce8a4e6ab0bc0a05f7e9
Parents: 666d314
Author: pferrel <pat@occamsmachete.com>
Authored: Thu Oct 16 10:32:28 2014 -0700
Committer: pferrel <pat@occamsmachete.com>
Committed: Thu Oct 16 10:32:28 2014 -0700

----------------------------------------------------------------------
 .../main/scala/org/apache/mahout/drivers/MahoutOptionParser.scala   | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mahout/blob/6651a328/math-scala/src/main/scala/org/apache/mahout/drivers/MahoutOptionParser.scala
----------------------------------------------------------------------
diff --git a/math-scala/src/main/scala/org/apache/mahout/drivers/MahoutOptionParser.scala
b/math-scala/src/main/scala/org/apache/mahout/drivers/MahoutOptionParser.scala
index c6968b8..046bc87 100644
--- a/math-scala/src/main/scala/org/apache/mahout/drivers/MahoutOptionParser.scala
+++ b/math-scala/src/main/scala/org/apache/mahout/drivers/MahoutOptionParser.scala
@@ -59,6 +59,7 @@ class MahoutOptionParser(programName: String) extends OptionParser[Map[String,
A
 
   def parseSparkOptions = {
     opts = opts ++ MahoutOptionParser.SparkOptions
+    opts = opts + ("appName" -> programName)
     note("\nSpark config options:")
 
     opt[String]("master") abbr ("ma") text ("Spark Master URL (optional). Default: \"local\".
Note that you can specify the number of cores to get a performance improvement, for example
\"local[4]\"") action { (x, options) =>


Mime
View raw message