Skip to content
This repository
Browse code

bump cascading to 2.0.3

  • Loading branch information...
commit 4b9080e36c4f92b60db44b176f52563d5b7496e7 1 parent 9f9f5d5
bpastel authored

Showing 2 changed files with 5 additions and 3 deletions. Show diff stats Hide diff stats

  1. +1 1  project.clj
  2. +4 2 src/clj/cascalog/testing.clj
2  project.clj
... ... @@ -1,6 +1,6 @@
1 1 (def shared
2 2 '[[org.clojure/tools.macro "0.1.1"]
3   - [cascading/cascading-hadoop "2.0.0"
  3 + [cascading/cascading-hadoop "2.0.3"
4 4 :exclusions [org.codehaus.janino/janino
5 5 org.apache.hadoop/hadoop-core]]
6 6 [org.clojure/tools.macro "0.1.1"]
6 src/clj/cascalog/testing.clj
@@ -23,8 +23,10 @@
23 23 [java.io File]))
24 24
25 25 (defn roundtrip [obj]
26   - (HadoopUtil/deserializeBase64
27   - (HadoopUtil/serializeBase64 obj)))
  26 + (let [conf (hadoop/job-conf (conf/project-conf))]
  27 + (HadoopUtil/deserializeBase64
  28 + (HadoopUtil/serializeBase64 obj conf true)
  29 + conf (class obj) true)))
28 30
29 31 (defn invoke-filter [fil coll]
30 32 (let [fil (roundtrip fil)

0 comments on commit 4b9080e

Please sign in to comment.
Something went wrong with that request. Please try again.