Based on the excellent work in Elephant-Bird:
https://github.com/dvryaboy/elephant-bird/tree/eb-dev
Add the following to project.clj
:
[cascalog-lzo "1.10.1-SNAPSHOT"]
Stay tuned for updates!
On OS X:
- Install MacPorts
- sudo port install lzo
- If you're on Lion, you'll have to re-install your java development headers here.
- Download the lzo native libs and place them in
/opt/local/lib
.
You can find more information about Hadoop-LZO on Cloudera.
This is only necessary if you're trying to rebuild this project.
git clone https://github.com/kevinweil/hadoop-lzo.git
cd hadoop-lzo
git checkout -b lion 4c5a2270863e0d906e5c3c7cd7a57a7f14436759
JAVA_HOME=$(/usr/libexec/java_home) \
C_INCLUDE_PATH=/opt/local/include LIBRARY_PATH=/opt/local/lib \
CFLAGS="-arch x86_64" ant clean compile-native test tar