dfs-datastores icon indicating copy to clipboard operation
dfs-datastores copied to clipboard

Can't execute any of what's show on page 68-69 of your book

Open sb3rg opened this issue 5 years ago • 1 comments

I updated the dependencies my project.clj file, ran lein deps. I checked that it's in my ~/.m2/repository/ folder.

I tried requiring the project in the repl in multiple ways (require '[com.backtype.def-datastores :as dfs]) (require '[com.backtype.def-datastores.hadoop :as hadoop]) (require '[com.backtype.def-datastores.hadoop.pail :as pail])

I keep getting this type of error:

Execution error (FileNotFoundException) at big-data.core/eval1560 (form-init14664829471889604774.clj:1). Could not locate com/backtype/def_datastores__init.class, com/backtype/def_datastores.clj or com/backtype/def_datastores.cljc on classpath. Please check that namespaces with dashes use underscores in the Clojure file name.

What am I missing here?

sb3rg avatar Sep 30 '19 23:09 sb3rg

correction that should read: (require '[com.backtype.dfs-datastores :as dfs])

sb3rg avatar Sep 30 '19 23:09 sb3rg