[ https://issues.apache.org/jira/browse/DRILL-8077?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17460205#comment-17460205 ]
ASF GitHub Bot commented on DRILL-8077: --------------------------------------- Z0ltrix commented on a change in pull request #2406: URL: https://github.com/apache/drill/pull/2406#discussion_r769959037 ########## 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: Isnt his important for both... drillbit and sqlline? And i thought this has to be done before including drill-env.sh ? -- 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)