forked from cloudera/flume
-
Notifications
You must be signed in to change notification settings - Fork 0
/
flume-shell.1
143 lines (143 loc) · 3.74 KB
/
flume-shell.1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
'\" t
.\" Title: flume-shell
.\" Author: [see the "AUTHOR" section]
.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
.\" Date: 11/09/2010
.\" Manual: \ \&
.\" Source: \ \&
.\" Language: English
.\"
.TH "FLUME\-SHELL" "1" "11/09/2010" "\ \&" "\ \&"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.\" http://bugs.debian.org/507673
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.ie \n(.g .ds Aq \(aq
.el .ds Aq '
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.ad l
.\" -----------------------------------------------------------------
.\" * MAIN CONTENT STARTS HERE *
.\" -----------------------------------------------------------------
.SH "NAME"
flume-shell \- Flume shell
.SH "SYNOPSIS"
.sp
USAGE: \fBflume shell\fR [\-c <master>] [\-?] [\-e <cmd>] [\-q] [\-s <script>]
.SH "DESCRIPTION"
.sp
Start a Flume shell\&. This is a scriptable interface to communicate with the Flume master used for configuring a Flume system\&.
.SS "OPTIONS"
.PP
\fB\-?,\-\-help\fR
.RS 4
Output usage help
.RE
.PP
\fB\-c <master>[:<adminport[:<reportport>]]\fR
.RS 4
Connect to master on adminport (destination for commands) with reporting port reportport (for querying metrics reports aggregated at master)
.RE
.PP
\fB\-e <cmd>\fR
.RS 4
Run a single command, and then exit\&. Usually coupled with \-c\&.
.RE
.PP
\fB\-q\fR
.RS 4
Run in quiet mode \(em only print command results
.RE
.PP
\fB\-s <arg>\fR
.RS 4
Run a Flume shell script and then automatically exit\&.
.RE
.SS "EXIT STATUS"
.PP
\fB0\fR
.RS 4
Success
.RE
.PP
\fBn\fR
.RS 4
Command id of the last failed command\&.
.RE
.SH "FILES"
.PP
/etc/flume/conf
.RS 4
This symbolic link points to the currently active Flume configuration directory\&.
.RE
.PP
/etc/flume/conf/flume\-site\&.xml
.RS 4
This is the path to the currently deployed Flume site configuration\&.
.RE
.PP
/etc/init\&.d/flume\-node
.RS 4
Service script for starting and stopping a Flume Node
.RE
.PP
/etc/init\&.d/flume\-master
.RS 4
Service script for starting and stopping a Flume Master
.RE
.SH "ENVIRONMENT"
.sp
See flume(1) for more details\&.
.SH "EXAMPLES"
.sp
Execute an interactive Flume shell:
.sp
$ flume shell
.sp
Execute an interactive Flume shell that automatically connects to localhost:
.sp
$ flume shell \-c localhost
.sp
Execute a Flume shell that automatically connects to localhost and then sends the exec config foo console agentSink command:
.sp
$ flume shell \-c localhost \-e \fIexec config foo console agentSink\fR
.sp
Execute a Flume shell that quietly executes the commands in commands\&.fsh\&.
.sp
$ flume shell \-q \-s commands\&.fsh
.sp
Execute a Flume shell that automatically connects to localhost and is piped commands from the commands\&.fsh file\&.
.sp
$ cat commands\&.fsh > flume shell \-c localhost
.SH "AUTHOR"
.sp
See the Contributors site here: http://wiki\&.github\&.com/cloudera/flume/Contributors
.SH "RESOURCES"
.sp
Github web site and code repository: http://github\&.com/cloudera/flume/
.sp
Flume User guide: http://archive\&.cloudera\&.com/cdh/3/flume/UserGuide\&.html
.sp
Flume Cookbook: http://archive\&.cloudera\&.com/cdh/3/flume/Cookbook\&.html
.SH "COPYING"
.sp
Copyright (C) 2009\-2010 Cloudera, Inc\&.
.SH "SEE ALSO"
.sp
.if n \{\
.RS 4
.\}
.nf
flume(1), flume\-master(1), flume\-node(1), flume\-shell(1)
.fi
.if n \{\
.RE
.\}