Jonathan A. Sternberg
036bf7d2d1
Allow any variant of the help option to trigger the help
2016-07-07 16:54:26 -05:00
Jonathan A. Sternberg
ad97903a20
Always use the demo config when outputting a new config
...
Updating the help formatting for all of the commands for consistency.
Removed tabs from the output in favor of using spaces so it is more
clear how the output is intended to look.
2016-07-07 16:29:24 -05:00
Jonathan A. Sternberg
22173acb70
Update help and remove unused config options from the configuration file
...
Normalize the output for the various help options so they all follow the
same format and display all relevant options.
Removing some of the unused config options from the configuration file
and updating the help documentation. Removing some remaining references
to clustering within the open source version.
2016-06-21 14:06:05 -05:00
Ross McDonald
1a62cdbd9a
Removed builtTime reference from influxd. Removed default version information from influxd.
2016-02-25 09:35:03 -06:00
Ross McDonald
6efd822810
Remove build time linker flag so that we can create reproducible builds.
2016-02-25 09:35:03 -06:00
Ben Johnson
5a0d1ab7c1
rename influxdb/influxdb to influxdata/influxdb
...
This commit changes all the import and URL references from:
github.com/influxdb/influxdb
to:
github.com/influxdata/influxdb
2016-02-10 10:26:18 -07:00
Pablo Miranda
b908cbb866
fix lint errors for cmd/...
...
corrects the initialize package comment for lint
brings c.ServerVersion back
2015-11-10 23:13:01 -08:00
Philip O'Toole
7cb8c2d2ec
Add build timestamp to version data
2015-09-24 23:40:53 -07:00
Philip O'Toole
717bce6899
Add build branch to version information
2015-08-13 13:40:51 -07:00
Jason Wilder
668181d275
Make log statements more consistent
...
* Capitalize first letter of message
* Log all services staring consistently
* Remove some extraneous log statements in meta.Store
* Log data dirs for meta, data and hinted handoff
2015-08-13 10:01:42 -06:00
Marcio Castilho
e560eb19ee
Clean shutdown of influxd server
2015-07-15 13:14:11 -04:00
Philip O'Toole
e0a8b581af
Dump run errors to stderr
...
When run as service, stdout goes to /dev/null by default. This means
that Run() errors are not visible in the logs, which is tough to debug.
This change will ensure that when run as a service, Run() errors appear
at stderr, which are routed to the logs by default.
2015-07-01 16:44:49 -04:00
Philip O'Toole
66629d4643
Profiling support re-enabled -- remove old comment
2015-06-12 13:18:33 -07:00
David Norton
f717019d88
fix #2935 : hook CPU and memory profiling back up
2015-06-12 11:47:59 -04:00
Philip O'Toole
64af1b6241
Report number of measurements and series per node
2015-06-11 00:21:15 -07:00
Ben Johnson
bc31783a00
Refactor backup and restore
...
This commit updates the snapshot code as well as the "backup" and
"restore" command to work with the new architecture.
2015-06-10 22:07:01 -06:00
Ben Johnson
8c2278a646
Move VersionCommand back to influxd
...
This commit moves the command in cmd/influxd/version into the
cmd/influxd package so that the version and commit can be injected
via ldflags.
2015-06-08 22:25:38 -06:00
Ben Johnson
b925e1c1af
Multi-node clustering.
...
This commit adds the ability to cluster multiple nodes together to share
the same metadata through raft consensus.
2015-06-05 14:41:19 -06:00
Ben Johnson
c916256ac9
Rename cluster.Writer to cluster.ShardWriter.
2015-05-30 14:05:27 -06:00
Ben Johnson
233c63029b
Refactor influxd.Main.
2015-05-30 08:49:49 -06:00
Ben Johnson
9d4527071e
Refactor run command.
2015-05-29 14:59:57 -06:00
Cory LaNou
6240cc38ba
refactor parse config on startup
2015-04-13 15:56:29 -06:00
Paul Dix
a72707bdbc
Merge pull request #2175 from influxdb/data-broker-1934
...
Separate broker and data nodes
2015-04-07 11:33:39 -04:00
Jason Wilder
82b3108f6d
Refactor execRun to RunCommand
2015-04-06 16:37:59 -06:00
Jason Wilder
88f9810ea9
Refactor help into command
2015-04-06 16:37:59 -06:00
Mark Rushakoff
a13af0483a
Use fmt.Println, not log.Println to print usage
...
The previous behavior caused "[srvr]" to print out during usage, e.g. in
`influxd help run`:
```
[srvr] 2015/04/06 11:58:04 usage: run [flags]
run starts the broker and data node server....
```
2015-04-06 13:12:00 -07:00
Philip O'Toole
84d590ce44
Monitoring database should not be configurable
2015-04-03 14:40:36 -07:00
Cory LaNou
8fa3571782
only need max procs for running
2015-04-02 10:27:35 -05:00
Cory LaNou
e7866d3600
Set Go Max procs in a better location
2015-04-02 09:33:09 -05:00
Paul Dix
d8aca6029d
Remove logo output on startup and output gomaxprocs setting
2015-03-29 19:01:38 -04:00
Ben Johnson
24db5f23e1
Set GOMAXPROCS.
2015-03-29 15:39:43 -06:00
Philip O'Toole
c461c7e7b4
Remove logging to specific file
2015-03-25 17:41:39 -07:00
Philip O'Toole
225459b25c
Always write the logo to stdout
...
This change means it will always go to stdout, regardless of the log
setting.
2015-03-25 15:56:03 -07:00
Ben Johnson
3befa12fa3
Merge branch 'master' of https://github.com/influxdb/influxdb into backup-restore
...
Conflicts:
cmd/influxd/main.go
cmd/influxd/run.go
2015-03-22 15:38:41 -06:00
Ben Johnson
11c808f55f
Add restore and bootstrap.
...
This commit adds the "influxd restore" command to the CLI. This allows
a snapshot that has been produced by "influxd backup" to be restored
to a config location and the broker and raft directories will be
bootstrapped based on the state of the snapshot.
2015-03-22 15:31:49 -06:00
Ben Johnson
963d277a75
Add "influxd backup" command.
...
This commit adds the backup command to the influxd binary as well as
implements a SnapshotWriter in the influxdb package.
By default the snapshot handler binds to 127.0.0.1 so it cannot be
accessed outside of the local machine.
2015-03-22 10:54:14 -06:00
Philip O'Toole
1cb60bdb62
Add help for 'config' command
2015-03-20 15:58:17 -07:00
Ben Johnson
0461f401f6
Add SnapshotWriter.
2015-03-19 22:23:52 -06:00
Cory LaNou
20b0c52484
fixing config print startup statement
2015-03-17 07:37:08 -06:00
Cory LaNou
031490fff1
function -> method
2015-03-16 16:25:13 -06:00
Cory LaNou
961e2ee944
Print config
2015-03-16 16:24:44 -06:00
Philip O'Toole
a00c3d1a60
Print running version and commit in log
2015-02-24 09:47:07 -08:00
Ben Johnson
d6358b1764
Add profiling to influxd.
...
This commit adds -cpuprofile and -memprofile to influxd.
2015-02-23 13:27:51 -07:00
Cory LaNou
0e818f46d4
wip
2015-02-05 08:50:07 -07:00
Todd Persen
c5c242a7f9
New version, new logo.
2015-01-24 15:11:03 -05:00
Cory LaNou
3791cbe722
launch and re-launch server with no config
2015-01-16 16:45:31 -07:00
Ben Johnson
50a0826026
Add broker snapshot/restore and CLI join.
2015-01-06 17:21:32 -07:00
Ben Johnson
dbb089488f
Create cluster on initial run.
2014-12-31 12:42:53 -07:00
Philip O'Toole
ceeb1f6946
Store Messaging Client config in file
...
The presence of this file is also used to determine if a node should run
in local client mode, or should contact a Broker.
2014-12-16 19:57:20 -08:00
Philip O'Toole
a20e8ec7e0
Fix panic when just 'influxd' is run
2014-12-11 16:05:09 -08:00