Rename urchin-mbean.jar to scylla-jmx.jar
Urchin is an obsolete working name for Scylla. Rename the Jar file to scylla-jmx.jar. Signed-off-by: Pekka Enberg <penberg@scylladb.com>
This commit is contained in:
parent
c452a9f7ba
commit
4dfa0737ac
@ -1,5 +1,5 @@
|
||||
# Urchin JMX Interface
|
||||
This is the JMX interface for urchin.
|
||||
This is the JMX interface for Scylla
|
||||
## Compile
|
||||
To compile do:
|
||||
```
|
||||
@ -10,7 +10,7 @@ mvn install
|
||||
The maven will create an uber-jar with all dependency under the target directory. You should run it with the remote jmx enable so the nodetool will be able to connect to it.
|
||||
|
||||
```
|
||||
java -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=7199 -Dcom.sun.management.jmxremote.local.only=false -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -jar target/urchin-mbean-1.0.jar
|
||||
java -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=7199 -Dcom.sun.management.jmxremote.local.only=false -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -jar target/scylla-jmx-1.0.jar
|
||||
```
|
||||
|
||||
## Setting IP and Port
|
||||
|
4
dist/redhat/scylla-jmx.spec.in
vendored
4
dist/redhat/scylla-jmx.spec.in
vendored
@ -32,7 +32,7 @@ install -m644 dist/common/sysconfig/scylla-jmx $RPM_BUILD_ROOT%{_sysconfdir}/sys
|
||||
install -m644 dist/redhat/systemd/scylla-jmx.service $RPM_BUILD_ROOT%{_unitdir}/
|
||||
install -d -m755 $RPM_BUILD_ROOT%{_prefix}/lib/scylla
|
||||
install -d -m755 $RPM_BUILD_ROOT%{_prefix}/lib/scylla/jmx
|
||||
install -m644 target/urchin-mbean-1.0.jar $RPM_BUILD_ROOT%{_prefix}/lib/scylla/jmx/
|
||||
install -m644 target/scylla-jmx-1.0.jar $RPM_BUILD_ROOT%{_prefix}/lib/scylla/jmx/
|
||||
install -m755 scripts/scylla-jmx $RPM_BUILD_ROOT%{_prefix}/lib/scylla/jmx
|
||||
|
||||
%pre
|
||||
@ -67,7 +67,7 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%config(noreplace) %{_sysconfdir}/sysconfig/scylla-jmx
|
||||
%{_unitdir}/scylla-jmx.service
|
||||
%{_prefix}/lib/scylla/jmx/scylla-jmx
|
||||
%{_prefix}/lib/scylla/jmx/urchin-mbean-1.0.jar
|
||||
%{_prefix}/lib/scylla/jmx/scylla-jmx-1.0.jar
|
||||
|
||||
%changelog
|
||||
* Fri Aug 7 2015 Takuya ASADA Takuya ASADA <syuu@cloudius-systems.com>
|
||||
|
2
dist/ubuntu/debian/rules
vendored
2
dist/ubuntu/debian/rules
vendored
@ -21,7 +21,7 @@ override_dh_auto_install:
|
||||
|
||||
mkdir -p $(DEST)
|
||||
cp $(CURDIR)/scripts/scylla-jmx $(DEST)
|
||||
cp $(CURDIR)/target/urchin-mbean-1.0.jar $(DEST)
|
||||
cp $(CURDIR)/target/scylla-jmx-1.0.jar $(DEST)
|
||||
|
||||
%:
|
||||
dh $@
|
||||
|
4
pom.xml
4
pom.xml
@ -3,11 +3,11 @@
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<groupId>com.cloudius.urchin</groupId>
|
||||
<artifactId>urchin-mbean</artifactId>
|
||||
<artifactId>scylla-jmx</artifactId>
|
||||
<version>1.0</version>
|
||||
<packaging>jar</packaging>
|
||||
|
||||
<name>Urchin MBean</name>
|
||||
<name>Scylla JMX</name>
|
||||
|
||||
<properties>
|
||||
<maven.compiler.target>1.7</maven.compiler.target>
|
||||
|
@ -69,4 +69,4 @@ do
|
||||
esac
|
||||
done
|
||||
|
||||
exec java $API_ADDR $API_PORT $CONF_FILE -Xmx256m -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=$JMX_PORT -Dcom.sun.management.jmxremote.rmi.port=$JMX_PORT -Dcom.sun.management.jmxremote.local.only=false -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -jar $LOCATION/urchin-mbean-1.0.jar
|
||||
exec java $API_ADDR $API_PORT $CONF_FILE -Xmx256m -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=$JMX_PORT -Dcom.sun.management.jmxremote.rmi.port=$JMX_PORT -Dcom.sun.management.jmxremote.local.only=false -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -jar $LOCATION/scylla-jmx-1.0.jar
|
||||
|
Loading…
Reference in New Issue
Block a user