[
https://issues.apache.org/jira/browse/MAHOUT-2065?focusedWorklogId=451269&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-451269
]
ASF GitHub Bot logged work on MAHOUT-2065:
------------------------------------------
Author: ASF GitHub Bot
Created on: 25/Jun/20 20:01
Start Date: 25/Jun/20 20:01
Worklog Time Spent: 10m
Work Description: rawkintrevo closed pull request #370:
URL: https://github.com/apache/mahout/pull/370
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 451269)
Time Spent: 40m (was: 0.5h)
> [SECURITY]newCachedThreadPool() has higher risk in causing OutOfMemoryError
> ---------------------------------------------------------------------------
>
> Key: MAHOUT-2065
> URL: https://issues.apache.org/jira/browse/MAHOUT-2065
> Project: Mahout
> Issue Type: Bug
> Reporter: bd2019us
> Priority: Major
> Labels: pull-request-available
> Attachments: 1.patch
>
> Time Spent: 40m
> Remaining Estimate: 0h
>
> Location :
> community/mahout-mr/mr/src/main/java/org/apache/mahout/clustering/streaming/mapreduce/StreamingKMeansDriver.java:427
> Executors.newCachedThreadPool() is not secure when the number of threads is
> not bounded, which can cause OutOfMemoryError and crash the program. For
> security, using newFixedThreadPool(int) should be preferred, which can be
> freely configured manually on demand.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)