You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spot.apache.org by ev...@apache.org on 2017/01/25 18:36:16 UTC

[04/49] incubator-spot git commit: More editing on SuspiciousConnectsArgumentParser to eliminate old (dropped) arguments.

More editing on SuspiciousConnectsArgumentParser to eliminate old (dropped) arguments.


Project: http://git-wip-us.apache.org/repos/asf/incubator-spot/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-spot/commit/f3b36526
Tree: http://git-wip-us.apache.org/repos/asf/incubator-spot/tree/f3b36526
Diff: http://git-wip-us.apache.org/repos/asf/incubator-spot/diff/f3b36526

Branch: refs/heads/master
Commit: f3b3652673713fd36152605c64df9a95e140e818
Parents: d7d6ae0
Author: Brandon Edwards <br...@intel.com>
Authored: Wed Dec 7 16:39:18 2016 -0800
Committer: Brandon Edwards <br...@intel.com>
Committed: Wed Dec 7 16:39:18 2016 -0800

----------------------------------------------------------------------
 .../spot/SuspiciousConnectsArgumentParser.scala     | 16 ----------------
 1 file changed, 16 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-spot/blob/f3b36526/spot-ml/src/main/scala/org/apache/spot/SuspiciousConnectsArgumentParser.scala
----------------------------------------------------------------------
diff --git a/spot-ml/src/main/scala/org/apache/spot/SuspiciousConnectsArgumentParser.scala b/spot-ml/src/main/scala/org/apache/spot/SuspiciousConnectsArgumentParser.scala
index be0db30..e6f5c1c 100644
--- a/spot-ml/src/main/scala/org/apache/spot/SuspiciousConnectsArgumentParser.scala
+++ b/spot-ml/src/main/scala/org/apache/spot/SuspiciousConnectsArgumentParser.scala
@@ -11,11 +11,7 @@ object SuspiciousConnectsArgumentParser {
                                       feedbackFile: String = "",
                                       duplicationFactor: Int = 1,
                                       topicCount: Int = 20,
-                                      localPath: String = "",
-                                      localUser: String = "",
                                       userDomain: String = "",
-                                      ldaPath: String = "",
-                                      nodes: String = "",
                                       hdfsScoredConnect: String = "",
                                       threshold: Double = 1.0d,
                                       maxResults: Int = -1,
@@ -50,18 +46,6 @@ object SuspiciousConnectsArgumentParser {
       action((x, c) => c.copy(topicCount = x.toInt)).
       text("topic count")
 
-    opt[String]("lpath").required().valueName("<local path>").
-      action((x, c) => c.copy(localPath = x)).
-      text("Local Path")
-
-    opt[String]("ldapath").required().valueName("<local path>").
-      action((x, c) => c.copy(ldaPath = x)).
-      text("LDA Path")
-
-    opt[String]("luser").required().valueName("<local path>").
-      action((x, c) => c.copy(localUser = x)).
-      text("Local user path")
-
     opt[String]("userdomain").required().valueName("<user domain>").
       action((x, c) => c.copy(userDomain = x)).
       text("Domain of spot user (example: intel)")