Hue with LDAP doesn't start up after Cloudera Manager upgrade

A Cloudera Manager upgrade drops ldap_username_pattern from hue.ini, so Hue with LDAP will not start until you put it back via safety valve.

Merging multiple avro files into single file using python

Python script that merges hundreds of Avro files into one, handling the header and footer, with notes on how slow the append gets.

CDH 5.2.0 spark history server issue

CDH 5.2.0 ships a Spark history location with no hdfs:// prefix, so the history server reads it as a local path and will not start.

Log compression for Cloudera Manager Hadoop

Cloudera Manager's log4j will not compress rotated logs. The Apache Extras rolling appender does, pasted into the logging safety valve.

Fix Hadoop leap second bug without rebooting

The 2012 leap second pinned Hadoop nodes at 100% CPU. Resetting the clock with date and restarting ntpd fixes it without a reboot.

Python - write compressed log file into HDFS for hadoop hive mapreduce

Python that gzips log data in memory with StringIO and writes it straight into HDFS through pyhdfs, ready for Hive or MapReduce.

Facebook scribe with hdfs

Build order and configure flags for compiling Facebook Scribe with HDFS support: boost, thrift, fb303, then scribe itself.

Flume DFO local storage usage check

A Perl Nagios check for the Flume DFO backlog directory, so a failed driver does not quietly fill the local disk.