[
https://issues.apache.org/jira/browse/DRILL-8268?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17570863#comment-17570863
]
ASF GitHub Bot commented on DRILL-8268:
---------------------------------------
luocooong commented on code in PR #2610:
URL: https://github.com/apache/drill/pull/2610#discussion_r928797183
##########
exec/vector/pom.xml:
##########
@@ -25,7 +25,7 @@
<groupId>org.apache.drill.exec</groupId>
<version>2.0.0-SNAPSHOT</version>
</parent>
- <artifactId>vector</artifactId>
+ <artifactId>drill-vector</artifactId>
Review Comment:
Change is not the best thing without more new things.
##########
pom.xml:
##########
@@ -3965,6 +3977,46 @@
</exclusion>
</exclusions>
</dependency>
+ <dependency>
Review Comment:
The dependence on Hadoop was tricky. Ensure that the dependency tree does
not have a new dependency.
##########
exec/java-exec/src/main/resources/drill-module.conf:
##########
@@ -190,7 +190,9 @@ drill.exec: {
maximum: 9223372036854775807
}
},
- memory.heap.failure.threshold: 0.85,
+ # Default to failing queries only at 100% heap usage, i.e. the heap usage
+ # limiting logic in the REST API is disabled by default.
+ memory.heap.failure.threshold: 1.0,
Review Comment:
That's okay.
In fact, this option is only used for REST modules and it has little effect
before Streaming RESTful feature joins because we cannot expect users to send
long or short queries.
> Fix Hadoop 2 and Netty lib exclusions, REST mem limiter disabled by default
> ---------------------------------------------------------------------------
>
> Key: DRILL-8268
> URL: https://issues.apache.org/jira/browse/DRILL-8268
> Project: Apache Drill
> Issue Type: Bug
> Affects Versions: 1.20.1
> Reporter: James Turton
> Assignee: James Turton
> Priority: Major
> Fix For: 1.20.2
>
>
> # New exclusions of reload4j, slf4j-reload4j are required in the Hadoop 2
> profile, probably due to the upgrade of Hadoop from 2.10.1 to 2.10.2.
> # We remove the netty-all metapackage which entered the dependency tree with
> the change introducing the Netty bom bringing many uneeded libs with it.
> # The heap memory usage limiting logic in the REST server becomes disabled
> by default since REST query results are streamed these days. This change aims
> to let the Java GC now do its job without interference and if that results in
> OOM under a constant load then there is good evidence for a heap leak which
> must be tracked down and completely resolved anyway, not mitigated or "swept
> under a rug".
--
This message was sent by Atlassian Jira
(v8.20.10#820010)