You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "UENISHI Kota (Jira)" <ji...@apache.org> on 2021/08/17 02:23:00 UTC

[jira] [Created] (HDDS-5620) The default value for hadoop.http.idle_timeout.ms is never used

UENISHI Kota created HDDS-5620:
----------------------------------

             Summary: The default value for hadoop.http.idle_timeout.ms is never used
                 Key: HDDS-5620
                 URL: https://issues.apache.org/jira/browse/HDDS-5620
             Project: Apache Ozone
          Issue Type: Bug
          Components: S3
    Affects Versions: 1.1.0
            Reporter: UENISHI Kota
            Assignee: UENISHI Kota


tl; dr: The default value of hadoop.http.idle_timeout.ms seems to be inteneded as 10k in HttpServer2.java, but it is ignored and actually falls into 1000 defined in core-site.xml in hadoop-common implemented in HADOOP-15696 .

This leads to an error in S3G when connected by a slow client, like:

{quote}
2021-08-16 19:55:41,329 [qtp1516500233-135] WARN org.eclipse.jetty.server.HttpChannel: handleException /ksugihara.sandbox/kubernetes11/vendor/go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc/grpctrace.go java.io.IOException: java.util.concurrent.TimeoutException: Idle timeout expired: 1000/1000 ms
2021-08-16 19:55:41,329 [qtp1516500233-135] WARNorg.eclipse.jetty.server.HttpChannelState: unhandled due to prior sendError
javax.servlet.ServletException: javax.servlet.ServletException: org.glassfish.jersey.server.ContainerException: java.io.IOException: java.util.concurrent.TimeoutException: idle timeout expired: 1000/1000 ms
        at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:162)
(snip)
Caused by: javax.servlet.ServletException: org.glassfish.jersey.server.ContainerException: java.io.IOException: java.util.concurrent.TimeoutException: Idle timeout expired:
1000/1000 ms
        at org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:432)
        at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:370)
(snip)
        at org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:416)
        ... 40 more
Caused by: java.io.IOException: java.util.concurrent.TimeoutException: Idle timeout expired: 1000/1000 ms
        at org.eclipse.jetty.server.HttpInput$ErrorState.noContent(HttpInput.java:1124)
        at org.eclipse.jetty.server.HttpInput.read(HttpInput.java:333)
        at java.io.InputStream.read(InputStream.java:101)
        at org.glassfish.jersey.message.internal.EntityInputStream.read(EntityInputStream.java:98)
        at org.apache.commons.io.IOUtils.copyLarge(IOUtils.java:2146)
        at org.apache.commons.io.IOUtils.copy(IOUtils.java:2102)
        at org.apache.commons.io.IOUtils.copyLarge(IOUtils.java:2123)
        at org.apache.commons.io.IOUtils.copy(IOUtils.java:2078)
        at org.apache.hadoop.ozone.s3.endpoint.ObjectEndpoint.put(ObjectEndpoint.java:200)
        at sun.reflect.GeneratedMethodAccessor65.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
{quote}




--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org