Skip to content

Commit bf8e310

Browse files
authored
fix: Fix typos (#4523)
<!-- Thanks for your contribution! please review https://github.com/alibaba/GraphScope/blob/main/CONTRIBUTING.md before opening an issue. --> ## What do these changes do? Fix typos <!-- Please give a short brief about these changes. --> ## Related issue number <!-- Are there any issues opened that will be resolved by merging this change? --> Fixes
1 parent 92d8c64 commit bf8e310

File tree

16 files changed

+23
-23
lines changed

16 files changed

+23
-23
lines changed

analytical_engine/core/context/context_protocols.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ enum class ContextDataType {
3636
};
3737

3838
/* N.B. These values should be the same as vineyard::TypeToInt::value. Because
39-
* theses values are used to decode in Python side. Refer:
39+
* these values are used to decode in Python side. Refer:
4040
* python.graphscope.framework.utils._to_numpy_dtype
4141
*/
4242
inline int ContextDataTypeToInt(ContextDataType type) {

analytical_engine/java/grape-giraph/src/main/java/com/alibaba/graphscope/parallel/netty/request/serialization/WritableRequestEncoder.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ public void write(ChannelHandlerContext ctx, Object msg, ChannelPromise promise)
106106
buf.setInt(0, buf.writerIndex() - SIZE_OF_INT);
107107
if (logger.isDebugEnabled()) {
108108
logger.debug(
109-
"Encode msg, type: [{}], writen bytes: [{}]",
109+
"Encode msg, type: [{}], written bytes: [{}]",
110110
request.getRequestType().getClazz().getName(),
111111
buf.readableBytes());
112112
}
@@ -161,7 +161,7 @@ public void write(ChannelHandlerContext ctx, Object msg, ChannelPromise promise)
161161
//
162162
// out.setInt(0, out.writerIndex() - SIZE_OF_INT);
163163
// logger.info("Encode msg, type: " + request.getRequestType().getClazz().getName() + ",
164-
// writen bytes: " + out.readableBytes());
164+
// written bytes: " + out.readableBytes());
165165
// }
166166
// else {
167167
// logger.error("Encoder: got instance " + msg + ", expect a WritableRequest");

analytical_engine/java/grape-graphx/src/main/java/com/alibaba/graphscope/utils/MPIUtils.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ public static <VD, ED> String[] loadFragment(
264264
String ipcSocket,
265265
Class<? extends VD> vdClass,
266266
Class<? extends ED> edClass) {
267-
logger.info("Try to load fragment from raw datas: {}", Arrays.toString(rawDataIds));
267+
logger.info("Try to load fragment from raw data: {}", Arrays.toString(rawDataIds));
268268
int numWorkers = rawDataIds.length;
269269
logger.info("running mpi with {} workers", numWorkers);
270270
String hostNameAndSlots = generateHostNameAndSlotsFromIDs(rawDataIds);

analytical_engine/java/grape-graphx/src/main/java/com/alibaba/graphscope/utils/VertexDataUtils.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ private static <VD> Tuple2<FFIByteVector, FFIIntVector> fillStringVertexArray(
7272
ffiByteVectorOutput.finishSetting();
7373
long writenBytes = ffiByteVectorOutput.bytesWritten();
7474
logger.info(
75-
"write data array {} of type {}, writen bytes {}",
75+
"write data array {} of type {}, written bytes {}",
7676
size,
7777
clz.getName(),
7878
writenBytes);

analytical_engine/java/grape-jdk/src/main/java/com/alibaba/graphscope/fragment/EdgecutFragment.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
* and vertex-cut, please refers to
2828
* https://spark.apache.org/docs/1.6.2/graphx-programming-guide.html#optimized-representation
2929
*
30-
* <p>If we have an edge a-&lt;b cutted by the partitioner, and a is in frag_0, and b in frag_1.
30+
* <p>If we have an edge a-&lt;b cut by the partitioner, and a is in frag_0, and b in frag_1.
3131
* Then:a-&lt;b is a crossing edge, a is an inner_vertex in frag_0, b is an outer_vertex in frag_0.
3232
*
3333
* @param <OID_T> original vertex id type.

analytical_engine/java/grape-jdk/src/main/java/com/alibaba/graphscope/parallel/ParallelMessageManager.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -469,7 +469,7 @@ void sendMsgThroughIEdgesArrowProjected(
469469

470470
/**
471471
* Parallel processing the messages received from last super step. The user just need to provide
472-
* a lamba consumer.
472+
* a lambda consumer.
473473
*
474474
* @param <MSG_T> message type.
475475
* @param frag fragment.

analytical_engine/java/performance.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ In most cases, the performance gap is below *2x*, moreover, when running pageran
88

99
## Evaluation Settings
1010

11-
The evaluation is conducted on a cluster of 4 instances, each of them is equiped with following hardwares.
11+
The evaluation is conducted on a cluster of 4 instances, each of them is equipped with following hardwares.
1212

1313
- CPU: Intel(R) Xeon(R) Platinum 8163 CPU @ 2.50GHz, 96 cores
1414
- Memory: 400GB

coordinator/gscoordinator/flex/controllers/data_source_controller.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def get_datasource_by_id(graph_id): # noqa: E501
4747
def unbind_edge_datasource(graph_id, type_name, source_vertex_type, destination_vertex_type): # noqa: E501
4848
"""unbind_edge_datasource
4949
50-
Unbind datas ource on an edge type # noqa: E501
50+
Unbind datas source on an edge type # noqa: E501
5151
5252
:param graph_id:
5353
:type graph_id: str

coordinator/gscoordinator/flex/openapi/openapi.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1126,7 +1126,7 @@ paths:
11261126
x-openapi-router-controller: gscoordinator.flex.controllers.data_source_controller
11271127
/api/v1/graph/{graph_id}/datasource/edge/{type_name}:
11281128
delete:
1129-
description: Unbind datas ource on an edge type
1129+
description: Unbind datas source on an edge type
11301130
operationId: unbind_edge_datasource
11311131
parameters:
11321132
- explode: false

flex/bin/bulk_loader.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ int main(int argc, char** argv) {
128128
return -1;
129129
}
130130

131-
// check whether parallelism, build_csr_in_mem, use_mmap_vector are overriden
131+
// check whether parallelism, build_csr_in_mem, use_mmap_vector are overridden
132132
if (vm.count("parallelism")) {
133133
loading_config_res.value().SetParallelism(vm["parallelism"].as<uint32_t>());
134134
}

0 commit comments

Comments
 (0)