You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@rya.apache.org by DLotts <gi...@git.apache.org> on 2016/10/14 19:30:34 UTC

[GitHub] incubator-rya pull request #112: Rya 189 mongo arch dependant

GitHub user DLotts opened a pull request:

    https://github.com/apache/incubator-rya/pull/112

    Rya 189 mongo arch dependant

    ## Description
    
    Made the build fail for module mongodb.rya if using a 32bit JVM/JDK.
    When it fails, it provides an explanation and recomendation to use a 64bit JVM.
    Currently the tests fail when using a 32bit JVM with output that give little clue to the cause.
    
    ### Tests
    
    No unit tests need.
    Test manually like this:
    
    #### The usual case:
    Run a build using a 64bit JVM installed:
    
    > mvn install   -rf  :mongodb.rya
    
    #### The new case:
    Install a 32bit JDK, for example jdk1.8.0_102.
    Run this command to cause it to be used (replace the path to the JDK):
    
    In Linux:
    > JAVA_HOME='/whatever/Java32bit/jdk1.8.0_102' mvn install   -rf  :mongodb.rya
    
    or in Windows using git bash or MSYS2:
    
    > JAVA_HOME='C:\Program Files (x86)\Java\jdk1.8.0_102' mvn install   -rf  :mongodb.rya
    
    Expect this output:
    
    > [WARNING] Rule 0: org.apache.maven.plugins.enforcer.RequireOS failed with message:
    > Testing MongoDB with Flapdoodle fails for arch=x86, which is 32bit JVM, fix by using a 64bit JDK
    > Tests will fail with the following error when using 32bit JVM on either Linux or Windows:
    >                         java.io.IOException: Could not start process: <EOF>
    
    Followed by an enforcer error.
    
    ### Links
    [Jira](https://issues.apache.org/jira/browse/RYA-189)
    
    ### Checklist
    - [ ] Code Review
    - [ ] Squash Commits
    
    #### People To Reivew
    Caleb has a linux based 32bit SDK.  I did not test that.
    or Aaron, anyone.


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/DLotts/incubator-rya rya-189_MongoArchDependant

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-rya/pull/112.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #112
    
----
commit d53bfe1e938922027711ae8f94fdda8215ce13dc
Author: David W. Lotts <da...@parsons.com>
Date:   2016-10-12T21:27:00Z

    rya-189 TODO how to do an OR, test jvm 32bit.

commit 4ce44bcbd0afda24aebdf45cd89f1555990b0202
Author: David W. Lotts <da...@parsons.com>
Date:   2016-10-14T18:29:55Z

    rya-189 done.  TODO don't fail if skipTests

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] incubator-rya pull request #112: Rya 189 mongo arch dependant

Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:

    https://github.com/apache/incubator-rya/pull/112


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---