On Sat Apr 03 10:50:08 2010, DRTECH wrote:
Show quoted text
I am able to reproduce this problem. Today I downloaded the same elasticsearch tarball from github. Using GNUtar 1.28 on Ubuntu Linux 16.04 LTS, I called 'tar xzvf <archive>' and got a directory which 'find' reported as containing 7311 files (-f entities).
Archive::Tar gave up after extracting only 15 files -- but did not die or throw an exception. See attachments.
# perl
use strict;
use warnings;
use 5.10.1;
use Data::Dumper;$Data::Dumper::Indent=1;
use Data::Dump qw( pp );
use Carp;
use Archive::Tar;
my @extracted;
my $archive = 'elastic-elasticsearch-v5.0.0-alpha5-842-g7e3863d.tar.gz';
@extracted = Archive::Tar->extract_archive($archive)
or croak "Unable to call extract_archive";
pp(\@extracted);
[
"elastic-elasticsearch-7e3863d/",
"elastic-elasticsearch-7e3863d/.dir-locals.el",
"elastic-elasticsearch-7e3863d/.editorconfig",
"elastic-elasticsearch-7e3863d/.github/",
"elastic-elasticsearch-7e3863d/.github/ISSUE_TEMPLATE.md",
"elastic-elasticsearch-7e3863d/.github/PULL_REQUEST_TEMPLATE.md",
"elastic-elasticsearch-7e3863d/.gitignore",
"elastic-elasticsearch-7e3863d/.projectile",
"elastic-elasticsearch-7e3863d/CONTRIBUTING.md",
"elastic-elasticsearch-7e3863d/GRADLE.CHEATSHEET",
"elastic-elasticsearch-7e3863d/LICENSE.txt",
"elastic-elasticsearch-7e3863d/NOTICE.txt",
"elastic-elasticsearch-7e3863d/README.textile",
"elastic-elasticsearch-7e3863d/TESTING.asciidoc",
"elastic-elasticsearch-7e3863d/Vagrantfile",
"elastic-elasticsearch-7e3863d/benchmarks/",
"elastic-elasticsearch-7e3863d/benchmarks/README.md",
"elastic-elasticsearch-7e3863d/benchmarks/build.gradle",
"elastic-elasticsearch-7e3863d/benchmarks/src/",
"elastic-elasticsearch-7e3863d/benchmarks/src/main/",
"elastic-elasticsearch-7e3863d/benchmarks/src/main/java/",
"elastic-elasticsearch-7e3863d/benchmarks/src/main/java/org/",
"elastic-elasticsearch-7e3863d/benchmarks/src/main/java/org/elasticsearch/",
"elastic-elasticsearch-7e3863d/benchmarks/src/main/java/org/elasticsearch/benchmark/",
"elastic-elasticsearch-7e3863d/benchmarks/src/main/java/org/elasticsearch/benchmark/routing/",
]