You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 18, 2021. It is now read-only.
I have a CompositeCodec I'd like to contribute, but the SBT build fails with the following output:
[info] == cassie-core / compile ==
[info] Source analysis: 39 new/modified, 44 indirectly invalidated, 0 removed.
[info] Compiling main sources...
[error] Note: Some input files use unchecked or unsafe operations.
[error] Note: Recompile with -Xlint:unchecked for details.
[error] /Users/rstrickland/workspace/cassie/cassie-core/src/main/scala/com/twitter/cassie/BaseColumnFamily.scala:48: value setTerminalId is not a member of object com.twitter.finagle.tracing.Trace
[error] Trace.setTerminalId(Trace.nextId)
[error] ^
[error] /Users/rstrickland/workspace/cassie/cassie-core/src/main/scala/com/twitter/cassie/BatchMutationBuilder.scala:62: value Void is not a member of object com.twitter.util.Future
[error] Future.Void
[error] ^
[error] /Users/rstrickland/workspace/cassie/cassie-core/src/main/scala/com/twitter/cassie/Cluster.scala:56: not found: value collectionAsScalaIterable
[error] this(collectionAsScalaIterable(seedHosts).toSet, 9160, NullStatsReceiver)
[error] ^
[error] /Users/rstrickland/workspace/cassie/cassie-core/src/main/scala/com/twitter/cassie/ClusterRemapper.scala:58: not found: value collectionAsScalaIterable
[error] collectionAsScalaIterable(h.endpoints).map {
[error] ^
[error] /Users/rstrickland/workspace/cassie/cassie-core/src/main/scala/com/twitter/cassie/ColumnFamily.scala:184: not found: value collectionAsScalaIterable
[error] for (rowEntry <- collectionAsScalaIterable(rows.entrySet))
[error] ^
[error] /Users/rstrickland/workspace/cassie/cassie-core/src/main/scala/com/twitter/cassie/ColumnFamily.scala:231: not found: value collectionAsScalaIterable
[error] for (rowEntry <- collectionAsScalaIterable(result.entrySet)) {
[error] ^
[error] /Users/rstrickland/workspace/cassie/cassie-core/src/main/scala/com/twitter/cassie/ColumnFamily.scala:284: not found: value collectionAsScalaIterable
[error] for (key <- collectionAsScalaIterable(result.keySet)) {
[error] ^
[error] /Users/rstrickland/workspace/cassie/cassie-core/src/main/scala/com/twitter/cassie/CounterBatchMutationBuilder.scala:49: value Void is not a member of object com.twitter.util.Future
[error] Future.Void
[error] ^
[error] /Users/rstrickland/workspace/cassie/cassie-core/src/main/scala/com/twitter/cassie/CounterColumnFamily.scala:166: not found: value collectionAsScalaIterable
[error] for (rowEntry <- collectionAsScalaIterable(rows.entrySet))
[error] ^
[error] /Users/rstrickland/workspace/cassie/cassie-core/src/main/scala/com/twitter/cassie/CounterColumnFamily.scala:198: not found: value collectionAsScalaIterable
[error] for (rowEntry <- collectionAsScalaIterable(result.entrySet)) {
[error] ^
[error] /Users/rstrickland/workspace/cassie/cassie-core/src/main/scala/com/twitter/cassie/Keyspace.scala:76: value Void is not a member of object com.twitter.util.Future
[error] if (batches.size == 0) return Future.Void
[error] ^
[error] /Users/rstrickland/workspace/cassie/cassie-core/src/main/scala/com/twitter/cassie/SuperCounterBatchMutationBuilder.scala:33: value Void is not a member of object com.twitter.util.Future
[error] Future.Void
[error] ^
[error] /Users/rstrickland/workspace/cassie/cassie-core/src/main/scala/com/twitter/cassie/SuperCounterColumnFamily.scala:81: not found: value collectionAsScalaIterable
[error] for (rowEntry <- collectionAsScalaIterable(result.entrySet)) {
[error] ^
[error] /Users/rstrickland/workspace/cassie/cassie-core/src/main/scala/com/twitter/cassie/codecs/Codec.scala:18: collectionAsScalaIterable is not a member of scala.collection.JavaConversions
[error] import scala.collection.JavaConversions.collectionAsScalaIterable
[error] ^
[error] /Users/rstrickland/workspace/cassie/cassie-core/src/main/scala/com/twitter/cassie/codecs/Codec.scala:41: not found: value collectionAsScalaIterable
[error] for (value <- collectionAsScalaIterable(values))
[error] ^
[error] /Users/rstrickland/workspace/cassie/cassie-core/src/main/scala/com/twitter/cassie/codecs/LegacyUtf8Codec.scala:24: overloaded method constructor deprecated with alternatives: errordeprecated
[error](message: String)deprecated
[error] cannot be applied to (java.lang.String, java.lang.String)
[error] @deprecated("""Use the new Utf8Codec if you can. You may need to use this for backwards
[error] ^
[error] /Users/rstrickland/workspace/cassie/cassie-core/src/main/scala/com/twitter/cassie/codecs/LegacyUtf8Codec.scala:28: overloaded method constructor deprecated with alternatives: errordeprecated
[error](message: String)deprecated
[error] cannot be applied to (java.lang.String, java.lang.String)
[error] @deprecated("""Use the new Utf8Codec if you can. You may need to use this for backwards
[error] ^
[error] /Users/rstrickland/workspace/cassie/cassie-core/src/main/scala/com/twitter/cassie/codecs/LegacyUtf8Codec.scala:32: overloaded method constructor deprecated with alternatives: errordeprecated
[error](message: String)deprecated
[error] cannot be applied to (java.lang.String, java.lang.String)
[error] @deprecated("""Use the new Utf8Codec if you can. You may need to use this for backwards
[error] ^
[error] 18 errors found
[info] == cassie-core / compile ==
[info]
[info] == cassie-stress / check-deps-exist ==
[info] == cassie-stress / check-deps-exist ==
[info]
[info] == cassie-serversets / check-deps-exist ==
[info] == cassie-serversets / check-deps-exist ==
[info]
[info] == cassie-hadoop / check-deps-exist ==
[info] == cassie-hadoop / check-deps-exist ==
[error] Error running compile: Compilation failed
[info]
[info] Total time: 35 s, completed Oct 11, 2012 9:44:55 AM
[info]
[info] Total session time: 41 s, completed Oct 11, 2012 9:44:55 AM
[error] Error during build.
I noticed the sbt dependencies are different than the ones in the pom, so I tried updating the sbt ones to match the pom. This gets rid of the Twitter-related errors, but not the Scala ones. Changing to Scala 2.9 gets rid of those, but then the unit tests fail. I also tried the Maven build, but it complains of a missing plugin that seems to be internal to Twitter.
Am I missing something?
Robbie
The text was updated successfully, but these errors were encountered:
Have you managed to resolve this compile issues? Could you provide your detailed success configuration (probably the project/version.properties file). I have tried to upgrade finagle-* and util-logging up to 5.0.3 in version.properties file, but it doesn't help.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I have a CompositeCodec I'd like to contribute, but the SBT build fails with the following output:
[info] == cassie-core / compile ==
[info] Source analysis: 39 new/modified, 44 indirectly invalidated, 0 removed.
[info] Compiling main sources...
[error] Note: Some input files use unchecked or unsafe operations.
[error] Note: Recompile with -Xlint:unchecked for details.
[error] /Users/rstrickland/workspace/cassie/cassie-core/src/main/scala/com/twitter/cassie/BaseColumnFamily.scala:48: value setTerminalId is not a member of object com.twitter.finagle.tracing.Trace
[error] Trace.setTerminalId(Trace.nextId)
[error] ^
[error] /Users/rstrickland/workspace/cassie/cassie-core/src/main/scala/com/twitter/cassie/BatchMutationBuilder.scala:62: value Void is not a member of object com.twitter.util.Future
[error] Future.Void
[error] ^
[error] /Users/rstrickland/workspace/cassie/cassie-core/src/main/scala/com/twitter/cassie/Cluster.scala:56: not found: value collectionAsScalaIterable
[error] this(collectionAsScalaIterable(seedHosts).toSet, 9160, NullStatsReceiver)
[error] ^
[error] /Users/rstrickland/workspace/cassie/cassie-core/src/main/scala/com/twitter/cassie/ClusterRemapper.scala:58: not found: value collectionAsScalaIterable
[error] collectionAsScalaIterable(h.endpoints).map {
[error] ^
[error] /Users/rstrickland/workspace/cassie/cassie-core/src/main/scala/com/twitter/cassie/ColumnFamily.scala:184: not found: value collectionAsScalaIterable
[error] for (rowEntry <- collectionAsScalaIterable(rows.entrySet))
[error] ^
[error] /Users/rstrickland/workspace/cassie/cassie-core/src/main/scala/com/twitter/cassie/ColumnFamily.scala:231: not found: value collectionAsScalaIterable
[error] for (rowEntry <- collectionAsScalaIterable(result.entrySet)) {
[error] ^
[error] /Users/rstrickland/workspace/cassie/cassie-core/src/main/scala/com/twitter/cassie/ColumnFamily.scala:284: not found: value collectionAsScalaIterable
[error] for (key <- collectionAsScalaIterable(result.keySet)) {
[error] ^
[error] /Users/rstrickland/workspace/cassie/cassie-core/src/main/scala/com/twitter/cassie/CounterBatchMutationBuilder.scala:49: value Void is not a member of object com.twitter.util.Future
[error] Future.Void
[error] ^
[error] /Users/rstrickland/workspace/cassie/cassie-core/src/main/scala/com/twitter/cassie/CounterColumnFamily.scala:166: not found: value collectionAsScalaIterable
[error] for (rowEntry <- collectionAsScalaIterable(rows.entrySet))
[error] ^
[error] /Users/rstrickland/workspace/cassie/cassie-core/src/main/scala/com/twitter/cassie/CounterColumnFamily.scala:198: not found: value collectionAsScalaIterable
[error] for (rowEntry <- collectionAsScalaIterable(result.entrySet)) {
[error] ^
[error] /Users/rstrickland/workspace/cassie/cassie-core/src/main/scala/com/twitter/cassie/Keyspace.scala:76: value Void is not a member of object com.twitter.util.Future
[error] if (batches.size == 0) return Future.Void
[error] ^
[error] /Users/rstrickland/workspace/cassie/cassie-core/src/main/scala/com/twitter/cassie/SuperCounterBatchMutationBuilder.scala:33: value Void is not a member of object com.twitter.util.Future
[error] Future.Void
[error] ^
[error] /Users/rstrickland/workspace/cassie/cassie-core/src/main/scala/com/twitter/cassie/SuperCounterColumnFamily.scala:81: not found: value collectionAsScalaIterable
[error] for (rowEntry <- collectionAsScalaIterable(result.entrySet)) {
[error] ^
[error] /Users/rstrickland/workspace/cassie/cassie-core/src/main/scala/com/twitter/cassie/codecs/Codec.scala:18: collectionAsScalaIterable is not a member of scala.collection.JavaConversions
[error] import scala.collection.JavaConversions.collectionAsScalaIterable
[error] ^
[error] /Users/rstrickland/workspace/cassie/cassie-core/src/main/scala/com/twitter/cassie/codecs/Codec.scala:41: not found: value collectionAsScalaIterable
[error] for (value <- collectionAsScalaIterable(values))
[error] ^
[error] /Users/rstrickland/workspace/cassie/cassie-core/src/main/scala/com/twitter/cassie/codecs/LegacyUtf8Codec.scala:24: overloaded method constructor deprecated with alternatives:
errordeprecated
[error](message: String)deprecated
[error] cannot be applied to (java.lang.String, java.lang.String)
[error] @deprecated("""Use the new Utf8Codec if you can. You may need to use this for backwards
[error] ^
[error] /Users/rstrickland/workspace/cassie/cassie-core/src/main/scala/com/twitter/cassie/codecs/LegacyUtf8Codec.scala:28: overloaded method constructor deprecated with alternatives:
errordeprecated
[error](message: String)deprecated
[error] cannot be applied to (java.lang.String, java.lang.String)
[error] @deprecated("""Use the new Utf8Codec if you can. You may need to use this for backwards
[error] ^
[error] /Users/rstrickland/workspace/cassie/cassie-core/src/main/scala/com/twitter/cassie/codecs/LegacyUtf8Codec.scala:32: overloaded method constructor deprecated with alternatives:
errordeprecated
[error](message: String)deprecated
[error] cannot be applied to (java.lang.String, java.lang.String)
[error] @deprecated("""Use the new Utf8Codec if you can. You may need to use this for backwards
[error] ^
[error] 18 errors found
[info] == cassie-core / compile ==
[info]
[info] == cassie-stress / check-deps-exist ==
[info] == cassie-stress / check-deps-exist ==
[info]
[info] == cassie-serversets / check-deps-exist ==
[info] == cassie-serversets / check-deps-exist ==
[info]
[info] == cassie-hadoop / check-deps-exist ==
[info] == cassie-hadoop / check-deps-exist ==
[error] Error running compile: Compilation failed
[info]
[info] Total time: 35 s, completed Oct 11, 2012 9:44:55 AM
[info]
[info] Total session time: 41 s, completed Oct 11, 2012 9:44:55 AM
[error] Error during build.
I noticed the sbt dependencies are different than the ones in the pom, so I tried updating the sbt ones to match the pom. This gets rid of the Twitter-related errors, but not the Scala ones. Changing to Scala 2.9 gets rid of those, but then the unit tests fail. I also tried the Maven build, but it complains of a missing plugin that seems to be internal to Twitter.
Am I missing something?
Robbie
The text was updated successfully, but these errors were encountered: