Skip to content

Commit

Permalink
changed YugaByte DB to YugabyteDB (yugabyte#3590)
Browse files Browse the repository at this point in the history
  • Loading branch information
schoudhury authored Feb 9, 2020
1 parent 9b130a0 commit 74954b6
Show file tree
Hide file tree
Showing 25 changed files with 59 additions and 60 deletions.
6 changes: 3 additions & 3 deletions CONTRIBUTORS.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# <img src="https://github.com/YugaByte/yugabyte-db/raw/master/architecture/images/ybDB_horizontal.jpg" align="center" alt="YugaByte DB"/> CONTRIBUTORS
# <img src="https://github.com/yugabyte/yugabyte-db/raw/master/architecture/images/ybDB_horizontal.jpg" align="center" alt="YugabyteDB"/> CONTRIBUTORS

## New Contributors

* If you have contributed to the YugaByte DB codebase, you will be asked to add yourself to this file.
* If you have contributed to the YugabyteDB codebase, you will be asked to add yourself to this file.
* Check if your name is already in this file. If so, you do not need to do anything further.
* If your name is not in this list, please send a pull request with your name added to the end of this list.
* Each entry in the list below has the following format:
Expand All @@ -12,7 +12,7 @@

## Current Contributors

This is a list of people who have contributed code to the [YugaByte DB](https://github.com/YugaByte).
This is a list of people who have contributed code to the [YugabyteDB](https://github.com/yugabyte).

* [mbautin](https://github.com/mbautin)
* [spolitov](https://github.com/spolitov)
Expand Down
2 changes: 1 addition & 1 deletion LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## YugaByte DB Licensing
## YugabyteDB Licensing

Source code in this repository is variously licensed under the Apache License 2.0 and the Polyform Free Trial License 1.0.0. A copy of each license can be found in the [licenses](licenses) directory.

Expand Down
2 changes: 1 addition & 1 deletion bin/yb-docker-ctl
Original file line number Diff line number Diff line change
Expand Up @@ -520,7 +520,7 @@ class YBDockerControl():
self.fetch_containers()
self.cluster_status()
if not os.getenv("YB_DISABLE_CALLHOME"):
print ("Congratulations on installing YugaByte DB Community Edition. " +
print ("Congratulations on installing YugabyteDB. " +
"We'd like to welcome you to the community with a free t-shirt " +
"and pack of stickers! " +
"Please claim your reward here: https://www.yugabyte.com/community-rewards/")
Expand Down
2 changes: 1 addition & 1 deletion build-support/yb_release.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ def main():
if not build_type:
build_type = 'release'

logging.info("Building YugaByte DB {} build".format(build_type))
logging.info("Building YugabyteDB {} build".format(build_type))

build_desc_path = os.path.join(tmp_dir, 'build_descriptor.yaml')
build_cmd_list = [
Expand Down
2 changes: 1 addition & 1 deletion cloud/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Cloud Native Deployments

This folder consists of the various ways you can deploy YugaByte DB using various cloud-native technologies.
This folder consists of the various ways you can deploy YugabyteDB using various cloud-native technologies.

Here is a list of currently supported deployment integrations.

Expand Down
43 changes: 22 additions & 21 deletions cloud/kubernetes/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# YugaByte on Kubernetes StatefulSets
# YugabyteDB on Kubernetes StatefulSets

This page has details on deploying YugaByte DB on [Kubernetes](https://kubernetes.io) using the `StatefulSets` feature. [StatefulSets](https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/) can be used to manage a deployment and scale of a set of Pods. It provides guarantees about the ordering and uniqueness of these Pods.
This page has details on deploying YugabyteDB on [Kubernetes](https://kubernetes.io) using the `StatefulSets` feature. [StatefulSets](https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/) can be used to manage a deployment and scale of a set of Pods. It provides guarantees about the ordering and uniqueness of these Pods.

## Requirements

Expand Down Expand Up @@ -37,39 +37,40 @@ yb-tserver-1 1/1 Running 1 12s
yb-tserver-2 1/1 Running 1 12s
```

### Using the Redis API

The Cassandra query layer is automatically initialized. The Redis API has to be initialized by creating a Redis table.
### Using the YCQL API

You can connect to the Cassandra API of the YugabyteDB cluster running on kubernetes using `cqlsh` as follows.
```
$ kubectl exec -it yb-tserver-0 /home/yugabyte/bin/cqlsh
Connected to local cluster at 127.0.0.1:9042.
[cqlsh 5.0.1 | Cassandra 3.9-SNAPSHOT | CQL spec 3.4.2 | Native protocol v4]
Use HELP for help.
cqlsh>
cqlsh> describe keyspaces;
system_schema system_auth system
```

### Using the YEDIS API

The Cassandra query layer is automatically initialized. The YEDIS API has to be initialized by creating a YEDIS table.
You can do this as follows
```
kubectl exec -it yb-master-0 /home/yugabyte/bin/yb-admin -- --master-addresses yb-master-0.yb-masters.default.svc.cluster.local:7100,yb-master-1.yb-masters.default.svc.cluster.local:7100,yb-master-2.yb-masters.default.svc.cluster.local:7100 setup_redis_table
...
I0127 19:38:10.358551 115 client.cc:1292] Created table system_redis.redis of type REDIS_TABLE_TYPE
I0127 19:38:10.358872 115 yb-admin_client.cc:400] Table 'system_redis.redis' created.
```
You can connect to the Redis API of the YugaByte DB cluster running on kubernetes using `redis-cli` as follows.
You can connect to the YEDIS API of the YugabyteDB cluster running on kubernetes using `redis-cli` as follows.
```
$ kubectl exec -it yb-tserver-0 /home/yugabyte/bin/redis-cli
127.0.0.1:6379>
127.0.0.1:6379> PING
"PONG"
```

### Using the Cassandra API

You can connect to the Cassandra API of the YugaByte DB cluster running on kubernetes using `cqlsh` as follows.
```
$ kubectl exec -it yb-tserver-0 /home/yugabyte/bin/cqlsh
Connected to local cluster at 127.0.0.1:9042.
[cqlsh 5.0.1 | Cassandra 3.9-SNAPSHOT | CQL spec 3.4.2 | Native protocol v4]
Use HELP for help.
cqlsh>
cqlsh> describe keyspaces;
system_schema system_auth system
```

## Next Steps
- [Try some Redis commands](https://docs.yugabyte.com/quick-start/test-redis/) - YugaByte offers Redis as a true database.
- [Try some Cassandra commands](https://docs.yugabyte.com/quick-start/test-cassandra/) - YugaByte has added distributed transactions on top of Cassandra.
- [Try some YCQL commands](https://docs.yugabyte.com/latest/api/ycql/quick-start/)
- [Try some YEDIS commands](https://docs.yugabyte.com/latest/yedis/quick-start/)
- [Explore some of the core features](https://docs.yugabyte.com/explore/) - linear scalability, auto-rebalancing, tunable reads, etc.
2 changes: 1 addition & 1 deletion cloud/kubernetes/design/operator_design.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# YugabyteDB Operator Design

A cluster of YugaByte DB should be created using the `ybclusters.yugabyte.com` custom resource definition. Below are sample custom resource specs for creating 3-master, 3 t-servers cluster using the CRD. The [minimal spec](#Minimal-Spec-Sample) and the [full spec](#Full-Spec-Sample) are essentially same, with [minimal spec](#Minimal-Spec-Sample) stripping away all the default vaules. The samples are followed by an explanation of different configuration options available on the YugaByte DB CRD.
A cluster of YugabyteDB should be created using the `ybclusters.yugabyte.com` custom resource definition. Below are sample custom resource specs for creating 3-master, 3 t-servers cluster using the CRD. The [minimal spec](#Minimal-Spec-Sample) and the [full spec](#Full-Spec-Sample) are essentially same, with [minimal spec](#Minimal-Spec-Sample) stripping away all the default vaules. The samples are followed by an explanation of different configuration options available on the YugabyteDB CRD.


## Minimal Spec Sample
Expand Down
4 changes: 2 additions & 2 deletions docs/content/latest/comparisons/postgresql.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ PostgreSQL can be thought of as a single-shard database which means it supports

The following posts cover some more details around how YugabyteDB differs from PostgreSQL.

- [Mapping YugaByte DB Concepts to PostgreSQL and MongoDB](https://blog.yugabyte.com/mapping-yugabyte-db-concepts-to-postgresql-and-mongodb/)
- [YugaByte DB High Availability & Transactions for PostgreSQL & MongoDB Developers](https://blog.yugabyte.com/mapping-yugabyte-db-concepts-to-postgresql-and-mongodb/)
- [Mapping YugabyteDB Concepts to PostgreSQL and MongoDB](https://blog.yugabyte.com/mapping-yugabyte-db-concepts-to-postgresql-and-mongodb/)
- [YugabyteDB High Availability & Transactions for PostgreSQL & MongoDB Developers](https://blog.yugabyte.com/mapping-yugabyte-db-concepts-to-postgresql-and-mongodb/)
- [Distributed PostgreSQL on a Google Spanner Architecture – Query Layer](https://blog.yugabyte.com/distributed-postgresql-on-a-google-spanner-architecture-query-layer/)
- [Distributed PostgreSQL on a Google Spanner Architecture – Storage Layer](https://blog.yugabyte.com/distributed-postgresql-on-a-google-spanner-architecture-storage-layer/)

2 changes: 0 additions & 2 deletions docs/content/latest/releases/v2.0.1.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,6 @@ docker pull yugabytedb/yugabyte:2.0.1.0-b19
[#2298](https://github.com/yugabyte/yugabyte-db/issues/2298)
* [YSQL] Warn on non-txn COPY with incompatible relation.
[#2278](https://github.com/yugabyte/yugabyte-db/issues/2278)
* [YSQL] Allow ALTER COLUMN add/set/drop identity.
[#2226](https://github.com/yugabyte/yugabyte-db/issues/2226)
* [YSQL] PostgreSQL error code handling to avoid string-based error comparisons.
[#1289](https://github.com/yugabyte/yugabyte-db/issues/1289)
* [YSQL] Aggregate pushdowns in YSQL.
Expand Down
8 changes: 4 additions & 4 deletions managed/ui/src/components/common/footer/Footer.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,24 +26,24 @@ class Footer extends PureComponent {
<div className="flex-grow footer-social-container">
<span className="social-media-cta">Join us on
<a href="https://www.yugabyte.com/slack" target="_blank" rel="noopener noreferrer">
<img alt="YugaByte DB Slack" src={slackLogo} width="65"/>
<img alt="YugabyteDB Slack" src={slackLogo} width="65"/>
</a>
</span>
<span className="social-media-cta">
Star us on
<a href="https://github.com/YugaByte/yugabyte-db/" target="_blank" rel="noopener noreferrer">
<img alt="YugaByte DB GitHub" className="social-media-logo" src={githubLogo} width="18"/> <b>GitHub</b>
<img alt="YugabyteDB GitHub" className="social-media-logo" src={githubLogo} width="18"/> <b>GitHub</b>
</a>
</span>
<span className="social-media-cta">
Free t-shirt at
<a href="https://www.yugabyte.com/community-rewards/" target="_blank" rel="noopener noreferrer">
<img alt="YugaByte DB Community Rewards" className="social-media-logo" src={ybLogoImage} width="100"/>
<img alt="YugabyteDB Community Rewards" className="social-media-logo" src={ybLogoImage} width="100"/>
</a>
</span>
</div>
<div className="flex-grow copyright">
&copy; {moment().get('year')} YugaByte, Inc.
&copy; {moment().get('year')} Yugabyte, Inc.
</div>
</footer>
);
Expand Down
10 changes: 5 additions & 5 deletions managed/ui/src/pages/AuthenticatedComponent.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ class AuthenticatedComponent extends Component {
</tbody>
</Table>
</YBModal>
<YBModal title="Welcome to YugaByte DB!"
<YBModal title="Welcome to YugabyteDB!"
visible={showIntroModal}
onHide={this.closeIntroModal}
showCancelButton={true}
Expand All @@ -121,7 +121,7 @@ class AuthenticatedComponent extends Component {
style={{ flexBasis: '45%' }}
>
<span>Join us on</span>
<img alt="YugaByte DB Slack" src={slackLogo} width="65"/>
<img alt="YugabyteDB Slack" src={slackLogo} width="65"/>
</a>
<a className="social-media-btn"
href="https://github.com/yugabyte/yugabyte-db"
Expand All @@ -130,7 +130,7 @@ class AuthenticatedComponent extends Component {
style={{ flexBasis: '45%' }}
>
<span>Star us on</span>
<img alt="YugaByte DB GitHub"
<img alt="YugabyteDB GitHub"
className="social-media-logo"
src={githubLogo} width="18"/> <b>GitHub</b>
</a>
Expand All @@ -143,7 +143,7 @@ class AuthenticatedComponent extends Component {
style={{ flexBasis: '45%' }}
>
<span>Free t-shirt at</span>
<img alt="YugaByte DB Community Rewards"
<img alt="YugabyteDB Community Rewards"
className="social-media-logo"
src={ybLogo} width="125"/>
</a>
Expand All @@ -154,7 +154,7 @@ class AuthenticatedComponent extends Component {
style={{ flexBasis: '45%' }}
>
<span>Read docs at</span>
<img alt="YugaByte DB Docs"
<img alt="YugabyteDB Docs"
className="social-media-logo"
src={ybLogo} width="125"/>
</a>
Expand Down
2 changes: 1 addition & 1 deletion python/yb/build_postgres.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ def append_to_env_var(self, name, to_append, separator=' '):

def parse_args(self):
parser = argparse.ArgumentParser(
description='A tool for building the PostgreSQL code subtree in YugaByte DB codebase')
description='A tool for building the PostgreSQL code subtree in YugabyteDB codebase')
parser.add_argument('--build_root',
default=os.environ.get('BUILD_ROOT'),
help='YugaByte build root directory. The PostgreSQL build/install '
Expand Down
2 changes: 1 addition & 1 deletion python/yb/postprocess_test_result.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env python

"""
Post-processes results of running a single YugaByte DB unit test (e.g. a C++ or Java test) and
Post-processes results of running a single YugabyteDB unit test (e.g. a C++ or Java test) and
creates a structured output file with a summary of those results. This includes test running time
and possible causes of test failure.
"""
Expand Down
2 changes: 1 addition & 1 deletion python/yb/yb_dist_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ class TestDescriptor:
- A string like 'com.yugabyte.jedis.TestYBJedis#testPool[1]' describing a Java test. This is
something that could be passed directly to the -Dtest=... Maven option.
- A Java test class source path (including .java/.scala extension) relative to the "java"
directory in the YugaByte DB source tree.
directory in the YugabyteDB source tree.
"""
def __init__(self, descriptor_str):
self.descriptor_str = descriptor_str
Expand Down
2 changes: 1 addition & 1 deletion src/postgres/src/backend/access/index/indexam.c
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ index_insert(Relation indexRelation,

/* ----------------
* index_delete - delete an index tuple from a relation.
* This is used only for indexes backed by YugaByte DB. For Postgres, when a tuple is updated,
* This is used only for indexes backed by YugabyteDB. For Postgres, when a tuple is updated,
* the ctid of the original tuple will be invalid (except for heap-only tuple (HOT)). Because
* of this, index entries of the original tuple do not need to be deleted in UPDATE. For
* YugaByte-based tables, the ybctid is the primary key of the tuple and will remain valid
Expand Down
2 changes: 1 addition & 1 deletion src/postgres/src/backend/access/transam/varsup.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
#define VAR_OID_PREFETCH 8192

/*
* Number of OIDs to prefetch (preallocate) in YugaByte DB setup.
* Number of OIDs to prefetch (preallocate) in YugabyteDB setup.
* Given there are multiple Postgres nodes, each node should prefetch
* in smaller chunks.
*/
Expand Down
2 changes: 1 addition & 1 deletion src/postgres/src/backend/commands/indexcmds.c
Original file line number Diff line number Diff line change
Expand Up @@ -579,7 +579,7 @@ DefineIndex(Oid relationId,
if (strcmp(accessMethodName, "btree") == 0 || strcmp(accessMethodName, "hash") == 0)
{
ereport(NOTICE,
(errmsg("index method \"%s\" was replaced with \"%s\" in YugaByte DB",
(errmsg("index method \"%s\" was replaced with \"%s\" in YugabyteDB",
accessMethodName, DEFAULT_YB_INDEX_TYPE)));
accessMethodName = DEFAULT_YB_INDEX_TYPE;
}
Expand Down
2 changes: 1 addition & 1 deletion src/postgres/src/backend/executor/execIndexing.c
Original file line number Diff line number Diff line change
Expand Up @@ -470,7 +470,7 @@ ExecInsertIndexTuples(TupleTableSlot *slot,
* This routine takes care of deleting index tuples
* from all the relations indexing the result relation
* when a heap tuple is updated or deleted in the result relation.
* This is used only for relations and indexes backed by YugaByte DB.
* This is used only for relations and indexes backed by YugabyteDB.
* ----------------------------------------------------------------
*/
void
Expand Down
2 changes: 1 addition & 1 deletion src/postgres/src/backend/executor/ybc_fdw.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*--------------------------------------------------------------------------------------------------
*
* ybc_fdw.c
* Foreign-data wrapper for YugaByte DB.
* Foreign-data wrapper for YugabyteDB.
*
* Copyright (c) YugaByte, Inc.
*
Expand Down
4 changes: 2 additions & 2 deletions src/postgres/src/backend/parser/gram.y
Original file line number Diff line number Diff line change
Expand Up @@ -8031,7 +8031,7 @@ index_elem: ColId opt_collate opt_class opt_yb_index_sort_order opt_nulls_order
;

/*
* For YugaByte DB, index column can be grouped and hashed together. Unfortunately, we cannot
* For YugabyteDB, index column can be grouped and hashed together. Unfortunately, we cannot
* use "columnList" below due to reduce/reduce conflict.
*/
yb_index_elem: index_elem
Expand Down Expand Up @@ -8083,7 +8083,7 @@ opt_asc_desc: ASC { $$ = SORTBY_ASC; }
;

/*
* For YugaByte DB, index column can be hash-distributed also.
* For YugabyteDB, index column can be hash-distributed also.
*/
opt_yb_index_sort_order: opt_asc_desc { $$ = $1; }
| HASH { $$ = SORTBY_HASH; }
Expand Down
4 changes: 2 additions & 2 deletions src/postgres/src/bin/initdb/initdb.c
Original file line number Diff line number Diff line change
Expand Up @@ -2475,9 +2475,9 @@ setlocales(void)
lc_collate = pg_strdup(kYBDefaultLocaleForSortOrder);
fprintf(
stderr,
_("In YugaByte DB, setting LC_COLLATE to %s and all other locale settings to %s "
_("In YugabyteDB, setting LC_COLLATE to %s and all other locale settings to %s "
"by default. Locale support will be enhanced as part of addressing "
"https://github.com/YugaByte/yugabyte-db/issues/1557"),
"https://github.com/yugabyte/yugabyte-db/issues/1557"),
lc_collate, locale);
}

Expand Down
2 changes: 1 addition & 1 deletion src/yb/master/master-path-handlers.cc
Original file line number Diff line number Diff line change
Expand Up @@ -983,7 +983,7 @@ void MasterPathHandlers::RootHandler(const Webserver::WebRequest& req,
VersionInfo::GetVersionInfoPB(&version_info);

// Display the overview information.
(*output) << "<h1>YugaByte DB</h1>\n";
(*output) << "<h1>YugabyteDB</h1>\n";

(*output) << "<div class='row dashboard-content'>\n";

Expand Down
2 changes: 1 addition & 1 deletion src/yb/server/server_base.cc
Original file line number Diff line number Diff line change
Expand Up @@ -503,7 +503,7 @@ Status RpcAndWebServerBase::GetRegistration(ServerRegistrationPB* reg, RpcOnly r
}

string RpcAndWebServerBase::GetEasterEggMessage() const {
return "Congratulations on installing YugaByte DB. "
return "Congratulations on installing YugabyteDB. "
"We'd like to welcome you to the community with a free t-shirt and pack of stickers! "
"Please claim your reward here: <a href='https://www.yugabyte.com/community-rewards/'>"
"https://www.yugabyte.com/community-rewards/</a>";
Expand Down
4 changes: 2 additions & 2 deletions src/yb/server/webserver.cc
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,7 @@ void Webserver::RegisterPathHandler(const string& path,
const char* const PAGE_HEADER = "<!DOCTYPE html>"
"<html>"
" <head>"
" <title>YugaByte DB</title>"
" <title>YugabyteDB</title>"
" <link rel='shortcut icon' href='/favicon.ico'>"
" <link href='/bootstrap/css/bootstrap.min.css' rel='stylesheet' media='screen' />"
" <link href='/bootstrap/css/bootstrap-theme.min.css' rel='stylesheet' media='screen' />"
Expand All @@ -424,7 +424,7 @@ const char* const PAGE_HEADER = "<!DOCTYPE html>"
static const char* const NAVIGATION_BAR_PREFIX =
" <nav class=\"navbar navbar-fixed-top navbar-inverse sidebar-wrapper\" role=\"navigation\">"
" <ul class=\"nav sidebar-nav\">"
" <li><a href='/'><img src='/logo.png' alt='YugaByte DB' class='nav-logo' /></a></li>"
" <li><a href='/'><img src='/logo.png' alt='YugabyteDB' class='nav-logo' /></a></li>"
"\n";

static const char* const NAVIGATION_BAR_SUFFIX =
Expand Down
4 changes: 2 additions & 2 deletions src/yb/tablet/tablet_metadata.cc
Original file line number Diff line number Diff line change
Expand Up @@ -791,8 +791,8 @@ Result<RaftGroupMetadataPtr> RaftGroupMetadata::CreateSubtabletMetadata(

namespace {
// MigrateSuperblockForDXXXX functions are only needed for backward compatibility with
// YugaByte DB versions which don't have changes from DXXXX revision.
// Each MigrateSuperblockForDXXXX could be removed after all YugaByte DB installations are
// YugabyteDB versions which don't have changes from DXXXX revision.
// Each MigrateSuperblockForDXXXX could be removed after all YugabyteDB installations are
// upgraded to have revision DXXXX.

CHECKED_STATUS MigrateSuperblockForD5900(RaftGroupReplicaSuperBlockPB* superblock) {
Expand Down

0 comments on commit 74954b6

Please sign in to comment.