Commit Graph

1185 Commits

Author SHA1 Message Date
dff1f09406 [doc](website)update Chinese heme page text (#10168)
update Chinese home page text
2022-06-16 08:04:21 +08:00
ca88f258d9 [improvement] remove unused codes and docs for SHOW USER (#10107)
* remove unused codes and docs for `SHOW USER`
2022-06-15 21:49:08 +08:00
c4871fb306 [doc](website)remove translate warning form Chinese docs (#10157)
* modify home page text
2022-06-15 18:17:37 +08:00
4005b34a52 [doc] add tpc-h benchmark (#10150)
[doc] add tpc-h benchmark
2022-06-15 16:43:10 +08:00
606c32cc30 [doc](website)add translate warning in docs (#10152)
* fix docs bugs with sidebar can not display and some style problems
2022-06-15 14:51:53 +08:00
96b54dd1d5 [doc](website)modify home page text and navbar (#10148)
* fix docs bugs with sidebar can not display and some style problems
2022-06-15 12:21:40 +08:00
c4d0fba713 Add storage policy for remote storage migration (#9997) 2022-06-15 11:00:06 +08:00
4c24586865 [Vectorized][UDF] support java-udaf (#9930) 2022-06-15 10:53:44 +08:00
7ab64f9155 [doc][website]update home page content and add slack button (#10091)
* fix docs bugs with sidebar can not display and some style problems
2022-06-15 09:31:40 +08:00
34ea6ce850 [doc]Added be enable_stream_load_record configuration description (#10130) 2022-06-15 08:14:47 +08:00
be3aa2aa37 [enhancement](community): polish doc to reformat (#10137) 2022-06-15 08:14:13 +08:00
f7b5f36da4 [feature] Support read hive external table and outfile into HDFS that authenticated by kerberos (#9579)
At present, Doris can only access the hadoop cluster with kerberos authentication enabled by broker, but Doris BE itself 
does not supports access to a kerberos-authenticated HDFS file.

This PR hope solve the problem.

When create hive external table, users just specify following properties to access the hdfs data with kerberos authentication enabled:

```sql
CREATE EXTERNAL TABLE t_hive (
k1 int NOT NULL COMMENT "",
k2 char(10) NOT NULL COMMENT "",
k3 datetime NOT NULL COMMENT "",
k5 varchar(20) NOT NULL COMMENT "",
k6 double NOT NULL COMMENT ""
) ENGINE=HIVE
COMMENT "HIVE"
PROPERTIES (
'hive.metastore.uris' = 'thrift://192.168.0.1:9083',
'database' = 'hive_db',
'table' = 'hive_table',
'dfs.nameservices'='hacluster',
'dfs.ha.namenodes.hacluster'='n1,n2',
'dfs.namenode.rpc-address.hacluster.n1'='192.168.0.1:8020',
'dfs.namenode.rpc-address.hacluster.n2'='192.168.0.2:8020',
'dfs.client.failover.proxy.provider.hacluster'='org.apache.hadoop.hdfs.server.namenode.ha.ConfiguredFailoverProxyProvider',
'dfs.namenode.kerberos.principal'='hadoop/_HOST@REALM.COM'
'hadoop.security.authentication'='kerberos',
'hadoop.kerberos.principal'='doris_test@REALM.COM',
'hadoop.kerberos.keytab'='/path/to/doris_test.keytab'
);
```

If you want  to `select into outfile` to HDFS that kerberos authentication enable, you can refer to the following SQL statement:

```sql
select * from test into outfile "hdfs://tmp/outfile1" 
format as csv
properties
(
'fs.defaultFS'='hdfs://hacluster/',
'dfs.nameservices'='hacluster',
'dfs.ha.namenodes.hacluster'='n1,n2',
'dfs.namenode.rpc-address.hacluster.n1'='192.168.0.1:8020',
'dfs.namenode.rpc-address.hacluster.n2'='192.168.0.2:8020',
'dfs.client.failover.proxy.provider.hacluster'='org.apache.hadoop.hdfs.server.namenode.ha.ConfiguredFailoverProxyProvider',
'dfs.namenode.kerberos.principal'='hadoop/_HOST@REALM.COM'
'hadoop.security.authentication'='kerberos',
'hadoop.kerberos.principal'='doris_test@REALM.COM',
'hadoop.kerberos.keytab'='/path/to/doris_test.keytab'
);
```
2022-06-14 20:07:03 +08:00
eb4d0f508a [doc] Add docs for SHOW TABLETS (#10105)
* add docs for SHOW TABLETS

* update

* add more examples for SHOW TABLETS

Co-authored-by: cambyzju <zhuxiaoli01@baidu.com>
2022-06-14 15:29:46 +08:00
dc4761593b [docs] Add common error messages to doris backup (#10048) 2022-06-14 09:20:04 +08:00
d58e00c49c [fix](brpc) Embed serialized request into the attachment and transmit it through http brpc (#9803)
When the length of `Tuple/Block data` is greater than 2G, serialize the protoBuf request and embed the
`Tuple/Block data` into the controller attachment and transmit it through http brpc.

This is to avoid errors when the length of the protoBuf request exceeds 2G:
`Bad request, error_text=[E1003]Fail to compress request`.

In #7164, `Tuple/Block data` was put into attachment and sent via default `baidu_std brpc`,
but when the attachment exceeds 2G, it will be truncated. There is no 2G limit for sending via `http brpc`.

Also, in #7921, consider putting `Tuple/Block data` into attachment transport by default, as this theoretically
reduces one serialization and improves performance. However, the test found that the performance did not improve,
but the memory peak increased due to the addition of a memory copy.
2022-06-13 20:41:48 +08:00
6abc3da467 [doc] add description ofd[DEFAULT CURRENT_TIMESTAMP] (#10053) 2022-06-13 09:10:46 +08:00
27b3c76ce0 [fix]Document image path error (#10050)
Document image path error
2022-06-10 14:34:26 +08:00
4a474420c8 [feature](function) Add ntile function (#9867)
Add ntile function.
For non-vectorized-engine, I just implemented like Impala, rewrite ntile to row_number and count.
But for vectorized-engine, I implemented WindowFunctionNTile.
2022-06-10 10:32:40 +08:00
98c214e43a [doc] add create table statement for create-materialized-view doc (#10029) 2022-06-10 09:16:46 +08:00
1a31af0d85 [doc] Optimize cluster upgrade and binlog load document modification, restore adds common errors (#10027)
1.restore adds common errors
2.Optimize cluster upgrade documentation
3.Modify binlog documentation
2022-06-10 09:16:22 +08:00
a45bf53af3 [website][doc]fix docs bugs with sidebar can not display and some style problems (#10039)
* fix docs bugs with sidebar can not display and some style problems
2022-06-10 08:49:37 +08:00
6fab1cbf3c [feature-wip](array-type) Add array functions size and cardinality (#9921)
Co-authored-by: cambyzju <zhuxiaoli01@baidu.com>
2022-06-09 15:03:03 +08:00
2d39cffa5c [doc](website)Add Doris new official website code and documents (#9977)
In order to cooperate with Doris's successful graduation from Apache, the Doris official website also needs a new look
and more powerful feature, so we decided to redesign the Doris official website.
The code and documents of the new official website are included in this PR.

Since the new website is completely rewritten, the content and structure of the project are different from the previous one. 
In particular, the directory structure of documents has changed, and the number of documents is large, so the number of 
files in this PR is very large.

In the old website,all English documents are in the en/ directory, and Chinese documents in the zh-CN/ directory,
but in the new website,the documents are split into multiple directories according to the nav.
The document's directory structure changes as follows:
```
docs (old website)
|   |—— .vuepress (library)
|   |—— en
|   |   |—— admin-manual 
│   │   |—— advanced
|   |   |—— article
|   |   |—— benchmark
|   |   |—— case-user
|   |   |—— community
|   |   |—— data-operate
|   |   |—— data-table
|   |   |—— design
|   |   |—— developer-guide
|   |   |—— downloads
|   |   |—— ecosystem
|   |   |—— faq
|   |   |—— get-starting
|   |   |—— install
|   |   |—— sql-manual
|   |   |—— summary
|   |   |___ README.md
|   |—— zh-CN
...

docs (new website)
|   |—— .vuepress (library)
|   |—— en
|   |   |—— community (unchanged, community nav)
│   │   |—— developer (new directory, developer nav)
│   │   |   |—— design (moved from en/design)
│   │   |   |__ developer-guide (moved from en/developer-guide)
|   |   |—— docs (new directory, all children directories moved from en/, document nav)
│   │   |   |—— admin-manual 
│   │   |   |—— advanced
│   │   |   |—— benchmark
│   │   |   |—— data-operate
│   │   |   |—— data-table
│   │   |   |—— ecosystem
│   │   |   |—— faq
│   │   |   |—— get-starting
│   │   |   |—— install
│   │   |   |—— sql-manual
│   │   |   |—— summary
|   |   |—— downloads (unchanged, downloads nav)
|   |   |—— userCase (moved from en/case-user, user nav)
|   |   |___ README.md
|   |—— zh-CN
...
```
2022-06-08 17:45:12 +08:00
856b421086 [feature](priv) Support grant node_priv to other user. (#9951)
Currently, only the root user has node_priv privileges.
That is, only the root user can operate the addition and deletion of nodes.

In the original design of Doris, there is an Operator role. This role can have node_priv for node operations.

This PR supports assigning node_priv to users other than root.
However, only users who have both grant_priv and node_priv can assign node_priv to other users.
This ensures that only the root user has this permission, and users who are given node_priv
cannot continue to expand this permission outward.
2022-06-06 11:04:20 +08:00
3241cc2bfd [doc][fix]English document title case (#9935) 2022-06-02 20:52:58 +08:00
5056a1b2b6 [fix][doc]Fix the usage of bitmap on unique model (#9903) 2022-06-01 22:38:17 +08:00
0b7c4ca06e [fix][doc]Version correction (#9899)
* [doc]Add Doris join optimization documentation

Add Doris join optimization documentation

* Revert "[doc]Add Doris join optimization documentation"

This reverts commit 418ca1dfb0b91cf45d021c6d841e16e48432fcc3.

* Version correction

Version correction
2022-06-01 15:22:15 +08:00
03a1eec3a5 [doc][fix]Update the description of the doris In_memory attribute to avoid users from interpreting it as an in-memory table (#9892)
Update the description of the doris In_memory attribute to avoid users from interpreting it as an in-memory table
2022-06-01 08:47:56 +08:00
7498233601 [tools][doc]add ssb flat tools, and update performance doc (#9827) 2022-06-01 08:09:55 +08:00
0376ca17f3 [Enhancement] Remove minidump (#9894) 2022-06-01 08:04:24 +08:00
f9d969cd10 [doc] fix alter resource doc style (#9866) 2022-05-31 09:53:46 +08:00
abdf83dc06 [fix][doc]Doc fix (#9851)
doc fix
2022-05-31 09:09:53 +08:00
46e84d39df [enhancement](style): polish the checkstyle (#9767)
* [enhancement](style): cancel auto tab for Javadoc.

* *: fix review
2022-05-30 16:10:04 +08:00
654940ce00 [doc]add alter resource doc (#9837)
Co-authored-by: wudi <>
2022-05-30 16:06:56 +08:00
88325392d0 [doc]Modify export example in en and zh-cn doc. (#9840)
Co-authored-by: smallhibiscus <844981280>
2022-05-30 16:05:17 +08:00
7b98dd438d [feature](function) Add nvl function (#9726) 2022-05-30 09:43:00 +08:00
88db94c220 [doc]Fix typo in create-table documentation. (#9834)
Co-authored-by: smallhibiscus <844981280>
2022-05-30 08:28:15 +08:00
e231273ddf [fix](sql-block-rule) sql block rule NPE (#9778) 2022-05-29 16:21:00 +08:00
3ee804f7b3 [doc]join优化文档笔误更改 (#9825) 2022-05-28 21:36:25 +08:00
92c1c82422 [tools]add ssb flat test scripts (#9796)
Co-authored-by: stephen <hello-stephen@qq.com>
2022-05-28 17:28:03 +08:00
4d1e926b6c [feature][config] introduce a new BE config storage_page_cache_shard_size (#9821)
Co-authored-by: gaodayue <gaodayue@bytedance.com>
2022-05-28 10:17:09 +08:00
cfe640c37b [doc] Add a note about the version of checkstyle (#9785) 2022-05-27 21:58:49 +08:00
ee1bed46be [config] Add backend_rpc_timeout_second in FE config (#9779) 2022-05-27 21:58:09 +08:00
77de4869ed [doc] website document update (#9776) 2022-05-27 21:57:06 +08:00
b2b9463537 [doc] Updated the compilation and deployment chapter in the documentation (#9702)
Updated the compilation and deployment chapter in the documentation
2022-05-27 17:11:31 +08:00
8019da4504 fix the format error of en doc. (#9756)
fix the format error of en doc
2022-05-27 17:10:47 +08:00
lit
dbc2feb31a modify bloomfilter.md (#9798)
modify bloomfilter
2022-05-27 17:10:08 +08:00
b07004e2f7 [fix]Documentation fixes (#9787)
[fix]Documentation fixes (rollup)
2022-05-27 12:57:00 +08:00
e7e551ffa7 [doc][fix]Sync job doc (#9790)
binlog load documentation fix
2022-05-27 12:56:19 +08:00
80e9c3395a [doc]Add export sql help documentation (#9797)
Add export sql help documentation
2022-05-27 12:55:45 +08:00