Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
46ef3611
Commit
46ef3611
authored
Mar 02, 2015
by
Matthew Farrellee
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add workers to README
parent
fd74d03f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
47 additions
and
0 deletions
+47
-0
README.md
examples/storm/README.md
+47
-0
No files found.
examples/storm/README.md
View file @
46ef3611
...
@@ -97,6 +97,53 @@ $ sudo docker run -it -w /opt/apache-storm mattf/storm-base sh -c '/configure.sh
...
@@ -97,6 +97,53 @@ $ sudo docker run -it -w /opt/apache-storm mattf/storm-base sh -c '/configure.sh
No topologies running.
No topologies running.
```
```
## Step Three: Start your Storm workers
The Storm workers (or supervisors) do the heavy lifting in a Storm
cluster. They run your stream processing topologies and are managed by
the Nimbus service.
The Storm workers need both the ZooKeeper and Nimbus services to be
running.
Use the
`examples/storm/storm-worker-controller.json`
file to create a
ReplicationController that manages the worker pods.
```
shell
$
kubectl create
-f
examples/storm/storm-worker-controller.json
```
### Check to see if the workers are running
One way to check on the workers is to get information from the
ZooKeeper service about how many clients it has.
```
shell
$
echo stat
| nc 10.254.139.141 2181
;
echo
Zookeeper version: 3.4.6--1, built on 10/23/2014 14:18 GMT
Clients:
/192.168.48.0:44187[0]
(
queued
=
0,recved
=
1,sent
=
0
)
/192.168.45.0:39568[1]
(
queued
=
0,recved
=
14072,sent
=
14072
)
/192.168.86.1:57591[1]
(
queued
=
0,recved
=
34,sent
=
34
)
/192.168.8.0:50375[1]
(
queued
=
0,recved
=
34,sent
=
34
)
/192.168.45.0:39576[1]
(
queued
=
0,recved
=
34,sent
=
34
)
Latency min/avg/max: 0/2/2570
Received: 23199
Sent: 23198
Connections: 5
Outstanding: 0
Zxid: 0xa39
Mode: standalone
Node count: 13
```
There should be one client from the Nimbus service and one per
worker. Ideally, you should get
```stat```
output from ZooKeeper
before and after creating the ReplicationController.
(Pull requests welcome for alternative ways to validate the workers)
## tl;dr
## tl;dr
```
kubectl create -f zookeeper.json```
```
kubectl create -f zookeeper.json```
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment