Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
HBase >> mail # dev >> loading Hadoop native libraries in HBase unit tests


Copy link to this message
-
loading Hadoop native libraries in HBase unit tests
Hello,

We currently do not enable native Hadoop libraries in unit tests (at least
when running on Hadoop QA), but we do use them in production.  Should we
try to close this discrepancy between tests and production? Some possible
approaches would be:

   - Enable native libraries by default (e.g. import libhadoop.so into a
   special location in the HBase repository and add
   -Djava.library.path=/that/path to unit test JVM options).
   - In addition to the above, modify some unit tests (e.g. those using
   Gzip compression) to run both with and without native libraries enabled

Please let me know if this sounds reasonable.

Thanks,
--Mikhail
+
Ted Yu 2012-02-11, 03:26
+
Jesse Yates 2012-02-11, 03:30
+
Stack 2012-02-11, 04:52
+
Mikhail Bautin 2012-02-12, 20:36
+
Roman Shaposhnik 2012-02-13, 06:02
+
Mikhail Bautin 2012-02-13, 09:58
+
Roman Shaposhnik 2012-02-13, 18:52
+
Todd Lipcon 2012-02-13, 19:15
+
Mikhail Bautin 2012-02-13, 19:21
+
Todd Lipcon 2012-02-13, 19:41