[
https://issues.apache.org/jira/browse/HBASE-1055?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
stack updated HBASE-1055:
-------------------------
Attachment: 1055-v2.patch
Turns out no difference between 'java -version' and jmx runtime output.
Changed patch so just outputs the opts.
> Better vm stats on startup
> --------------------------
>
> Key: HBASE-1055
> URL: https://issues.apache.org/jira/browse/HBASE-1055
> Project: Hadoop HBase
> Issue Type: Improvement
> Reporter: stack
> Assignee: stack
> Fix For: 0.19.0
>
> Attachments: 1055-v2.patch, 1055.patch
>
>
> Use to do this in the logs:
> {code}
> java version "1.6.0_10-beta"
> Java(TM) SE Runtime Environment (build 1.6.0_10-beta-b25)
> Java HotSpot(TM) Server VM (build 11.0-b12, mixed mode)
> ulimit -n 16384
> {code}
> Change it to...
> {code}
> ulimit -n 256
> 2008-12-11 10:36:19,209 INFO org.apache.hadoop.hbase.master.HMaster:
> vmName=Java HotSpot(TM) 64-Bit Server VM, vmVendor=Sun Microsystems Inc.,
> vmVersion=1.6.0_03-p3-landonf_19_aug_2008_15_52-b00
> 2008-12-11 10:36:19,209 INFO org.apache.hadoop.hbase.master.HMaster:
> vmInputArguments=[-Xmx1000m, -XX:+HeapDumpOnOutOfMemoryError,
> -Dhbase.log.dir=/Users/stack/Documents/checkouts/hbase/trunk/bin/../logs,
> -Dhbase.log.file=hbase-stack-master-durruti.desk.hq.powerset.com.log,
> -Dhbase.home.dir=/Users/stack/Documents/checkouts/hbase/trunk/bin/..,
> -Dhbase.id.str=stack, -Dhbase.root.logger=INFO,DRFA,
> -Djava.library.path=/Users/stack/Documents/checkouts/hbase/trunk/bin/../lib/native/Darwin-amd64-64]
> {code}
> Adds args and more stats on vm (whether 32bit or 64bit, heap size, etc).
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.