IOException: invalid length:0 for chunk flag:0 when decompress

オープン
#182 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
32/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
java
領域
backend

調査の方向性

Start by reading the SnappyFramedInputStream and SnappyFramedOutputStream implementations and their existing tests. The issue asks whether damaged compressed data can be recovered or verified after compression; define a concrete, testable behavior for one of those needs before making changes. Done means the chosen behavior is covered by tests, but the issue does not specify which behavior to prioritize.

索引モデルが issue の本文から書いたものです。

説明

I compressed some data to a file using SnappyFramedOutputStream, and now decompress it with SnappyFramedInputStream. However, it throw an IOException: invalid length:0 for chunk flag:0 .

Only this file has this exception, so it seems damaged while being compressed.

So any method to recovery this file? If no, any way to verify the compressed file after compressing it?

主要言語
Java
スター
1.1k
フォーク
261
平均マージ
2分
マージ済み PR(30日)
2

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

xerial/snappy-java のほかの issue

xerial/snappy-java の issue をすべて見る

似ている issue

Java の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。