问题描述 && 初步分析定位
问题描述
s3cmd -q get s3://zh_test/data_30.tar - | tar -xvf - -C ./
在使用上面的命令,从S3中get 一个tar包,并同时解压到本地ECFS分布式存储的卷中时,会发生报错,导致get中断。
问题复现频率非常高
s3cmd 日志
#s3cmd -q get s3://zh_test/data_30.tar - | tar -xvf - -C ./
data_30G
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
An unexpected error has occurred.
Please try reproducing the error using
the latest s3cmd code from the git master
branch found at:
https://github.com/s3tools/s3cmd
and have a look at the known issues list:
https://github.com/s3tools/s3cmd/wiki/Common-known-issues-and-their-solutions
If the error persists, please report the
following lines (removing any private
info as necessary) to:
s3tools-bugs@lists.sourceforge.net
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Invoked as: /usr/bin/s3cmd -q get s3://zh_test/data_30.tar -
Problem: error: [Errno 104] Connection reset by peer
S3cmd: 2.0.2
python: 2.7.5 (default, May 3 2017, 07:55:04)
[GCC 4.8.5 20150623 (Red Hat 4.8.5-14)]
environment LANG=en_US.UTF-8
Traceback (most recent call last):
File "/usr/bin/s3cmd", line 3092, in <module>
rc = main()
File "/usr/bin/s3cmd", line 3001, in main
rc = cmd_func(args)
File "/usr/bin/s3cmd", line 590, in cmd_object_get
response = s3.object_get(uri, dst_stream, destination, start_position = start_position, extra_label = seq_label)