Skip to content
This repository
  • 5 commits
  • 4 files changed
  • 0 comments
  • 3 contributors
4 .travis.yml
@@ -2,6 +2,10 @@
2 2 #
3 3 # http://about.travis-ci.org/docs/user/build-configuration/
4 4
  5 +# See this guide for more settings:
  6 +#
  7 +# http://about.travis-ci.org/docs/user/build-configuration/
  8 +
5 9 language: clojure
6 10 script: lein javac, junit
7 11 branches:
8 README.md
Source Rendered
... ... @@ -1,3 +1,7 @@
  1 +# Dfs-Datastores
  2 +
  3 +[![Build Status](https://secure.travis-ci.org/nathanmarz/dfs-datastores.png?branch=master)](http://travis-ci.org/nathanmarz/dfs-datastores)
  4 +
1 5 A dramatically simpler and more powerful way to store records on a distributed filesystem.
2 6
3 7 to include dfs-datastores in your project, add the following to project.clj:
@@ -8,6 +12,6 @@ to include dfs-datastores in your project, add the following to project.clj:
8 12
9 13 To run the tests:
10 14
11   -```
12   -ant test
  15 +```clojure
  16 +lein deps, javac, junit
13 17 ```
3  project.clj
@@ -10,7 +10,8 @@
10 10 :dependencies [[jvyaml "1.0.0"]
11 11 [com.google.guava/guava "r09"]]
12 12 :dev-dependencies [[org.apache.hadoop/hadoop-core "0.20.2-dev"]
13   - [midje "1.3.0"]
  13 + [midje "1.3.0" :exclusions [org.clore/clojure]]
  14 + [org.clojure/clojure "1.2.1"]
14 15 [lein-midje "1.0.8"]
15 16 [lein-javac "1.3.0"]
16 17 [lein-junit "1.0.0"]
2  src/jvm/backtype/hadoop/Consolidator.java
@@ -82,7 +82,7 @@ private static String getDirsString(List<String> targetDirs) {
82 82
83 83 public static void consolidate(FileSystem fs, RecordStreamFactory streams, PathLister lister, List<String> dirs,
84 84 long targetSizeBytes, String extension) throws IOException {
85   - JobConf conf = new JobConf(Consolidator.class);
  85 + JobConf conf = new JobConf(fs.getConf(), Consolidator.class);
86 86 String fsUri = fs.getUri().toString();
87 87 ConsolidatorArgs args = new ConsolidatorArgs(fsUri, streams, lister, dirs, targetSizeBytes, extension);
88 88 Utils.setObject(conf, ARGS, args);

No commit comments for this range

Something went wrong with that request. Please try again.