Skip to content

Instantly share code, notes, and snippets.

@royseto
Last active December 12, 2015 03:18
Show Gist options
  • Save royseto/4705316 to your computer and use it in GitHub Desktop.
Save royseto/4705316 to your computer and use it in GitHub Desktop.
Log of my leiningen build for my fork of git://github.com/Cascading/CoPA.git
This pair of transcripts shows the Leiningen build of
git://github.com/Cascading/CoPA.git (Cascalog version) on my system, a MacBook
Pro running OS X 10.8.2. The first transcript shows that the build fails using
Leiningen 1.7.1 and the second shows that it succeeds using Leiningen 2.0.0. I
installed Leiningen using Homebrew (http://mxcl.github.com/homebrew/).
I tested running the Hadoop job and confirmed it runs correctly, though this
is not shown in the transcript.
Last login: Mon Feb 4 12:11:19 on ttys001
roy-setos-macbook:~ royseto$ cd code/CoPA
roy-setos-macbook:CoPA royseto$ ls
LICENSE.txt build copa.jar docs emr.sh out src
README.md build.gradle data dot lib project.clj
roy-setos-macbook:CoPA royseto$ java -version
java version "1.6.0_37"
Java(TM) SE Runtime Environment (build 1.6.0_37-b06-434-11M3909)
Java HotSpot(TM) 64-Bit Server VM (build 20.12-b01-434, mixed mode)
roy-setos-macbook:CoPA royseto$ lein version
Leiningen 1.7.1 on Java 1.6.0_37 Java HotSpot(TM) 64-Bit Server VM
roy-setos-macbook:CoPA royseto$ lein clean
roy-setos-macbook:CoPA royseto$ lein uberjar
Copying 27 files to /Users/royseto/code/CoPA/lib
Compiling copa.core
Exception in thread "main" java.io.FileNotFoundException: Could not locate copa/core__init.class or copa/core.clj on classpath:
at clojure.lang.RT.load(RT.java:432)
at clojure.lang.RT.load(RT.java:400)
at clojure.core$load$fn__4890.invoke(core.clj:5415)
at clojure.core$load.doInvoke(core.clj:5414)
at clojure.lang.RestFn.invoke(RestFn.java:408)
at clojure.core$load_one.invoke(core.clj:5227)
at clojure.core$compile$fn__4895.invoke(core.clj:5426)
at clojure.core$compile.invoke(core.clj:5425)
at user$eval27.invoke(NO_SOURCE_FILE:1)
at clojure.lang.Compiler.eval(Compiler.java:6511)
at clojure.lang.Compiler.eval(Compiler.java:6501)
at clojure.lang.Compiler.eval(Compiler.java:6477)
at clojure.core$eval.invoke(core.clj:2797)
at clojure.main$eval_opt.invoke(main.clj:297)
at clojure.main$initialize.invoke(main.clj:316)
at clojure.main$null_opt.invoke(main.clj:349)
at clojure.main$main.doInvoke(main.clj:427)
at clojure.lang.RestFn.invoke(RestFn.java:421)
at clojure.lang.Var.invoke(Var.java:419)
at clojure.lang.AFn.applyToHelper(AFn.java:163)
at clojure.lang.Var.applyTo(Var.java:532)
at clojure.main.main(main.java:37)
Compilation failed.
Including cascading-copa-0.1.0-SNAPSHOT.jar
Exception in thread "main" java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at jline.ConsoleRunner.main(ConsoleRunner.java:69)
Caused by: java.util.zip.ZipException: ZIP file must have at least one entry (NO_SOURCE_FILE:0)
at clojure.lang.Compiler.eval(Compiler.java:5440)
at clojure.lang.Compiler.eval(Compiler.java:5391)
at clojure.core$eval.invoke(core.clj:2382)
at clojure.main$eval_opt.invoke(main.clj:235)
at clojure.main$initialize.invoke(main.clj:254)
at clojure.main$script_opt.invoke(main.clj:270)
at clojure.main$main.doInvoke(main.clj:354)
at clojure.lang.RestFn.invoke(RestFn.java:457)
at clojure.lang.Var.invoke(Var.java:377)
at clojure.lang.AFn.applyToHelper(AFn.java:172)
at clojure.lang.Var.applyTo(Var.java:482)
at clojure.main.main(main.java:37)
... 5 more
Caused by: java.util.zip.ZipException: ZIP file must have at least one entry
at java.util.zip.ZipOutputStream.finish(ZipOutputStream.java:304)
at java.util.zip.DeflaterOutputStream.close(DeflaterOutputStream.java:140)
at java.util.zip.ZipOutputStream.close(ZipOutputStream.java:321)
at leiningen.uberjar$uberjar$fn__3446.invoke(uberjar.clj:86)
at leiningen.uberjar$uberjar.invoke(uberjar.clj:86)
at leiningen.uberjar$uberjar.invoke(uberjar.clj:96)
at clojure.lang.Var.invoke(Var.java:365)
at clojure.lang.AFn.applyToHelper(AFn.java:161)
at clojure.lang.Var.applyTo(Var.java:482)
at clojure.core$apply.invoke(core.clj:542)
at leiningen.core$apply_task.invoke(core.clj:262)
at leiningen.core$_main.doInvoke(core.clj:329)
at clojure.lang.RestFn.invoke(RestFn.java:410)
at clojure.lang.AFn.applyToHelper(AFn.java:161)
at clojure.lang.RestFn.applyTo(RestFn.java:132)
at clojure.core$apply.invoke(core.clj:542)
at leiningen.core$_main.invoke(core.clj:332)
at user$eval42.invoke(NO_SOURCE_FILE:1)
at clojure.lang.Compiler.eval(Compiler.java:5424)
... 16 more
Last login: Mon Feb 4 18:03:44 on ttys001
roy-setos-macbook:~ royseto$ which lein
/usr/local/bin/lein
roy-setos-macbook:~ royseto$ ls -l `which lein`
lrwxr-xr-x 1 royseto admin 34 Jul 5 2012 /usr/local/bin/lein -> ../Cellar/leiningen/1.7.1/bin/lein
roy-setos-macbook:~ royseto$ brew upgrade leiningen
==> Upgrading leiningen
==> Downloading http://github.com/technomancy/leiningen/tarball/2.0.0
######################################################################## 100.0%
==> /usr/local/Cellar/leiningen/2.0.0/bin/lein self-install
==> Caveats
Standalone jar and dependencies installed to:
$HOME/.m2/repository
==> Summary
🍺 /usr/local/Cellar/leiningen/2.0.0: 5 files, 80K, built in 5.2 minutes
roy-setos-macbook:~ royseto$ lein version
Leiningen 2.0.0 on Java 1.6.0_37 Java HotSpot(TM) 64-Bit Server VM
roy-setos-macbook:~ royseto$ cd code/CoPA/
roy-setos-macbook:CoPA royseto$ lein clean
roy-setos-macbook:CoPA royseto$ lein uberjar
Retrieving org/apache/hadoop/hadoop-core/0.20.2-dev/hadoop-core-0.20.2-dev.pom from clojars
Retrieving commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.pom from central
Retrieving log4j/log4j/1.2.15/log4j-1.2.15.pom from central
Retrieving org/slf4j/slf4j-api/1.4.3/slf4j-api-1.4.3.pom from central
Retrieving org/slf4j/slf4j-parent/1.4.3/slf4j-parent-1.4.3.pom from central
Retrieving org/slf4j/slf4j-log4j12/1.4.3/slf4j-log4j12-1.4.3.pom from central
Retrieving commons-httpclient/commons-httpclient/3.1/commons-httpclient-3.1.pom from central
Retrieving commons-codec/commons-codec/1.2/commons-codec-1.2.pom from central
Retrieving commons-codec/commons-codec/1.3/commons-codec-1.3.pom from central
Retrieving commons-cli/commons-cli/1.2/commons-cli-1.2.pom from central
Retrieving org/apache/commons/commons-parent/11/commons-parent-11.pom from central
Retrieving commons-net/commons-net/1.4.1/commons-net-1.4.1.pom from central
Retrieving oro/oro/2.0.8/oro-2.0.8.pom from central
Retrieving javax/servlet/servlet-api/2.5/servlet-api-2.5.pom from central
Retrieving org/mortbay/jetty/jetty/6.1.14/jetty-6.1.14.pom from central
Retrieving org/mortbay/jetty/project/6.1.14/project-6.1.14.pom from central
Retrieving org/mortbay/jetty/jetty-parent/7/jetty-parent-7.pom from central
Retrieving org/mortbay/jetty/jetty-util/6.1.14/jetty-util-6.1.14.pom from central
Retrieving org/mortbay/jetty/servlet-api-2.5/6.1.14/servlet-api-2.5-6.1.14.pom from central
Retrieving org/mortbay/jetty/jsp-2.1/6.1.14/jsp-2.1-6.1.14.pom from central
Retrieving org/eclipse/jdt/core/3.1.1/core-3.1.1.pom from central
Retrieving org/mortbay/jetty/jsp-api-2.1/6.1.14/jsp-api-2.1-6.1.14.pom from central
Retrieving commons-el/commons-el/1.0/commons-el-1.0.pom from central
Retrieving commons-logging/commons-logging/1.0.3/commons-logging-1.0.3.pom from central
Retrieving org/apache/ant/ant/1.7.0/ant-1.7.0.pom from central
Retrieving org/apache/ant/ant-parent/1.7.0/ant-parent-1.7.0.pom from central
Retrieving org/apache/ant/ant-launcher/1.7.0/ant-launcher-1.7.0.pom from central
Retrieving net/java/dev/jets3t/jets3t/0.6.1/jets3t-0.6.1.pom from central
Retrieving xmlenc/xmlenc/0.52/xmlenc-0.52.pom from central
Retrieving commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.jar from central
Retrieving commons-httpclient/commons-httpclient/3.1/commons-httpclient-3.1.jar from central
Retrieving org/slf4j/slf4j-api/1.4.3/slf4j-api-1.4.3.jar from central
Retrieving org/slf4j/slf4j-log4j12/1.4.3/slf4j-log4j12-1.4.3.jar from central
Retrieving commons-codec/commons-codec/1.3/commons-codec-1.3.jar from central
Retrieving commons-cli/commons-cli/1.2/commons-cli-1.2.jar from central
Retrieving commons-net/commons-net/1.4.1/commons-net-1.4.1.jar from central
Retrieving oro/oro/2.0.8/oro-2.0.8.jar from central
Retrieving javax/servlet/servlet-api/2.5/servlet-api-2.5.jar from central
Retrieving org/mortbay/jetty/jetty/6.1.14/jetty-6.1.14.jar from central
Retrieving org/mortbay/jetty/jetty-util/6.1.14/jetty-util-6.1.14.jar from central
Retrieving org/mortbay/jetty/servlet-api-2.5/6.1.14/servlet-api-2.5-6.1.14.jar from central
Retrieving org/mortbay/jetty/jsp-2.1/6.1.14/jsp-2.1-6.1.14.jar from central
Retrieving org/mortbay/jetty/jsp-api-2.1/6.1.14/jsp-api-2.1-6.1.14.jar from central
Retrieving commons-el/commons-el/1.0/commons-el-1.0.jar from central
Retrieving org/eclipse/jdt/core/3.1.1/core-3.1.1.jar from central
Retrieving org/apache/ant/ant/1.7.0/ant-1.7.0.jar from central
Retrieving org/apache/ant/ant-launcher/1.7.0/ant-launcher-1.7.0.jar from central
Retrieving net/java/dev/jets3t/jets3t/0.6.1/jets3t-0.6.1.jar from central
Retrieving xmlenc/xmlenc/0.52/xmlenc-0.52.jar from central
Retrieving org/apache/hadoop/hadoop-core/0.20.2-dev/hadoop-core-0.20.2-dev.jar from clojars
Compiling copa.core
Compiling copa.core
Created /Users/royseto/code/CoPA/target/cascading-copa-0.1.0-SNAPSHOT.jar
Including cascading-copa-0.1.0-SNAPSHOT.jar
Including reflectasm-1.06-shaded.jar
Including slf4j-log4j12-1.6.1.jar
Including cascading-core-2.0.0.jar
Including cascading-hadoop-2.0.0.jar
Including clojure-contrib-1.2.0.jar
Including objenesis-1.2.jar
Including meat-locker-0.3.0.jar
Including kryo-2.16.jar
Including cascalog-more-taps-0.3.1-SNAPSHOT.jar
Including tools.macro-0.1.1.jar
Including tools.logging-0.2.3.jar
Including minlog-1.2.jar
Including jgrapht-jdk1.6-0.8.1.jar
Including clojure-1.4.0.jar
Including log4j-1.2.16.jar
Including geohash-1.0.1.jar
Including jackknife-0.1.2.jar
Including cascading.kryo-0.4.0.jar
Including hadoop-util-0.2.8.jar
Including maple-0.2.0.jar
Including riffle-0.1-dev.jar
Including asm-4.0.jar
Including carbonite-1.3.0.jar
Including cascalog-1.10.0.jar
Including date-clj-1.0.1.jar
Including clojure-csv-1.3.2.jar
Including slf4j-api-1.6.1.jar
Created /Users/royseto/code/CoPA/target/copa.jar
roy-setos-macbook:CoPA royseto$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment