Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add snappy compression options for HBase

  • Loading branch information...
commit 5db84f499f68723d0646785cfcb1fb7537bc70c1 1 parent 669e0a8
@time-palominodb authored
View
4 AnsiblePlaybooks/Ubuntu-12.04/HBase/templates/hbase-env.sh
@@ -31,6 +31,10 @@ export JAVA_HOME=/usr/java/default/
# The maximum amount of heap to use, in MB. Default is 1000.
export HBASE_HEAPSIZE={{ hbase["hbase.heapsize"] }}
+# for compression etc - 32- or 64-bit version
+## export HBASE_LIBRARY_PATH=/usr/lib/hadoop/lib/native/Linux-i386-32
+export HBASE_LIBRARY_PATH=/usr/lib/hadoop/lib/native/Linux-amd64-64
+
# Extra Java runtime options.
# Below are what we set by default. May only work with SUN JVM.
# For more on why as well as other possible settings,
View
4 ChefCookbooks/CentOS/cloudera/attributes/default.rb
@@ -146,6 +146,10 @@
# The maximum amount of heap to use, in MB. Default is 1000.
"HBASE_HEAPSIZE" => 3000,
+ # for compression - 32-bit then 64-bit options
+ # "HBASE_LIBRARY_PATH" => "/usr/lib/hadoop/lib/native/Linux-i386-32",
+ "HBASE_LIBRARY_PATH" => "/usr/lib/hadoop/lib/native/Linux-amd64-64",
+
# Extra Java runtime options.
# Below are what we set by default. May only work with SUN JVM.
# For more on why as well as other possible settings,
Please sign in to comment.
Something went wrong with that request. Please try again.