Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions bin/flight.bash
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ function jstack_record {
function jmap_record {
FILENAME=recording-$1-${NOW}.bin
$BINPATH/jmap -dump:format=b,file="$2/${FILENAME}" $1
/bin/chmod g+r "$2/${FILENAME}"
}

function stop_record {
Expand Down
14 changes: 14 additions & 0 deletions conf/defaults.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,20 @@ supervisor.cpu.capacity: 400.0
### worker.* configs are for task workers
worker.heap.memory.mb: 768
worker.childopts: "-Xmx%HEAP-MEM%m -XX:+PrintGCDetails -Xloggc:artifacts/gc.log -XX:+PrintGCDateStamps -XX:+PrintGCTimeStamps -XX:+UseGCLogFileRotation -XX:NumberOfGCLogFiles=10 -XX:GCLogFileSize=1M -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=artifacts/heapdump"

worker.childopts:
- -Xmx%HEAP-MEM%m
- -XX:+PrintGCDetails
- -Xloggc:artifacts/gc.%p.log
- -XX:+PrintGCDateStamps
- -XX:+PrintGCTimeStamps
- -XX:+UseGCLogFileRotation
- -XX:NumberOfGCLogFiles=10
- -XX:GCLogFileSize=1M
- -XX:+HeapDumpOnOutOfMemoryError
- -XX:HeapDumpPath=artifacts/heapdump
- -XX:OnOutOfMemoryError="chmod g+r artifacts/*.hprof artifacts/heapdump"

worker.gc.childopts: ""

# Unlocking commercial features requires a special license from Oracle.
Expand Down
2 changes: 1 addition & 1 deletion storm-core/src/clj/org/apache/storm/cluster.clj
Original file line number Diff line number Diff line change
Expand Up @@ -494,7 +494,7 @@

(topology-backpressure
[this storm-id callback]
"if the backpresure/storm-id dir is empty, this topology has throttle-on, otherwise not."
"if the backpresure/storm-id dir is not empty, this topology has throttle-on, otherwise throttle-off."
(when callback
(swap! backpressure-callback assoc storm-id callback))
(let [path (backpressure-storm-root storm-id)
Expand Down
2 changes: 1 addition & 1 deletion storm-core/src/jvm/org/apache/storm/Config.java
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ public class Config extends HashMap<String, Object> {

/**
* Whether we want to display all the resource capacity and scheduled usage on the UI page.
* We suggest to have this variable set if you are using any kind of resource-related scheduler.
* You must have this variable set if you are using any kind of resource-related scheduler.
*
* If this is not set, we will not display resource capacity and usage on the UI.
*/
Expand Down