[ https://issues.apache.org/jira/browse/DRILL-8077?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17460201#comment-17460201 ]
ASF GitHub Bot commented on DRILL-8077: --------------------------------------- vvysotskyi commented on a change in pull request #2406: URL: https://github.com/apache/drill/pull/2406#discussion_r769956594 ########## File path: distribution/src/main/resources/drill-config.sh ########## @@ -213,6 +213,9 @@ fi # Set Drill-provided defaults here. Do not put Drill defaults # in the distribution or user environment config files. +# Prefer IPv4 over IPv6 +export DRILL_JAVA_OPTS=${$DRILL_JAVA_OPTS:-" -Djava.net.preferIPv4Stack=true -Djava.net.preferIPv6Addresses=false"} Review comment: Please use the `DRILLBIT_OPTS` variable below instead of `DRILL_JAVA_OPTS` and move it to the part where some other specific properties are set, like `ReservedCodeCacheSize` and so on. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@drill.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org > Thousand of CLOSE_WAIT connections to HDFS Datanode > ---------------------------------------------------- > > Key: DRILL-8077 > URL: https://issues.apache.org/jira/browse/DRILL-8077 > Project: Apache Drill > Issue Type: Bug > Components: Storage - Other > Affects Versions: 1.16.0 > Reporter: Christian Pfarr > Priority: Major > > In IPv6 environments after a while drill has a lot of connections to HDFS > Datanode in CLOSE_WAIT state. > To fix this we add '-Djava.net.preferIPv4Stack=true > -Djava.net.preferIPv6Addresses=false' to our drill configuration and the > problem vanished. > we saw > [https://community.cloudera.com/t5/Support-Questions/Over-40000-CLOSE-WAIT-after-hbase-cluster-restart/m-p/6403/highlight/true#M51847] > from cloudera that helped. -- This message was sent by Atlassian Jira (v8.20.1#820001)