Skip to content

Instantly share code, notes, and snippets.

@mattdeboard
Created April 15, 2012 21:44
Show Gist options
  • Select an option

  • Save mattdeboard/2394966 to your computer and use it in GitHub Desktop.

Select an option

Save mattdeboard/2394966 to your computer and use it in GitHub Desktop.
Custom bootstrap for using Cascalog in emacs to address a memory issue I was having.
(ns doop.bootstrap
(:use cascalog.playground))
(defn my-bootstrap-emacs []
"Custom bootstrap to tweak the hadoop job config for cascalog, to help
manage memory."
(bootstrap-emacs)
(alter-var-root #'cascalog.conf/*JOB-CONF* (fn [& ignored]
{"io.sort.mb" 1})))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment