Commit Graph

58 Commits

Author SHA1 Message Date
585c21fab4 add feature and fix bugs (#148)
Add new features:
1. plugins of Ambari and k8s deploy
2. specified config 'priority_network' to solve some ip problems

Fix bugs:
fix bugs that rebalance does not work in some case.
fix count(*) from union stmt bug
fix some union stmt bugs
fix bugs when try to schema change a clone replica
2017-11-30 16:31:12 +08:00
8909f53659 modify check white list log , produce exec param error when plan has multi UnionNode and revert changes about literal (#146)
* CreateTableStmt and AlterTableStmt cluster name is null

Change-Id: Id5869961694fa11808db66ecf121d7cef0898f95

Signed-off-by: chenhao16 <chenhao16@baidu.com>

* add des cluster when perform 'allter system add backend'

* find left most node error

* change white list limit

* import ExchangeNode in Coordinator

* import ExchangeNode in Coordinator

* produce exec param error when plan has multi UnionNode and revert changes about literal by yanlei
2017-11-29 15:14:06 +08:00
5c6fc49360 import ExchangeNode in Coordinator (#145) 2017-11-28 12:10:52 +08:00
f546589265 find left most node error (#142)
* CreateTableStmt and AlterTableStmt cluster name is null

Change-Id: Id5869961694fa11808db66ecf121d7cef0898f95

Signed-off-by: chenhao16 <chenhao16@baidu.com>

* add des cluster when perform 'allter system add backend'

* find left most node error
2017-11-22 11:28:42 +08:00
44ed16cd23 add missing file (#138)
ShowUserStmt
2017-11-14 02:04:50 -06:00
a033451367 modify: (#137)
1. remove libunwind deps
2. modify install in build.sh
3. add SHOW USER stmt to show user privilege
2017-11-13 19:49:40 -06:00
05b86e82b2 fix bugs: (#136)
1. rename database does not modify the coresponding names in cluster.
2. Result of SHOW BROKERS does not match that of in SHOW PROC '/brokers'.
3. Bugs when set property for other user using admin user.
2017-11-11 20:26:29 -06:00
e619631201 add des cluster when perform 'allter system add backend' (#134)
add des cluster when perform 'allter system add backend'
2017-11-03 04:37:16 -05:00
b1430b3570 CreateTableStmt and AlterTableStmt cluster name is null (#133)
Change-Id: Id5869961694fa11808db66ecf121d7cef0898f95

Signed-off-by: chenhao16 <chenhao16@baidu.com>
2017-11-03 04:30:36 -05:00
2f743b4234 Check row length when creating table and when adding column (#132) 2017-11-03 03:31:43 -05:00
a177a575d8 set Literal isAnalyzed true as default value, so Literals subclass do not need call method analysisDone` (#131) 2017-10-26 06:19:46 -05:00
cc64875e6b Fix database quota check bug. Modify load help doc (#130) 2017-10-25 20:40:11 -05:00
a2380690f8 modify error prompt when insert (#128) 2017-10-17 06:03:13 -05:00
2f9c0cd9f3 fix core when query information_schema (#125) 2017-10-11 03:23:05 -05:00
41fedd03ea fix add frontend problem, to make it more safe (#124)
reorganize the debug log of selecting rollup
2017-10-01 05:13:12 -05:00
6196ecdaca fix case sensitive bug when querying information schema db (#122) 2017-09-30 13:55:15 +08:00
d25c23e787 only master can receive and accept add frontend and backend request via http (#118) 2017-09-26 20:24:20 +08:00
22572aefbf fix MetaBaseAction bug when check ip of FE (#117) 2017-09-26 14:59:00 +08:00
14f7388f72 fix PMD code style problem (#108) 2017-09-21 10:16:34 +08:00
51d5c727a7 make UUID to be authentication token (#107) 2017-09-20 21:25:10 +08:00
ba97f434f9 make web session key more versatile (#105) 2017-09-19 16:58:55 +08:00
89d12ed5fb add log when invalid forward was rejected. 2017-09-19 16:08:32 +08:00
0665debe1e add server check to master when receive forward requests from followers or observers (#104) 2017-09-19 15:44:18 +08:00
46a7d52073 add token check to ImageAction to improve safety (#96) 2017-09-14 12:56:36 +08:00
fea0d22f4e fix compile error caused by missing import (#94) 2017-09-13 19:37:24 +08:00
a591d92e48 check port in PutAction to avoid SSRF(Server-Side Request Forgery) (#93) 2017-09-13 19:19:40 +08:00
ac9e1a0fe1 add authentication to show_action rest api (#89)
* add authentication to show_action rest api

* fix log
2017-09-13 15:15:53 +08:00
b175a08363 make replayedJournalId to be AtomicLong (#87)
Avoid errors during concurrent access to Catalog::replayedJournalId.
2017-09-12 20:45:30 +08:00
bbed1b3b15 add FE config frontend_address (#86)
* in case the automatic ip selection may choose a unexpected ip
2017-09-12 10:04:24 +08:00
6fe7ace94a fix bugs (#79)
* NullpointerException when cancel PENDING broker load job.
* missing BROKER case when clear load job.
2017-09-07 16:28:28 +08:00
48299ed0f6 change build script to retain the permissions of all start and stop scripts (#78) 2017-09-07 16:12:46 +08:00
58f0bf64a1 update backend in cluster because of forgeting to remove backend' id when drop backend or decommission in latest version (#76)
* update backend in cluster because of forgeting to remove backend' id when drop backend or decommission in latest version

* select wrong rollup

* update backend in cluster because of forgeting to remove backend' id when drop backend or decommission in latest version
2017-09-05 21:28:51 +08:00
a97bf61655 select wrong rollup (#74)
* select wrong rollup

* select wrong rollup
2017-09-05 17:07:40 +08:00
81c860dcdc fix some bugs (#69)
* modify modify the way of PartitionDesc analysis. fix set global variables bug

* add export job statitic proc

* merge from baidu/master

* change MASTER_CLIENT_TIMEOUT

* fix right outer join with null column
2017-09-04 19:48:52 +08:00
53d9c63b8b remove distinct check with one param in second aggregate pharse (#70) 2017-09-04 19:11:11 +08:00
ab4b648599 Update IsNullPredicate.java 2017-09-04 16:39:25 +08:00
bb6a6fa10b Update DropClusterStmt.java 2017-09-04 16:38:53 +08:00
0475394879 add new stmt ALTER SYSTEM ADD FREE BACKEND to add a backend not belongs to any cluster 2017-09-04 15:43:19 +08:00
2dae32862e auxiliary predicate can't be assigned (#66) 2017-09-03 18:04:22 +08:00
954f05b779 fix decommission misspellings 2017-09-01 11:25:40 +08:00
2ab0c26b1d fix clone bug.
In case that we want to clone a replica with version X, but a replica with stale version(less than X) is already in the dest backend.
This will leads the clone task to success directly, which is not what we expected.
Adding version check when doing the clone task and try to drop the replica with stale version
2017-08-31 18:53:33 +08:00
168e09d2ea modify some name problems of multi cluster feature 2017-08-31 17:27:59 +08:00
eab3457171 query and pull load select an backend that does't belong to the cluster which it is located 2017-08-29 11:26:37 +08:00
5cfef4872c compile failed 2017-08-29 10:13:03 +08:00
a5c53c4de2 modify sql_scanner and remove multi host restrict when check tablets in clonechecker 2017-08-28 15:34:34 +08:00
ab681f9398 support for cluster can acquire multi be in same host and fixed some issues (#47)
* cluster can acquire more backends in same host

* compile failed

* count* 's subquery with orderby exec error

* modify show processlist result and check name format error

* merge log and add cancel cluster for root, show backends for users in cluster

* returns null when the param does not match

* update UpdateClusterAndBackends to BackendIdsUpdateInfo

* correct Licenses
2017-08-26 21:29:28 +08:00
9629a7e742 add detail explanation of FE configurations. (#42) 2017-08-22 10:05:38 +08:00
3b5818d927 materialize scannode slot for case 'select count* from select xxxx from xxxx' 2017-08-21 13:26:35 +08:00
8e90fa1419 revert dpp schedular 2017-08-21 11:21:57 +08:00
57a11efd3d make exec_mem_limit valid for broker load (#37) 2017-08-20 15:20:20 +08:00