OK, +1 from me :)
ant runtime works:
job:
[jar] Building jar: /Users/mattmann/tmp/nutch2/build/apache-nutch-2.0.job
runtime:
[mkdir] Created dir: /Users/mattmann/tmp/nutch2/runtime
[mkdir] Created dir: /Users/mattmann/tmp/nutch2/runtime/local
[mkdir] Created dir: /Users/mattmann/tmp/nutch2/runtime/deploy
[copy] Copying 1 file to /Users/mattmann/tmp/nutch2/runtime/deploy
[copy] Copying 1 file to /Users/mattmann/tmp/nutch2/runtime/deploy/bin
[copy] Copying 1 file to /Users/mattmann/tmp/nutch2/runtime/local/lib
[copy] Copying 1 file to
/Users/mattmann/tmp/nutch2/runtime/local/lib/native
[copy] Copying 25 files to /Users/mattmann/tmp/nutch2/runtime/local/conf
[copy] Copying 1 file to /Users/mattmann/tmp/nutch2/runtime/local/bin
[copy] Copying 84 files to /Users/mattmann/tmp/nutch2/runtime/local/lib
[copy] Copying 97 files to /Users/mattmann/tmp/nutch2/runtime/local/plugins
[copy] Copied 2 empty directories to 2 empty directories under
/Users/mattmann/tmp/nutch2/runtime/local/test
BUILD SUCCESSFUL
Total time: 3 minutes 24 seconds
[chipotle:~/tmp/nutch2] mattmann%
Good enough for me!
Cheers,
Chris
On Jul 3, 2012, at 11:24 AM, Mattmann, Chris A (388J) wrote:
> Hey Lewis,
>
> I was running ant test -- sorry -- will try ant runtime now (any idea
> what's up with test?)
>
> Cheers,
> Chris
>
> On Jul 3, 2012, at 11:11 AM, Lewis John Mcgibbney wrote:
>
>> What commands are you using?
>>
>> I just grabbed the src-tar.gz from my local area with wget
>> extracted it to ~/Desktop
>> rm -r ~/.ivy2
>> cd ~/Desktop/$nutch_folder
>> ant runtime
>>
>> runtime:
>> [mkdir] Created dir: /home/lewismc/Desktop/nutch/runtime
>> [mkdir] Created dir: /home/lewismc/Desktop/nutch/runtime/local
>> [mkdir] Created dir: /home/lewismc/Desktop/nutch/runtime/deploy
>> [copy] Copying 1 file to /home/lewismc/Desktop/nutch/runtime/deploy
>> [copy] Copying 1 file to /home/lewismc/Desktop/nutch/runtime/deploy/bin
>> [copy] Copying 1 file to /home/lewismc/Desktop/nutch/runtime/local/lib
>> [copy] Copying 1 file to
>> /home/lewismc/Desktop/nutch/runtime/local/lib/native
>> [copy] Copying 25 files to /home/lewismc/Desktop/nutch/runtime/local/conf
>> [copy] Copying 1 file to /home/lewismc/Desktop/nutch/runtime/local/bin
>> [copy] Copying 84 files to /home/lewismc/Desktop/nutch/runtime/local/lib
>> [copy] Copying 97 files to
>> /home/lewismc/Desktop/nutch/runtime/local/plugins
>> [copy] Copied 2 empty directories to 2 empty directories under
>> /home/lewismc/Desktop/nutch/runtime/local/test
>>
>> BUILD SUCCESSFUL
>> Total time: 2 minutes 40 seconds
>>
>> This is every dependency being down loaded to ivy cache
>>
>> Lewis
>>
>> On Tue, Jul 3, 2012 at 5:12 PM, Mattmann, Chris A (388J)
>> <[email protected]> wrote:
>>> Hey Julien,
>>>
>>> I ran this command: rm -rf /Users/mattmann/.ivy2/
>>>
>>> But it still failed with the below messages:
>>>
>>> [ivy:resolve] :: problems summary ::
>>> [ivy:resolve] :::: WARNINGS
>>> [ivy:resolve] [FAILED ]
>>> org.apache.hadoop#hadoop-core;1.0.3!hadoop-core.jar: invalid sha1:
>>> expected=d7d8610ba4aad504475e568fd3badb412a0beae9
>>> computed=f8369ff1a71e1a8febbb8e9c3a54ffbb08048f19 (1598ms)
>>> [ivy:resolve] [FAILED ]
>>> org.apache.hadoop#hadoop-core;1.0.3!hadoop-core.jar: (0ms)
>>> [ivy:resolve] ==== local: tried
>>> [ivy:resolve]
>>> /Users/mattmann/.ivy2/local/org.apache.hadoop/hadoop-core/1.0.3/jars/hadoop-core.jar
>>> [ivy:resolve] ==== maven2: tried
>>> [ivy:resolve]
>>> http://repo1.maven.org/maven2/org/apache/hadoop/hadoop-core/1.0.3/hadoop-core-1.0.3.jar
>>> [ivy:resolve] [FAILED ] org.hsqldb#hsqldb;2.2.8!hsqldb.jar:
>>> invalid sha1: expected=8231a3ff71ba5889f9e2d01ce13503cbdd4038e9
>>> computed=81a7e8d5d1802c7acbc8f8f81d3e4680a4b2441c (523ms)
>>> [ivy:resolve] [FAILED ] org.hsqldb#hsqldb;2.2.8!hsqldb.jar:
>>> (0ms)
>>> [ivy:resolve] ==== local: tried
>>> [ivy:resolve]
>>> /Users/mattmann/.ivy2/local/org.hsqldb/hsqldb/2.2.8/jars/hsqldb.jar
>>> [ivy:resolve] ==== maven2: tried
>>> [ivy:resolve]
>>> http://repo1.maven.org/maven2/org/hsqldb/hsqldb/2.2.8/hsqldb-2.2.8.jar
>>> [ivy:resolve] [FAILED ]
>>> org.apache.lucene#lucene-core;3.4.0!lucene-core.jar: invalid sha1:
>>> expected=4426bf0764ec5fa634abca236b469d2519c74f65
>>> computed=112d2454390cba8c7c35b34b8f7a821c6cec3f73 (775ms)
>>> [ivy:resolve] [FAILED ]
>>> org.apache.lucene#lucene-core;3.4.0!lucene-core.jar: (0ms)
>>> [ivy:resolve] ==== local: tried
>>> [ivy:resolve]
>>> /Users/mattmann/.ivy2/local/org.apache.lucene/lucene-core/3.4.0/jars/lucene-core.jar
>>> [ivy:resolve] ==== maven2: tried
>>> [ivy:resolve]
>>> http://repo1.maven.org/maven2/org/apache/lucene/lucene-core/3.4.0/lucene-core-3.4.0.jar
>>> [ivy:resolve] [FAILED ] com.ibm.icu#icu4j;4.0.1!icu4j.jar:
>>> invalid sha1: expected=06362db7a2556bb58a04e991029196e2aad632d4
>>> computed=d9862ffbc6cd6241a03c06b5911bf22a079d2cda (1544ms)
>>> [ivy:resolve] [FAILED ] com.ibm.icu#icu4j;4.0.1!icu4j.jar:
>>> (0ms)
>>> [ivy:resolve] ==== local: tried
>>> [ivy:resolve]
>>> /Users/mattmann/.ivy2/local/com.ibm.icu/icu4j/4.0.1/jars/icu4j.jar
>>> [ivy:resolve] ==== maven2: tried
>>> [ivy:resolve]
>>> http://repo1.maven.org/maven2/com/ibm/icu/icu4j/4.0.1/icu4j-4.0.1.jar
>>> [ivy:resolve] [FAILED ]
>>> xerces#xercesImpl;2.9.1!xercesImpl.jar: invalid sha1:
>>> expected=7bc7e49ddfe4fb5f193ed37ecc96c12292c8ceb6
>>> computed=88931c057b31ba3ff7ac96e53817b25ff355c4a1 (393ms)
>>> [ivy:resolve] [FAILED ]
>>> xerces#xercesImpl;2.9.1!xercesImpl.jar: (0ms)
>>> [ivy:resolve] ==== local: tried
>>> [ivy:resolve]
>>> /Users/mattmann/.ivy2/local/xerces/xercesImpl/2.9.1/jars/xercesImpl.jar
>>> [ivy:resolve] ==== maven2: tried
>>> [ivy:resolve]
>>> http://repo1.maven.org/maven2/xerces/xercesImpl/2.9.1/xercesImpl-2.9.1.jar
>>> [ivy:resolve] [FAILED ]
>>> com.google.guava#guava;11.0.2!guava.jar: invalid sha1:
>>> expected=35a3c69e19d72743cac83778aecbee68680f63eb
>>> computed=1e8507869d7db99f60f8d949bc5ba2b5410ce2db (355ms)
>>> [ivy:resolve] [FAILED ]
>>> com.google.guava#guava;11.0.2!guava.jar: (0ms)
>>> [ivy:resolve] ==== local: tried
>>> [ivy:resolve]
>>> /Users/mattmann/.ivy2/local/com.google.guava/guava/11.0.2/jars/guava.jar
>>> [ivy:resolve] ==== maven2: tried
>>> [ivy:resolve]
>>> http://repo1.maven.org/maven2/com/google/guava/guava/11.0.2/guava-11.0.2.jar
>>> [ivy:resolve] ::::::::::::::::::::::::::::::::::::::::::::::
>>> [ivy:resolve] :: FAILED DOWNLOADS ::
>>> [ivy:resolve] :: ^ see resolution messages for details ^ ::
>>> [ivy:resolve] ::::::::::::::::::::::::::::::::::::::::::::::
>>> [ivy:resolve] ::
>>> org.apache.lucene#lucene-core;3.4.0!lucene-core.jar
>>> [ivy:resolve] ::
>>> org.apache.hadoop#hadoop-core;1.0.3!hadoop-core.jar
>>> [ivy:resolve] :: org.hsqldb#hsqldb;2.2.8!hsqldb.jar
>>> [ivy:resolve] :: com.ibm.icu#icu4j;4.0.1!icu4j.jar
>>> [ivy:resolve] :: xerces#xercesImpl;2.9.1!xercesImpl.jar
>>> [ivy:resolve] :: com.google.guava#guava;11.0.2!guava.jar
>>> [ivy:resolve] ::::::::::::::::::::::::::::::::::::::::::::::
>>> [ivy:resolve]
>>> [ivy:resolve] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
>>>
>>> BUILD FAILED
>>> /Users/mattmann/tmp/nutch2/apache-nutch-2.0/build.xml:431: impossible to
>>> resolve dependencies:
>>> resolve failed - see output for details
>>>
>>> Total time: 1 minute 56 seconds
>>> [chipotle:~/tmp/nutch2/apache-nutch-2.0] mattmann%
>>>
>>> Any ideas?
>>>
>>> Cheers,
>>> Chris
>>>
>>>
>>> On Jul 3, 2012, at 7:49 AM, Julien Nioche wrote:
>>>
>>>> Hi Chris
>>>>
>>>>
>>>>
>>>> [chipotle:~/tmp/nutch2] mattmann% $HOME/bin/verify_gpg_sigs
>>>> Verifying Signature for file apache-nutch-2.0-src.tar.gz.asc
>>>> gpg: Signature made Mon Jun 25 09:28:36 2012 PDT using RSA key ID C601BCA7
>>>> gpg: Good signature from "Lewis John McGibbney (CODE SIGNING KEY)
>>>> <[email protected]>"
>>>> gpg: WARNING: This key is not certified with a trusted signature!
>>>> gpg: There is no indication that the signature belongs to the
>>>> owner.
>>>> Primary key fingerprint: 2A23 D53F 8D27 5CB6 91E1 89C1 F45E 7970 C601 BCA7
>>>> Verifying Signature for file apache-nutch-2.0-src.zip.asc
>>>> gpg: Signature made Mon Jun 25 09:28:18 2012 PDT using RSA key ID C601BCA7
>>>> gpg: Good signature from "Lewis John McGibbney (CODE SIGNING KEY)
>>>> <[email protected]>"
>>>> gpg: WARNING: This key is not certified with a trusted signature!
>>>> gpg: There is no indication that the signature belongs to the
>>>> owner.
>>>> Primary key fingerprint: 2A23 D53F 8D27 5CB6 91E1 89C1 F45E 7970 C601 BCA7
>>>> [chipotle:~/tmp/nutch2] mattmann%
>>>>
>>>> Checksums check out:
>>>>
>>>> [chipotle:~/tmp/nutch2] mattmann% $HOME/bin/verify_md5_checksums
>>>> md5sum: stat '*.bz2': No such file or directory
>>>> apache-nutch-2.0-src.tar.gz: OK
>>>> apache-nutch-2.0-src.zip: OK
>>>> [chipotle:~/tmp/nutch2] mattmann%
>>>>
>>>> OK, so basically signatures and checksums are fine
>>>>
>>>>
>>>>
>>>> Tried to build and test and got this:
>>>>
>>>> [ivy:resolve] ::::::::::::::::::::::::::::::::::::::::::::::
>>>> [ivy:resolve] :: UNRESOLVED DEPENDENCIES ::
>>>> [ivy:resolve] ::::::::::::::::::::::::::::::::::::::::::::::
>>>> [ivy:resolve] :: org.apache.gora#gora-sql;0.1.1-incubating:
>>>> configuration not found in org.apache.gora#gora-sql;0.1.1-incubating:
>>>> 'default'. It was required from
>>>> org.apache.nutch#nutch;[email protected] default
>>>> [ivy:resolve] ::::::::::::::::::::::::::::::::::::::::::::::
>>>> [ivy:resolve] ::::::::::::::::::::::::::::::::::::::::::::::
>>>> [ivy:resolve] :: FAILED DOWNLOADS ::
>>>> [ivy:resolve] :: ^ see resolution messages for details ^ ::
>>>> [ivy:resolve] ::::::::::::::::::::::::::::::::::::::::::::::
>>>> [ivy:resolve] ::
>>>> org.apache.hadoop#hadoop-core;1.0.3!hadoop-core.jar
>>>> [ivy:resolve] :: org.hsqldb#hsqldb;2.2.8!hsqldb.jar
>>>> [ivy:resolve] :: com.google.guava#guava;11.0.2!guava.jar
>>>> [ivy:resolve] ::::::::::::::::::::::::::::::::::::::::::::::
>>>>
>>>> Consistently. I tried deleting the relevant entries out of my Ivy cache
>>>> but still nothing.
>>>> Any idea what I'm doing wrong here? I'm on Mac OS X 10.6.8.
>>>>
>>>>
>>>> Try deleting your entire .ivy dir and re-run ant. Just did that on my
>>>> machine and Nutch compiles fine
>>>>
>>>> --
>>>>
>>>> Open Source Solutions for Text Engineering
>>>>
>>>> http://digitalpebble.blogspot.com/
>>>> http://www.digitalpebble.com
>>>> http://twitter.com/digitalpebble
>>>>
>>>
>>>
>>> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>>> Chris Mattmann, Ph.D.
>>> Senior Computer Scientist
>>> NASA Jet Propulsion Laboratory Pasadena, CA 91109 USA
>>> Office: 171-266B, Mailstop: 171-246
>>> Email: [email protected]
>>> WWW: http://sunset.usc.edu/~mattmann/
>>> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>>> Adjunct Assistant Professor, Computer Science Department
>>> University of Southern California, Los Angeles, CA 90089 USA
>>> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>>>
>>
>>
>>
>> --
>> Lewis
>
>
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> Chris Mattmann, Ph.D.
> Senior Computer Scientist
> NASA Jet Propulsion Laboratory Pasadena, CA 91109 USA
> Office: 171-266B, Mailstop: 171-246
> Email: [email protected]
> WWW: http://sunset.usc.edu/~mattmann/
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> Adjunct Assistant Professor, Computer Science Department
> University of Southern California, Los Angeles, CA 90089 USA
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Chris Mattmann, Ph.D.
Senior Computer Scientist
NASA Jet Propulsion Laboratory Pasadena, CA 91109 USA
Office: 171-266B, Mailstop: 171-246
Email: [email protected]
WWW: http://sunset.usc.edu/~mattmann/
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Adjunct Assistant Professor, Computer Science Department
University of Southern California, Los Angeles, CA 90089 USA
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++