incubator-blur-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Garrett Barton (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (BLUR-243) maven build not working
Date Wed, 25 Sep 2013 18:50:07 GMT

    [ https://issues.apache.org/jira/browse/BLUR-243?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13777904#comment-13777904
] 

Garrett Barton commented on BLUR-243:
-------------------------------------

So this is really an openJDK issue.  Aaron pointed out to me that mvn might say Sun Java but
it was really running openJDK still.  I switched over to Oracle Java and compiled just fine.
                
> maven build not working
> -----------------------
>
>                 Key: BLUR-243
>                 URL: https://issues.apache.org/jira/browse/BLUR-243
>             Project: Apache Blur
>          Issue Type: Bug
>    Affects Versions: 0.2.0
>         Environment: Linux Mint (ubuntu based), java 1.6, mvn 3.
>            Reporter: Garrett Barton
>
> I fresh cloned blur and here is the end of the mvn clean package install command with
some parameter outputs to show versions.
> [INFO] 5 errors 
> [INFO] -------------------------------------------------------------
> [INFO] ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO] 
> [INFO] Blur .............................................. SUCCESS [2.844s]
> [INFO] Blur Util ......................................... SUCCESS [4.115s]
> [INFO] Blur Thrift ....................................... SUCCESS [5.965s]
> [INFO] Blur Store ........................................ FAILURE [0.658s]
> [INFO] Blur Query ........................................ SKIPPED
> [INFO] Blur GUI .......................................... SKIPPED
> [INFO] Blur Core ......................................... SKIPPED
> [INFO] Blur Map Reduce ................................... SKIPPED
> [INFO] Blur Shell ........................................ SKIPPED
> [INFO] Blur JDBC ......................................... SKIPPED
> [INFO] Distribution ...................................... SKIPPED
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 14.050s
> [INFO] Finished at: Wed Sep 25 14:20:46 EDT 2013
> [INFO] Final Memory: 31M/300M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile
(default-compile) on project blur-store: Compilation failure: Compilation failure:
> [ERROR] /home/gman/workspace/incubator-blur/blur-store/src/main/java/org/apache/blur/store/blockcache_v2/cachevalue/UnsafeCacheValue.java:[22,15]
sun.misc.Unsafe is internal proprietary API and may be removed in a future release
> [ERROR] /home/gman/workspace/incubator-blur/blur-store/src/main/java/org/apache/blur/store/blockcache_v2/cachevalue/UnsafeCacheValue.java:[29,23]
sun.misc.Unsafe is internal proprietary API and may be removed in a future release
> [ERROR] /home/gman/workspace/incubator-blur/blur-store/src/main/java/org/apache/blur/store/blockcache_v2/cachevalue/UnsafeCacheValue.java:[36,17]
sun.misc.Unsafe is internal proprietary API and may be removed in a future release
> [ERROR] /home/gman/workspace/incubator-blur/blur-store/src/main/java/org/apache/blur/store/blockcache_v2/cachevalue/UnsafeCacheValue.java:[46,11]
copyMemory(long,long,long) in sun.misc.Unsafe cannot be applied to (byte[],long,<nulltype>,long,int)
> [ERROR] /home/gman/workspace/incubator-blur/blur-store/src/main/java/org/apache/blur/store/blockcache_v2/cachevalue/UnsafeCacheValue.java:[51,11]
copyMemory(long,long,long) in sun.misc.Unsafe cannot be applied to (<nulltype>,long,byte[],long,int)
> [ERROR] -> [Help 1]
> [ERROR] 
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR] 
> [ERROR] For more information about the errors and possible solutions, please read the
following articles:
> [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
> [ERROR] 
> [ERROR] After correcting the problems, you can resume the build with the command
> [ERROR]   mvn <goals> -rf :blur-store
> gman@gman-minty ~/workspace/incubator-blur $ git pull
> Already up-to-date.
> gman@gman-minty ~/workspace/incubator-blur $ mvn -version
> Apache Maven 3.0.4
> Maven home: /usr/share/maven
> Java version: 1.6.0_27, vendor: Sun Microsystems Inc.
> Java home: /usr/lib/jvm/java-6-openjdk-amd64/jre
> Default locale: en_US, platform encoding: UTF-8
> OS name: "linux", version: "3.8.0-19-generic", arch: "amd64", family: "unix"
> gman@gman-minty ~/workspace/incubator-blur $ java -version
> java version "1.6.0_45"
> Java(TM) SE Runtime Environment (build 1.6.0_45-b06)
> Java HotSpot(TM) 64-Bit Server VM (build 20.45-b01, mixed mode)
> gman@gman-minty ~/workspace/incubator-blur $ 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message