Advertisement
aironman

output build.sbt

Mar 14th, 2016
134
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. MacBook-Pro-Retina-de-Alonso:my-twitter-cassandra-app aironman$ sbt
  2. [info] Loading project definition from /Users/aironman/twitter-cassandra-scala-app/my-twitter-cassandra-app/project
  3. [info] Set current project to spark-twitter-lang-classifier-using-cassandra (in build file:/Users/aironman/twitter-cassandra-scala-app/my-twitter-cassandra-app/)
  4. > compile
  5. [info] Updating {file:/Users/aironman/twitter-cassandra-scala-app/my-twitter-cassandra-app/}common...
  6. [info] Resolving org.fusesource.jansi#jansi;1.4 ...
  7. [info] Done updating.
  8. [warn] Scala version was updated by one of library dependencies:
  9. [warn] * org.scala-lang:scala-library:(2.10.4, 2.11.0) -> 2.11.1
  10. [warn] To force scalaVersion, add the following:
  11. [warn] ivyScala := ivyScala.value map { _.copy(overrideScalaVersion = true) }
  12. [warn] Run 'evicted' to see detailed eviction warnings
  13. [info] Updating {file:/Users/aironman/twitter-cassandra-scala-app/my-twitter-cassandra-app/}main...
  14. [info] Resolving org.fusesource.jansi#jansi;1.4 ...
  15. [info] Done updating.
  16. [warn] Scala version was updated by one of library dependencies:
  17. [warn] * org.scala-lang:scala-library:(2.10.4, 2.11.0) -> 2.11.1
  18. [warn] To force scalaVersion, add the following:
  19. [warn] ivyScala := ivyScala.value map { _.copy(overrideScalaVersion = true) }
  20. [warn] Run 'evicted' to see detailed eviction warnings
  21. [info] Compiling 5 Scala sources to /Users/aironman/twitter-cassandra-scala-app/my-twitter-cassandra-app/main/target/scala-2.10/classes...
  22. [error] /Users/aironman/twitter-cassandra-scala-app/my-twitter-cassandra-app/main/src/main/scala/com/databricks/apps/twitter_classifier/Collect.scala:7: object Seconds is not a member of package org.apache.spark.streaming
  23. [error] import org.apache.spark.streaming.{Seconds, StreamingContext}
  24. [error] ^
  25. [error] /Users/aironman/twitter-cassandra-scala-app/my-twitter-cassandra-app/main/src/main/scala/com/databricks/apps/twitter_classifier/Collect.scala:8: object SparkConf is not a member of package org.apache.spark
  26. [error] import org.apache.spark.{SparkConf, SparkContext}
  27. [error] ^
  28. [error] /Users/aironman/twitter-cassandra-scala-app/my-twitter-cassandra-app/main/src/main/scala/com/databricks/apps/twitter_classifier/Utils.scala:5: object mllib is not a member of package org.apache.spark
  29. [error] import org.apache.spark.mllib.feature.HashingTF
  30. [error] ^
  31. [error] /Users/aironman/twitter-cassandra-scala-app/my-twitter-cassandra-app/main/src/main/scala/com/databricks/apps/twitter_classifier/Utils.scala:4: object mllib is not a member of package org.apache.spark
  32. [error] import org.apache.spark.mllib.linalg.Vector
  33. [error] ^
  34. [error] /Users/aironman/twitter-cassandra-scala-app/my-twitter-cassandra-app/main/src/main/scala/com/databricks/apps/twitter_classifier/Collect.scala:36: not found: type SparkConf
  35. [error] val conf = new SparkConf().setAppName(this.getClass.getSimpleName)
  36. [error] ^
  37. [error] /Users/aironman/twitter-cassandra-scala-app/my-twitter-cassandra-app/main/src/main/scala/com/databricks/apps/twitter_classifier/Collect.scala:37: not found: type SparkContext
  38. [error] val sc = new SparkContext(conf)
  39. [error] ^
  40. [error] /Users/aironman/twitter-cassandra-scala-app/my-twitter-cassandra-app/main/src/main/scala/com/databricks/apps/twitter_classifier/Collect.scala:38: not found: type StreamingContext
  41. [error] val ssc = new StreamingContext(sc, Seconds(intervalSecs))
  42. [error] ^
  43. [error] bad symbolic reference. A signature in TwitterUtils.class refers to term api
  44. [error] in package org.apache.spark.streaming which is not available.
  45. [error] It may be completely missing from the current classpath, or the version on
  46. [error] the classpath might be incompatible with the version used when compiling TwitterUtils.class.
  47. [error] bad symbolic reference. A signature in TwitterUtils.class refers to term java
  48. [error] in value org.apache.spark.streaming.api which is not available.
  49. [error] It may be completely missing from the current classpath, or the version on
  50. [error] the classpath might be incompatible with the version used when compiling TwitterUtils.class.
  51. [error] /Users/aironman/twitter-cassandra-scala-app/my-twitter-cassandra-app/main/src/main/scala/com/databricks/apps/twitter_classifier/ExamineAndTrain.scala:4: object mllib is not a member of package org.apache.spark
  52. [error] import org.apache.spark.mllib.clustering.KMeans
  53. [error] ^
  54. [error] /Users/aironman/twitter-cassandra-scala-app/my-twitter-cassandra-app/main/src/main/scala/com/databricks/apps/twitter_classifier/ExamineAndTrain.scala:5: object sql is not a member of package org.apache.spark
  55. [error] import org.apache.spark.sql.SQLContext
  56. [error] ^
  57. [error] /Users/aironman/twitter-cassandra-scala-app/my-twitter-cassandra-app/main/src/main/scala/com/databricks/apps/twitter_classifier/ExamineAndTrain.scala:6: object SparkConf is not a member of package org.apache.spark
  58. [error] import org.apache.spark.{SparkConf, SparkContext}
  59. [error] ^
  60. [error] /Users/aironman/twitter-cassandra-scala-app/my-twitter-cassandra-app/main/src/main/scala/com/databricks/apps/twitter_classifier/ExamineAndTrain.scala:24: not found: type SparkConf
  61. [error] val conf = new SparkConf().setAppName(this.getClass.getSimpleName)
  62. [error] ^
  63. [error] /Users/aironman/twitter-cassandra-scala-app/my-twitter-cassandra-app/main/src/main/scala/com/databricks/apps/twitter_classifier/ExamineAndTrain.scala:25: not found: type SparkContext
  64. [error] val sc = new SparkContext(conf)
  65. [error] ^
  66. [error] /Users/aironman/twitter-cassandra-scala-app/my-twitter-cassandra-app/main/src/main/scala/com/databricks/apps/twitter_classifier/ExamineAndTrain.scala:26: not found: type SQLContext
  67. [error] val sqlContext = new SQLContext(sc)
  68. [error] ^
  69. [error] /Users/aironman/twitter-cassandra-scala-app/my-twitter-cassandra-app/main/src/main/scala/com/databricks/apps/twitter_classifier/ExamineAndTrain.scala:55: not found: value KMeans
  70. [error] val model = KMeans.train(vectors, numClusters, numIterations)
  71. [error] ^
  72. [error] /Users/aironman/twitter-cassandra-scala-app/my-twitter-cassandra-app/main/src/main/scala/com/databricks/apps/twitter_classifier/Predict.scala:3: object SparkConf is not a member of package org.apache.spark
  73. [error] import org.apache.spark.SparkConf
  74. [error] ^
  75. [error] /Users/aironman/twitter-cassandra-scala-app/my-twitter-cassandra-app/main/src/main/scala/com/databricks/apps/twitter_classifier/Predict.scala:4: object mllib is not a member of package org.apache.spark
  76. [error] import org.apache.spark.mllib.clustering.KMeansModel
  77. [error] ^
  78. [error] /Users/aironman/twitter-cassandra-scala-app/my-twitter-cassandra-app/main/src/main/scala/com/databricks/apps/twitter_classifier/Predict.scala:5: object mllib is not a member of package org.apache.spark
  79. [error] import org.apache.spark.mllib.linalg.Vector
  80. [error] ^
  81. [error] /Users/aironman/twitter-cassandra-scala-app/my-twitter-cassandra-app/main/src/main/scala/com/databricks/apps/twitter_classifier/Predict.scala:7: object Seconds is not a member of package org.apache.spark.streaming
  82. [error] import org.apache.spark.streaming.{Seconds, StreamingContext}
  83. [error] ^
  84. [error] /Users/aironman/twitter-cassandra-scala-app/my-twitter-cassandra-app/main/src/main/scala/com/databricks/apps/twitter_classifier/Predict.scala:23: not found: type SparkConf
  85. [error] val conf = new SparkConf().setAppName(this.getClass.getSimpleName)
  86. [error] ^
  87. [error] /Users/aironman/twitter-cassandra-scala-app/my-twitter-cassandra-app/main/src/main/scala/com/databricks/apps/twitter_classifier/Predict.scala:24: not found: type StreamingContext
  88. [error] val ssc = new StreamingContext(conf, Seconds(5))
  89. [error] ^
  90. [error] bad symbolic reference. A signature in TwitterUtils.class refers to term java
  91. [error] in value org.apache.spark.streaming.api which is not available.
  92. [error] It may be completely missing from the current classpath, or the version on
  93. [error] the classpath might be incompatible with the version used when compiling TwitterUtils.class.
  94. [error] /Users/aironman/twitter-cassandra-scala-app/my-twitter-cassandra-app/main/src/main/scala/com/databricks/apps/twitter_classifier/Predict.scala:31: not found: type KMeansModel
  95. [error] val model = new KMeansModel(ssc.sparkContext.objectFile[Vector](modelFile.toString).collect())
  96. [error] ^
  97. [error] /Users/aironman/twitter-cassandra-scala-app/my-twitter-cassandra-app/main/src/main/scala/com/databricks/apps/twitter_classifier/Utils.scala:12: not found: type HashingTF
  98. [error] val tf = new HashingTF(numFeatures)
  99. [error] ^
  100. [error] /Users/aironman/twitter-cassandra-scala-app/my-twitter-cassandra-app/main/src/main/scala/com/databricks/apps/twitter_classifier/Utils.scala:55: type Vector takes type parameters
  101. [error] def featurize(s: String): Vector = {
  102. [error] ^
  103. [error] 26 errors found
  104. [error] (main/compile:compileIncremental) Compilation failed
  105. [error] Total time: 5 s, completed 14-mar-2016 18:55:28
  106. >
Advertisement
Advertisement
Advertisement
RAW Paste Data Copied
Advertisement