additional JAVA_OPTS in standalone cdap.sh

Description

in addition to CDAP-1545, to allow debugging of docker standalone:

  • Update cdap.sh to allow the setting of "Djava.rmi.server.hostname" and "Dcom.sun.management.jmxremote.rmi.port"

https://github.com/caskdata/cdap/blob/develop/cdap-standalone/bin/cdap.sh#L391

http://ptmccarthy.github.io/2014/07/24/remote-jmx-with-docker/

Release Notes

None

Activity

Show:

Chris Gianelloni May 26, 2016 at 11:08 PM

I plan on implementing this by having the cdap.sh script take any arguments which it doesn't recognize and pass them to the JVM.

This way we can do something like:

Chris Gianelloni May 26, 2016 at 11:06 PM

Won't the user also have to expose the JMX port?

Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Components

Priority

Created February 19, 2015 at 7:45 PM
Updated April 10, 2018 at 9:33 PM