Commit Graph

60 Commits

Author SHA1 Message Date
proller
bcb230ebc6 Fix incudes, move code from daemon/OwnPatternFormatter.h 2017-04-27 08:40:27 +03:00
Alexey Milovidov
310736cd7e Moved headers and sources to same place [#CLICKHOUSE-3]. 2017-04-01 12:22:42 +03:00
Alexey Milovidov
137ad95929 Changed tabs to spaces in code [#CLICKHOUSE-3]. 2017-04-01 11:35:09 +03:00
proller
670e98fa92 allow several <graphite> targets (#603)
* allow several <graphite> targets

* fix

* fix

* Adjustable parts

* changelog version

* fix

* changelog

* Style fixes

* attachSystemTables

* config describe

* fixes

* fixes
2017-03-21 23:08:09 +04:00
Alexey Zatelepin
faadab3034 Allow including config elements from ZooKeeper [#CLICKHOUSE-2794] 2017-03-19 21:58:12 +04:00
egatov
2c12df495c Metr 24491 (#606)
* fixed external biuld [#METR-24491].

* fix [#METR-24491].

* Update CMakeLists.txt
2017-03-16 22:27:23 +03:00
proller
930ac5b2ce move ClickHouseRevision to dbms 2017-03-16 13:51:41 +04:00
Alexey Milovidov
b35bc57fdc Addition to prev. revision [#CLICKHOUSE-2]. 2017-03-13 22:35:46 +03:00
Alexey Milovidov
7bee9f650e Removed old logic, when paths in graphite could use something other than FQDN [#MTRSADMIN-2700]. 2017-02-16 22:46:22 +03:00
Alexey Milovidov
b5d5fcc17d Merge branch 'master' of github.com:yandex/ClickHouse 2017-02-14 15:12:44 +03:00
Alexey Milovidov
b4a47af61d Style [#CLICKHOUSE-2]. 2017-02-14 15:12:23 +03:00
proller
ed659bb64e Create core dir: dont crash if have no permissions (#486)
* Create core dir: dont crash if have no permissions

* debian postinst: Fix changing owner of old /opt/clickhouse

* space

* fix

* fix
2017-02-14 16:11:46 +04:00
alexey-milovidov
cee5ab01fb Merge branch 'master' into merge_with_metrika 2017-02-11 00:27:15 +04:00
Pavel Kartavyy
5107cd94b3 support absence of BaseDaemon in OwnPatternFormatter 2017-02-07 19:37:56 +03:00
Pavel Kartavyy
6d48eacbff update usage of OwnPatternFormatter 2017-02-07 15:24:28 +03:00
Alexey Zatelepin
7522cecd67 differentiate setrlimit error messages 2017-02-07 09:28:53 +04:00
Pavel Kartavyy
b61bd0b96b Merge commit '84e4fb00bd0373058bfc091d2d19a8034df7cc93' into update-clickhouse
Conflicts:
	metrica/src/ClickHouse/libs/libdaemon/src/BaseDaemon.cpp
2017-02-06 17:57:47 +03:00
proller
9c3133deac wip 2017-01-25 16:17:13 +03:00
Alexey Milovidov
6ec9380510 Allow to set server timezone from configuration file [#CLICKHOUSE-2765]. 2017-01-22 15:53:24 +03:00
proller
1649b003a0 Better user-group creating in postinst, BaseDaemon::getDefaultCorePath [#METR-23811] 2017-01-09 16:42:29 +03:00
proller
4bc003c4c1 Porting to freebsd: initial, compile ok, most tests ok. 2016-12-24 01:03:10 +00:00
Alexey Milovidov
fc43827a6c Preparation [#METR-2944]. 2016-12-12 06:33:34 +03:00
Alexey Milovidov
6fbf550387 Write microseconds to log [#METR-22327]. 2016-11-18 02:29:22 +03:00
Vladimir Smirnov
d36f52502e Make it compilable on OS X
It's still hackish and dirty, but server and client compies.

Server starts, but throwes meaningless exception on any query.

Client seems to be working fine.

Linux compilation might (but shouldn't) be broken (not tested).
2016-11-01 17:59:21 +01:00
Pavel Kartavyy
b6118b1581 Test::initLogger(): use custom formatter in logging. supports logname, timestamp etc. [#METR-22785] 2016-10-04 12:58:38 +03:00
Alexander Prudaev
a1c8008f2d fix segfault in BaseDamon destructor [#METR-22887]. 2016-09-26 15:34:54 +03:00
Pavel Kartavyy
ba9cf229cd dbms: remove unused headers 2016-08-22 18:07:02 +03:00
Pavel Kartavyy
2032acd557 Merge commit 'e960efd5e63e4de51151724db92e6c2548aa88d9'
Conflicts:
	metrica/src/ClickHouse/libs/libdaemon/include/daemon/GraphiteWriter.h
	metrica/src/ClickHouse/libs/libdaemon/src/GraphiteWriter.cpp
2016-08-22 17:22:27 +03:00
Pavel Kartavyy
6e7bb0cd65 Merge branch 'master' into METR-19530
Conflicts:
	metrica/src/CMakeLists.txt
	metrica/src/ClickHouse/libs/libdaemon/include/daemon/GraphiteWriter.h
	metrica/src/ClickHouse/libs/libdaemon/src/GraphiteWriter.cpp
	metrica/src/libs/CMakeLists.txt
	metrica/src/libs/liblogbroker-client/src/LogBroker.cpp
	metrica/src/libs/liblogbroker-log-import/include/logbroker-log-import/LogBrokerLogImportTask-inl.h
	metrica/src/libs/libstatdaemons/include/statdaemons/write_destinations/ClickHouseCluster.h
	metrica/src/programs/cleanerd/src/config.xml
	metrica/src/programs/deduplicatord/src/Task.cpp
	metrica/src/programs/visit-log-processor/src/VisitLogHandler.h
	metrica/src/tools/ssqls/templates/header.tpl
2016-08-19 17:15:58 +03:00
Pavel Kartavyy
f9af920679 Merge commit '80e8c38c280f60d11ede1833908e3f68344e1d08' 2016-08-18 12:36:38 +03:00
Alexey Milovidov
6d6c22f92e Allow to start under thread sanitizer [#METR-2944]. 2016-07-30 07:44:04 +03:00
Alexey Vasiliev
1bef561c32 code reviewed [#MOBMET-3538] 2016-07-29 15:50:19 +03:00
Alexey Vasiliev
ab78f8d0bf GraphiteWriter: fixed invalid storage type of variable [#MOBMET-3538] 2016-07-29 11:00:16 +03:00
Alexey Vasiliev
8aebb9396f deduplicatord: supported layers [#MOBMET-3538] 2016-07-28 12:37:21 +03:00
Alexey Milovidov
8922aafc39 Fixed error when 'core_dump,size_limit' configuration parameter has no effect [#BSDEV-55590]. 2016-07-24 02:03:28 +03:00
alexey-milovidov
4cb7924b1e Merge pull request #47 from yandex/change-signal
terminate sends SIGTERM instead of SIGINT
2016-07-11 21:24:37 +03:00
Pavel Kartavyy
5ad60a21ef BaseDaemon: add missed throw 2016-07-09 00:20:44 +03:00
Pavel Kartavyy
6bdc4ac851 BaseDaemon: change terminate signal to SIGTERM.
gdb catches SIGINT and by default don't pass it to daemon
2016-07-08 13:26:58 +03:00
Pavel Kartavyy
01cee7b3ce graphite: move daemon specific functions to statdaemond [#METR-19530] 2016-06-14 14:45:39 +03:00
Pavel Kartavyy
8ad40e5d4c write statistic to graphite 2016-06-14 14:45:37 +03:00
Pavel Kartavyy
f8ed64a4ee statdaemons: add environment detector 2016-06-14 14:45:37 +03:00
Alexey Milovidov
abbb80ddd9 Modifications for address sanitizer [#METR-2944]. 2016-06-10 21:58:04 +03:00
Pavel Kartavyy
ab88279577 BaseDaemon: terminate on double SIGINT 2016-06-10 15:01:14 +03:00
Pavel Kartavyy
c4017da0d8 BaseDaemon: improve message 2016-06-09 12:59:39 +03:00
Pavel Kartavyy
f901ffe116 BaseDaemon: add missed space 2016-06-09 12:59:39 +03:00
Pavel Kartavyy
ebafc24121 BaseDaemon: waitForTerminationRequest() use sigaction instead of sigwait 2016-06-08 17:39:19 +03:00
Alexey Milovidov
4c7eb03b63 Using std::shared_ptr for data types [#METR-21503]. 2016-05-28 13:35:44 +03:00
Vladimir Chebotarev
b427b21289 libdaemon: Flag for task failure indication [#METR-5408] 2016-05-12 22:40:23 +03:00
Alexey Milovidov
1e73f2690e Addition to prev. revision [#CSADMIN-10464]. 2016-03-31 23:16:09 +03:00
Alexey Milovidov
961bdfdaa0 Allowed to use FQDN for server name in Graphite metrics [#CSADMIN-10464]. 2016-03-31 23:13:56 +03:00