Skip to content

Instantly share code, notes, and snippets.

View thvasilo's full-sized avatar

Theodore Vasiloudis thvasilo

View GitHub Profile
@thvasilo
thvasilo / lzo.sh
Last active October 10, 2015 04:25
Script to install components needed to read LZO-compressed files in Apache Spark
#!/bin/bash
# Step 1: Install LZO dependencies
yum -y install lzo lzo-devel lzop
# Step 2: Install maven
MVN_VERSION=3.2.5
MVN_MD5=b2d88f02bd3a08a9df1f0b0126ebd8dc
# wget http://www.apache.org/dyn/closer.cgi/maven/maven-3/$MVN_VERSION/binaries/apache-maven-$MVN_VERSION-bin.tar.gz
wget http://apache.claz.org/maven/maven-3/$MVN_VERSION/binaries/apache-maven-$MVN_VERSION-bin.tar.gz