stream-processing


How to restart Apache Apex application?


From the apex documentation, it is clear that an app launched with apache apex can be killed or shutdwon using the commands: kill-app & shutdown-app respectively.
But, when the application is turned off (shutdown/kill), how to restart it from its previous state?
Apache Apex provides a command line interface, "apex" (previously called "dtcli") script, to interact with the applications. Once an application is shut down or killed, you can restart it using following command:
launch pi-demo-3.4.0-incubating-SNAPSHOT.apa -originalAppId application_1465560538823_0074 -Ddt.attr.APPLICATION_NAME="Relaunched PiDemo" -exactMatch "PiDemo"
where,
-originalAppId is ID of the original app. This will ensure that the operators continue from where the original app left-off.
-Ddt.attr.APPLICATION_NAME gives the new name for relaunched app
-exactMatch is used to specify the exact app name
Note that, -Ddt.attr.APPLICATION_NAME & -exactMatch are optional.

Related Links

How to restart Apache Apex application?
What do the numbers “total processed” & “total emitted” mean exactly for an Apex application
How to create an event with integer and float type in Yahoo! S4

Categories

HOME
batch-file
django
kentico
microsoftgraph
gridview
deep-learning
linkedin
telegram
google-spreadsheet
sitecore
rds
web-hosting
spring-session
banner
jtextpane
title
modal-dialog
google-schemas
commonjs
dkim
mxgraph
x-cart
scrolltop
dynamic-sql
vuejs
google-picker
mapstruct
production
articulate-storyline
dpdk
asymptotic-complexity
mat
handler
winpe
twiml
autodesk-designautomation
postback
zend-debugger
deltaspike
angularjs-material
gojs
classcastexception
lubridate
flatmap
unordered-map
hackintosh
apache-stanbol
logback-groovy
outputcache
apollostack
placeholder
flask-login
robomongo
activeperl
mongotemplate
singleinstance
pair-programming
modelsim
pdf-conversion
universal-analytics
shinobi
filenet
grails-plugin
custom-lists
actor-platform
parfor
centrifuge
envi
myspace
iotivity
ng-grid
tooleap
kango-framework
spreadjs
data-protection
aurora
gcloud-ruby
phpgrid
directdraw
avisynth
morton-number
toolkit
ember-cli-rails
nutiteq
openbabel
structuremap3
insight.database
matrix-inverse
winginx
dot42
away3d
hidapi
inappsettingskit
robotlegs
extconf.rb
wiimote
automationelement
listactivity
w3c-geolocation
silent
globals
ajax-polling
blender-2.49
sifr
purepdf
mathematical-notation
blind

Resources

Database Users
RDBMS discuss
Database Dev&Adm
javascript
java
csharp
php
android
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App