spark-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From acidghost <andreajemm...@gmail.com>
Subject unsafe/compile error
Date Sun, 21 Jun 2015 10:18:23 GMT
Hello there!I'm getting a compilation error when trying to run sbt
mllib/test.Here're the errors:
[info] Compiling 15 Java sources to
/media/SB-1TB/workarea/apache-spark/unsafe/target/scala-2.10/classes...[error]
/media/SB-1TB/workarea/apache-spark/unsafe/src/main/java/org/apache/spark/unsafe/memory/MemoryBlock.java:20:
error: cannot find symbol[error] import javax.annotation.Nullable;[error]                
      
^[error]   symbol:   class Nullable[error]   location: package
javax.annotation[error]
/media/SB-1TB/workarea/apache-spark/unsafe/src/main/java/org/apache/spark/unsafe/memory/MemoryLocation.java:20:
error: cannot find symbol[error] import javax.annotation.Nullable;[error]                
      
^[error]   symbol:   class Nullable[error]   location: package
javax.annotation[error]
/media/SB-1TB/workarea/apache-spark/unsafe/src/main/java/org/apache/spark/unsafe/memory/ExecutorMemoryManager.java:24:
error: package javax.annotation.concurrent does not exist[error] import
javax.annotation.concurrent.GuardedBy;[error]                                  
^[error]
/media/SB-1TB/workarea/apache-spark/unsafe/src/main/java/org/apache/spark/unsafe/memory/MemoryBlock.java:37:
error: cannot find symbol[error]   MemoryBlock(@Nullable Object obj, long
offset, long length) {[error]                ^[error]   symbol:   class
Nullable[error]   location: class MemoryBlock[error]
/media/SB-1TB/workarea/apache-spark/unsafe/src/main/java/org/apache/spark/unsafe/memory/MemoryLocation.java:28:
error: cannot find symbol[error]   @Nullable[error]    ^[error]   symbol:  
class Nullable[error]   location: class MemoryLocation[error]
/media/SB-1TB/workarea/apache-spark/unsafe/src/main/java/org/apache/spark/unsafe/memory/MemoryLocation.java:33:
error: cannot find symbol[error]   public MemoryLocation(@Nullable Object
obj, long offset) {[error]                          ^[error]   symbol:  
class Nullable[error]   location: class MemoryLocation[error]
/media/SB-1TB/workarea/apache-spark/unsafe/src/main/java/org/apache/spark/unsafe/memory/ExecutorMemoryManager.java:42:
error: cannot find symbol[error]   @GuardedBy("this")[error]    ^[error]  
symbol:   class GuardedBy[error]   location: class
ExecutorMemoryManager[error] 7 errors[error] (unsafe/compile:compile) javac
returned nonzero exit code[error] Total time: 1 s, completed Jun 21, 2015
12:13:26 PM
I'm testing a new feature and I'm unable to do that now.. Any suggestion?



--
View this message in context: http://apache-spark-developers-list.1001551.n3.nabble.com/unsafe-compile-error-tp12815.html
Sent from the Apache Spark Developers List mailing list archive at Nabble.com.
Mime
View raw message