GMN failure on large object transfer
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 28/100
- issue の種類
- バグ
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 技術スタック
- java
- 領域
- api, networking
調査の方向性
まず、464-470行目付近の HttpMultipartRestClient.java の doPostRequest と、495行目付近の MultipartMNode.java の create から始め、その後、stack trace に示されている GMN create 呼び出しを追跡してください。5GB 転送の timeout を再現または分析し、失敗がクライアント側のものか、member node に関連するものかを判断してください。この issue では、具体的に期待される修正は定義されていません。
索引モデルが issue の本文から書いたものです。
説明
The following was reported by Ross for a failure trying to upload a large 5GB file to GMN using create() from the Java client. Here's Ross' report:
we encountered three "Read Timeout" errors (see past history) in the past two days - one of the archives was small and we were able to submit it again right away, and it worked the second time. The other two both contain a file around 5GB in size, so it took substantially longer (hours) for the member node to error out. Could this be related to production issues this week or otherwise?
SEVERE: unable to create resource map
org.dataone.service.exceptions.ServiceFailure: class org.dataone.client.exception.ClientSideException: /Read timed out
at org.dataone.client.rest.HttpMultipartRestClient.doPostRequest(HttpMultipartRestClient.java:470)
at org.dataone.client.v2.impl.MultipartMNode.create(MultipartMNode.java:495)
at util.ArchiveSubmitter.createFile(ArchiveSubmitter.java:573)
at util.ArchiveSubmitter.createFolderMap(ArchiveSubmitter.java:218)
at util.ArchiveSubmitter.createBaseFolderMap(ArchiveSubmitter.java:149)
at util.ArchiveSubmitter.submit(ArchiveSubmitter.java:99)
at models.archive.ArchivePackage.submit(ArchivePackage.java:241)
at controllers.Archive.submitArchive(Archive.java:242)
at play.mvc.ActionInvoker.invokeWithContinuation(ActionInvoker.java:536)
at play.mvc.ActionInvoker.invoke(ActionInvoker.java:473)
at play.mvc.ActionInvoker.invokeControllerMethod(ActionInvoker.java:467)
at play.mvc.ActionInvoker.invokeControllerMethod(ActionInvoker.java:436)
at play.mvc.ActionInvoker.invoke(ActionInvoker.java:159)
at Invocation.HTTP Request(Play!)
Caused by: org.dataone.client.exception.ClientSideException: /Read timed out
... 14 more
Caused by: java.net.SocketTimeoutException: Read timed out
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
at java.net.SocketInputStream.read(SocketInputStream.java:171)
at java.net.SocketInputStream.read(SocketInputStream.java:141)
at sun.security.ssl.InputRecord.readFully(InputRecord.java:465)
at sun.security.ssl.InputRecord.read(InputRecord.java:503)
at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:975)
at sun.security.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:933)
at sun.security.ssl.AppInputStream.read(AppInputStream.java:105)
at org.apache.http.impl.io.SessionInputBufferImpl.streamRead(SessionInputBufferImpl.java:137)
at org.apache.http.impl.io.SessionInputBufferImpl.fillBuffer(SessionInputBufferImpl.java:153)
at org.apache.http.impl.io.SessionInputBufferImpl.readLine(SessionInputBufferImpl.java:282)
at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:138)
at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:56)
at org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:259)
at org.apache.http.impl.DefaultBHttpClientConnection.receiveResponseHeader(DefaultBHttpClientConnection.java:163)
at org.apache.http.impl.conn.CPoolProxy.receiveResponseHeader(CPoolProxy.java:165)
at org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:273)
at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:125)
at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:272)
at org.apache.http.impl.client.cache.CachingExec.callBackend(CachingExec.java:578)
at org.apache.http.impl.client.cache.CachingExec.execute(CachingExec.java:259)
at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:185)
at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:89)
at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110)
at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:185)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:108)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:56)
at org.dataone.client.rest.RestClient.doRequest(RestClient.java:330)
at org.dataone.client.rest.RestClient.doRequestMMBody(RestClient.java:306)
at org.dataone.client.rest.RestClient.doPostRequest(RestClient.java:226)
at org.dataone.client.rest.HttpMultipartRestClient.doPostRequest(HttpMultipartRestClient.java:464)
... 13 more
timestamps in logs indicate the archive submission took hours to fail (at 4:18am) after being submitted (createFolderMap @ 7:47pm) to the member node
timestamps in logs indicate the archive submission took hours to fail (at 4:18am) after being submitted (createFolderMap @ 7:47pm) to the member node
May 14, 2020 7:47:59 PM play.Logger info
INFO: submitArchive: 6456544
May 14, 2020 7:47:59 PM play.Logger info
INFO: createFolderMap
May 15, 2020 4:18:44 AM play.Logger niceThrowable
SEVERE: unable to create resource map
org.dataone.service.exceptions.ServiceFailure: class org.dataone.client.exception.ClientSideException: /Read timed out
at org.dataone.client.rest.HttpMultipartRestClient.doPostRequest(HttpMultipartRestClient.java:470)
at org.dataone.client.v2.impl.MultipartMNode.create(MultipartMNode.java:495)
at util.ArchiveSubmitter.createFile(ArchiveSubmitter.java:573)
at util.ArchiveSubmitter.createFolderMap(ArchiveSubmitter.java:218)
at util.ArchiveSubmitter.createBaseFolderMap(ArchiveSubmitter.java:149)
this occurs when MN.create is called using the Java API to GMN
- 主要言語
- Python
- スター
- 18
- フォーク
- 10
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
DataONEorg/d1_python のほかの issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 70/100
DataONEorg/d1_python#108 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
DataONEorg/d1_python#105 · コメント 3 件 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 45/100
DataONEorg/d1_python#103 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
DataONEorg/d1_python#101 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 35/100
DataONEorg/d1_python#100 ·
DataONEorg/d1_python の issue をすべて見る
似ている issue
-
Make the "%" unit spacing the same in the web and in A10対応中かも @kragent66-glitch が今日担当しました。 オープンbug good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
maiychrus25/OpenTea-DX-OS#226 · コメント 1 件 ·
-
ci severity: low
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
TMHSDigital/Spackle#205 ·
メンテナーはふだん 1 日以内に返信
-
pkg:lgm type:chore upstream-gaussx
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
jejjohnson/pyrox#610 ·
メンテナーはふだん 1 日以内に返信
-
changelog investigate
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
ramnes/notion-sdk-py#523 ·
-
feature-request
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
open-telemetry/opentelemetry-python#5994 ·
メンテナーはふだん 2 日以内に返信