You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@accumulo.apache.org by Bill Havanki <bh...@clouderagovt.com> on 2013/11/13 23:56:40 UTC

Review Request 15499: ACCUMULO-1852 - NativeMapIT on OS X

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/15499/
-----------------------------------------------------------

Review request for accumulo.


Bugs: ACCUMULO-1852
    https://issues.apache.org/jira/browse/ACCUMULO-1852


Repository: accumulo


Description
-------

Changes (possibly only initial) made to get NativeMapIT running on Mac OS X.


Diffs
-----

  assemble/src/main/assemblies/component.xml 3655a22b6271e1f08c479124605df7088efb2ff6 
  minicluster/src/main/java/org/apache/accumulo/minicluster/MiniAccumuloCluster.java 42882bb82c46a1a4fd407e36a3ee13e954aa2b40 
  server/native/src/main/resources/Makefile 6309e6d44514432da491fd8cf8981524e5014abe 

Diff: https://reviews.apache.org/r/15499/diff/


Testing
-------

Ran `mvn verify` to completion, both specifically targeting NativeMapIT and running all tests. Platform is OS X 10.8.5, Java 1.6.0_65. I made the effort to keep the tests working under Java 7 as well, but I have not tried it myself; someone should attempt it (under the test source tree: mvn -Dtest=NativeMapIT -DfailIfNoTests=false clean verify).


Thanks,

Bill Havanki


Re: Review Request 15499: ACCUMULO-1852 - NativeMapIT on OS X

Posted by Bill Havanki <bh...@clouderagovt.com>.

> On Nov. 14, 2013, 7:05 p.m., Christopher Tubbs wrote:
> > This is an issue because the way we find native maps is fundamentally broken in ways that limit packaging and deployment of native maps to a target system. This patch is insufficient to address all those issues. I already have a fix in progress that addresses loading libraries from standard locations in Linux or from the lib directory in ACCUMULO_HOME (for backwards-compatibility), as well as using LD_LIBRARY_PATH or -Djava.librath.path; I will still need to incorporate some modifications to ensure things work well on Mac, but this patch alone doesn't address all the relevant issues.

Sounds good. I'll hold off on fiddling with this stuff more until you've got your fixes ready, and I'll give them a try then. Thanks.


- Bill


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/15499/#review28925
-----------------------------------------------------------


On Nov. 13, 2013, 5:56 p.m., Bill Havanki wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/15499/
> -----------------------------------------------------------
> 
> (Updated Nov. 13, 2013, 5:56 p.m.)
> 
> 
> Review request for accumulo.
> 
> 
> Bugs: ACCUMULO-1852
>     https://issues.apache.org/jira/browse/ACCUMULO-1852
> 
> 
> Repository: accumulo
> 
> 
> Description
> -------
> 
> Changes (possibly only initial) made to get NativeMapIT running on Mac OS X.
> 
> 
> Diffs
> -----
> 
>   assemble/src/main/assemblies/component.xml 3655a22b6271e1f08c479124605df7088efb2ff6 
>   minicluster/src/main/java/org/apache/accumulo/minicluster/MiniAccumuloCluster.java 42882bb82c46a1a4fd407e36a3ee13e954aa2b40 
>   server/native/src/main/resources/Makefile 6309e6d44514432da491fd8cf8981524e5014abe 
> 
> Diff: https://reviews.apache.org/r/15499/diff/
> 
> 
> Testing
> -------
> 
> Ran `mvn verify` to completion, both specifically targeting NativeMapIT and running all tests. Platform is OS X 10.8.5, Java 1.6.0_65. I made the effort to keep the tests working under Java 7 as well, but I have not tried it myself; someone should attempt it (under the test source tree: mvn -Dtest=NativeMapIT -DfailIfNoTests=false clean verify).
> 
> 
> Thanks,
> 
> Bill Havanki
> 
>


Re: Review Request 15499: ACCUMULO-1852 - NativeMapIT on OS X

Posted by Christopher Tubbs <ct...@apache.org>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/15499/#review28925
-----------------------------------------------------------


This is an issue because the way we find native maps is fundamentally broken in ways that limit packaging and deployment of native maps to a target system. This patch is insufficient to address all those issues. I already have a fix in progress that addresses loading libraries from standard locations in Linux or from the lib directory in ACCUMULO_HOME (for backwards-compatibility), as well as using LD_LIBRARY_PATH or -Djava.librath.path; I will still need to incorporate some modifications to ensure things work well on Mac, but this patch alone doesn't address all the relevant issues.

- Christopher Tubbs


On Nov. 13, 2013, 5:56 p.m., Bill Havanki wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/15499/
> -----------------------------------------------------------
> 
> (Updated Nov. 13, 2013, 5:56 p.m.)
> 
> 
> Review request for accumulo.
> 
> 
> Bugs: ACCUMULO-1852
>     https://issues.apache.org/jira/browse/ACCUMULO-1852
> 
> 
> Repository: accumulo
> 
> 
> Description
> -------
> 
> Changes (possibly only initial) made to get NativeMapIT running on Mac OS X.
> 
> 
> Diffs
> -----
> 
>   assemble/src/main/assemblies/component.xml 3655a22b6271e1f08c479124605df7088efb2ff6 
>   minicluster/src/main/java/org/apache/accumulo/minicluster/MiniAccumuloCluster.java 42882bb82c46a1a4fd407e36a3ee13e954aa2b40 
>   server/native/src/main/resources/Makefile 6309e6d44514432da491fd8cf8981524e5014abe 
> 
> Diff: https://reviews.apache.org/r/15499/diff/
> 
> 
> Testing
> -------
> 
> Ran `mvn verify` to completion, both specifically targeting NativeMapIT and running all tests. Platform is OS X 10.8.5, Java 1.6.0_65. I made the effort to keep the tests working under Java 7 as well, but I have not tried it myself; someone should attempt it (under the test source tree: mvn -Dtest=NativeMapIT -DfailIfNoTests=false clean verify).
> 
> 
> Thanks,
> 
> Bill Havanki
> 
>


Re: Review Request 15499: ACCUMULO-1852 - NativeMapIT on OS X

Posted by Bill Havanki <bh...@clouderagovt.com>.

> On Nov. 14, 2013, 9:24 a.m., Michael Berman wrote:
> > This does fix NativeMapIT for me on Mavericks+Java7, although it doesn't address the `make test` issue in nativeMap itself.  Still, seems like an improvement, so, ship it.

Thanks for checking on me. You'll have to explain to me the "make test" issue. Again, I'm happy to help work on it.


- Bill


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/15499/#review28867
-----------------------------------------------------------


On Nov. 13, 2013, 5:56 p.m., Bill Havanki wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/15499/
> -----------------------------------------------------------
> 
> (Updated Nov. 13, 2013, 5:56 p.m.)
> 
> 
> Review request for accumulo.
> 
> 
> Bugs: ACCUMULO-1852
>     https://issues.apache.org/jira/browse/ACCUMULO-1852
> 
> 
> Repository: accumulo
> 
> 
> Description
> -------
> 
> Changes (possibly only initial) made to get NativeMapIT running on Mac OS X.
> 
> 
> Diffs
> -----
> 
>   assemble/src/main/assemblies/component.xml 3655a22b6271e1f08c479124605df7088efb2ff6 
>   minicluster/src/main/java/org/apache/accumulo/minicluster/MiniAccumuloCluster.java 42882bb82c46a1a4fd407e36a3ee13e954aa2b40 
>   server/native/src/main/resources/Makefile 6309e6d44514432da491fd8cf8981524e5014abe 
> 
> Diff: https://reviews.apache.org/r/15499/diff/
> 
> 
> Testing
> -------
> 
> Ran `mvn verify` to completion, both specifically targeting NativeMapIT and running all tests. Platform is OS X 10.8.5, Java 1.6.0_65. I made the effort to keep the tests working under Java 7 as well, but I have not tried it myself; someone should attempt it (under the test source tree: mvn -Dtest=NativeMapIT -DfailIfNoTests=false clean verify).
> 
> 
> Thanks,
> 
> Bill Havanki
> 
>


Re: Review Request 15499: ACCUMULO-1852 - NativeMapIT on OS X

Posted by Josh Elser <jo...@gmail.com>.

> On Nov. 14, 2013, 2:24 p.m., Michael Berman wrote:
> > This does fix NativeMapIT for me on Mavericks+Java7, although it doesn't address the `make test` issue in nativeMap itself.  Still, seems like an improvement, so, ship it.
> 
> Bill Havanki wrote:
>     Thanks for checking on me. You'll have to explain to me the "make test" issue. Again, I'm happy to help work on it.

Run `mvn verify` and observe failure in the server/native module. This is from Maven invoking `make test` on server/native/src/main/resources/Makefile


- Josh


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/15499/#review28867
-----------------------------------------------------------


On Nov. 13, 2013, 10:56 p.m., Bill Havanki wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/15499/
> -----------------------------------------------------------
> 
> (Updated Nov. 13, 2013, 10:56 p.m.)
> 
> 
> Review request for accumulo.
> 
> 
> Bugs: ACCUMULO-1852
>     https://issues.apache.org/jira/browse/ACCUMULO-1852
> 
> 
> Repository: accumulo
> 
> 
> Description
> -------
> 
> Changes (possibly only initial) made to get NativeMapIT running on Mac OS X.
> 
> 
> Diffs
> -----
> 
>   assemble/src/main/assemblies/component.xml 3655a22b6271e1f08c479124605df7088efb2ff6 
>   minicluster/src/main/java/org/apache/accumulo/minicluster/MiniAccumuloCluster.java 42882bb82c46a1a4fd407e36a3ee13e954aa2b40 
>   server/native/src/main/resources/Makefile 6309e6d44514432da491fd8cf8981524e5014abe 
> 
> Diff: https://reviews.apache.org/r/15499/diff/
> 
> 
> Testing
> -------
> 
> Ran `mvn verify` to completion, both specifically targeting NativeMapIT and running all tests. Platform is OS X 10.8.5, Java 1.6.0_65. I made the effort to keep the tests working under Java 7 as well, but I have not tried it myself; someone should attempt it (under the test source tree: mvn -Dtest=NativeMapIT -DfailIfNoTests=false clean verify).
> 
> 
> Thanks,
> 
> Bill Havanki
> 
>


Re: Review Request 15499: ACCUMULO-1852 - NativeMapIT on OS X

Posted by Michael Berman <mb...@sqrrl.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/15499/#review28867
-----------------------------------------------------------

Ship it!


This does fix NativeMapIT for me on Mavericks+Java7, although it doesn't address the `make test` issue in nativeMap itself.  Still, seems like an improvement, so, ship it.

- Michael Berman


On Nov. 13, 2013, 10:56 p.m., Bill Havanki wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/15499/
> -----------------------------------------------------------
> 
> (Updated Nov. 13, 2013, 10:56 p.m.)
> 
> 
> Review request for accumulo.
> 
> 
> Bugs: ACCUMULO-1852
>     https://issues.apache.org/jira/browse/ACCUMULO-1852
> 
> 
> Repository: accumulo
> 
> 
> Description
> -------
> 
> Changes (possibly only initial) made to get NativeMapIT running on Mac OS X.
> 
> 
> Diffs
> -----
> 
>   assemble/src/main/assemblies/component.xml 3655a22b6271e1f08c479124605df7088efb2ff6 
>   minicluster/src/main/java/org/apache/accumulo/minicluster/MiniAccumuloCluster.java 42882bb82c46a1a4fd407e36a3ee13e954aa2b40 
>   server/native/src/main/resources/Makefile 6309e6d44514432da491fd8cf8981524e5014abe 
> 
> Diff: https://reviews.apache.org/r/15499/diff/
> 
> 
> Testing
> -------
> 
> Ran `mvn verify` to completion, both specifically targeting NativeMapIT and running all tests. Platform is OS X 10.8.5, Java 1.6.0_65. I made the effort to keep the tests working under Java 7 as well, but I have not tried it myself; someone should attempt it (under the test source tree: mvn -Dtest=NativeMapIT -DfailIfNoTests=false clean verify).
> 
> 
> Thanks,
> 
> Bill Havanki
> 
>