DS201:Apache Cassandra 基础 - 步骤 1 或 2 实验室 - 错误:tar:这看起来不像 tar 存档

问题描述 投票:0回答:1

刚刚开始 DS201 实验室。使用我们下载并解压 cassandra 的在线实验室

curl https://dlcdn.apache.org/cassandra/4.1.0/apache-cassandra-4.1.0-bin.tar.gz \

但出现此错误:

gitpod /workspace/ds201-lab01 (main) $ tar xf apache-cassandra-4.1.0-bin.tar.gz
tar: This does not look like a tar archive

只是想我会提到实验室文档有问题。

https://datastaxacad-ds201lab01-cvobpct6yi5.ws-us106.gitpod.io/

我相信问题是 apache-cassandra-4.1.0-bin.tar.gz 没有完全下载到 gitpod。

cassandra
1个回答
0
投票

我以前也遇到过这种情况。继续用这个替换该步骤:

curl https://dlcdn.apache.org/cassandra/4.1.3/apache-cassandra-4.1.3-bin.tar.gz \
    --output apache-cassandra-4.1.3-bin.tar.gz

这也将为您提供最新版本的 4.1。让我看看是否可以解决这个问题。

© www.soinside.com 2019 - 2024. All rights reserved.