[
https://issues.apache.org/jira/browse/CALCITE-1693?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15925139#comment-15925139
]
Maryann Xue commented on CALCITE-1693:
--------------------------------------
Tried that option, the time spent on Pig component build went down from 07:38
min to 06:24 min.
> Pig adapter test runs slowly
> ----------------------------
>
> Key: CALCITE-1693
> URL: https://issues.apache.org/jira/browse/CALCITE-1693
> Project: Calcite
> Issue Type: Bug
> Components: pig-adapter
> Reporter: Julian Hyde
> Assignee: Julian Hyde
>
> The Pig tests seem to be running very slowly (several minutes), and CPU is
> idle.
> A thread dump reveals a wait in
> {{java.net.Inet6AddressImpl#lookupAllHostAddr}}. If so, maybe we’re hitting a
> [known problem when IPv6 is not available|
> https://developer.ibm.com/answers/questions/284205/how-can-we-improve-performance-in-javanetinet6addr.html].
> The fix would be to add {{-Djava.net.preferIPv4Stack=true}}.
> [~maryannxue], Can you please see whether that fix helps in your environment?
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)