Grokbase Groups Avro dev July 2012
FAQ
On my mac (OSX Lion):
$tar -tzf avro-1.7.1-rc0.tar.gz | grep SUCCESS.crc
avro-src-1.7.1/lang/java/mapred/src/test/resources/org/apache/avro/mapreduc
e/mapreduce-test-input.avro/._SUCCESS.crc




$tar -xf avro-1.7.1-rc0.tar.gz
tar: copyfile unpack
(avro-src-1.7.1/lang/java/mapred/src/test/resources/org/apache/avro/mapredu
ce/mapreduce-test-input.avro/SUCCESS.crc) failed: No such file or directory

If I then inspect the unpacked files:

$ find . -name *SUCCESS.crc | xargs ls -lah
-rw-r--r-- 1 scottc staff 8B Apr 13 12:03
./lang/java/mapred/src/test/resources/org/apache/avro/mapreduce/mapreduce-t
est-input.avro/._SUCCESS.crc
-rw-r--r-- 1 scottc staff 0B Jul 20 09:56
./lang/java/mapred/src/test/resources/org/apache/avro/mapreduce/mapreduce-t
est-input.avro/SUCCESS.crc


It appears that the error creates a zero length file. Perhaps on other
systems there is the same error, but it does not create an empty file.

On 7/19/12 10:16 AM, "Doug Cutting" wrote:
On Thu, Jul 19, 2012 at 7:36 AM, Tom White wrote:
I get an error when unpacking (this is on Mac OS X):

tar: copyfile unpack

(avro-src-1.7.1/lang/java/mapred/src/test/resources/org/apache/avro/mapre
duce/mapreduce-test-input.avro/SUCCESS.crc)
failed: No such file or directory

When I ran tests from the svn tag it worked fine - but then, there's
no SUCCESS.crc file there. A fix would be to make sure that file is
not present before creating the tarball. I'm not sure how it gets
there though.
The actual file name is:

lang/java/mapred/src/test/resources/org/apache/avro/mapreduce/mapreduce-te
st-input.avro/._SUCCESS.crc

What does 'tar tzf | grep SUCCESS.crc' show on MacOS?

Doug

Search Discussions

Discussion Posts

Previous

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 14 of 14 | next ›
Discussion Overview
groupdev @
categoriesavro
postedJul 12, '12 at 7:44p
activeJul 20, '12 at 5:27p
posts14
users6
websiteavro.apache.org
irc#avro

People

Translate

site design / logo © 2021 Grokbase