Hi Justin,
The jars are definitely there, I copied them just about everywhere I could think of:
> ls -l /Users/hadoop/hadoop-binaries/
total 226336
drwxr-xr-x 12 hadoop staff 408 Mar 25 13:39 hadoop-2.2.0
-rw-r--r-- 1 hadoop staff 109229073 Oct 7 02:46 hadoop-2.2.0.tar.gz
drwxr-xr-x 12 hadoop staff 408 Mar 25 09:05 hadoop-2.3.0
-rw-r--r-- 1 hadoop staff 2707127 Mar 24 15:35 hadoop-2.3.0.tar.gz
-rw-r--r--@ 1 hadoop staff 1589250 Apr 1 15:06 lucene-analyzers-common-4.6.0.jar
-rw-r--r--@ 1 hadoop staff 2348962 Apr 1 14:31 lucene-core-4.6.1.jar
>ls -l ../hadoop-binaries/hadoop-2.3.0/lib
total 8440
-rw-r--r--@ 1 hadoop staff 1589250 Apr 1 16:05 lucene-analyzers-common-4.6.0.jar
-rw-r--r--@ 1 hadoop staff 2348962 Apr 1 16:05 lucene-core-4.6.1.jar
-rw-r--r-- 1 hadoop staff 291946 Mar 25 09:08 mongo-2.7.3.jar
-rw-r--r-- 1 hadoop staff 79740 Mar 25 09:08 mongo-hadoop-core_2.2.0-1.2.0.jar
drwxr-xr-x 10 hadoop staff 340 Mar 25 09:05 native
> ls -l ../hadoop-binaries/hadoop-2.3.0/share/hadoop/common/
total 11824
-rw-r--r--@ 1 hadoop staff 1589250 Apr 1 16:06 lucene-analyzers-common-4.6.0.jar
-rw-r--r-- 1 hadoop staff 1589250 Apr 1 16:08 lucene-analyzers-common.jar
-rw-r--r--@ 1 hadoop staff 2348962 Apr 1 16:06 lucene-core-4.6.1.jar
-rw-r--r-- 1 hadoop staff 93997 Apr 1 13:10 mongo-hadoop-core.jar
-rw-r--r-- 1 hadoop staff 419108 Jan 27 12:17 mongo-java-driver.jar
When I re-write the copy … into clause the way you suggested, I got the following error:
> ./gradlew historicalYield
:installHadoop
:historicalYield
connected to: 127.0.0.1
Tue Apr 1 16:01:49.257 imported 2 objects
:historicalYield FAILED
FAILURE: Build failed with an exception.
* Where:
Build file '/Users/hadoop/mongo-hadoop/build.gradle' line: 342
* What went wrong:
Execution failed for task ':historicalYield'.
> No signature of method: org.gradle.api.internal.file.copy.CopySpecWrapper_Decorated.rename() is applicable for argument types: (java.lang.String) values: [mongo-hadoop-core.jar]
Possible solutions: rename(java.util.regex.Pattern, java.lang.String), rename(groovy.lang.Closure), rename(java.lang.String, java.lang.String), getAt(java.lang.String), any(), each(groovy.lang.Closure)
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.