Skip to content

Commit

Permalink
make bootstrap set io.sort.mb to 1 so that queries are faster
Browse files Browse the repository at this point in the history
  • Loading branch information
Nathan Marz authored and sritchie committed Apr 16, 2012
1 parent a3043e8 commit 94a1804
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/clj/cascalog/playground.clj
Expand Up @@ -14,13 +14,15 @@
;; along with this program. If not, see <http://www.gnu.org/licenses/>.

(ns cascalog.playground
(:require [cascalog.conf :as conf])
(:import [java.io PrintStream]
[cascalog WriterOutputStream]
[org.apache.log4j Logger WriterAppender SimpleLayout]))

(defn bootstrap []
(use 'cascalog.api
'[jackknife.seq :only (find-first)])
(conf/set-job-conf! {"io.sort.mb" 1})
(require '(cascalog [workflow :as w]
[ops :as c]
[vars :as v])))
Expand Down

0 comments on commit 94a1804

Please sign in to comment.