forked from apache/incubator-hugegraph
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'hugegraph:master' into master
- Loading branch information
Showing
267 changed files
with
7,021 additions
and
2,971 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
--- | ||
name: Bug report (反馈 Bug) | ||
about: Create a bug report to help HugeGraph improve | ||
title: '[Bug] Briefly describe the main problem here' | ||
labels: 'bug' | ||
assignees: '' | ||
|
||
--- | ||
|
||
### Note ( 特别注意 ) : | ||
|
||
> 1. 请先**搜索**, 并**确认**现有的 [Issues](https://github.com/hugegraph/hugegraph/issues) 与 [FAQ](https://hugegraph.github.io/hugegraph-doc/guides/faq.html) 中没有与您相同 / 相关的问题, 请勿重复提交 | ||
> 2. 我们需要尽可能**详细**的信息来**复现**问题, 越详细的信息 (包括**日志 / 截图 / 配置**等) 会**越快**被响应和处理 | ||
> 3. 请关注提交的 issue, 缺乏信息 / 长时间 ( > 14 天) 没有回复, issue 可能会被 **关闭** (需要时可再开启) | ||
|
||
## Environment ( 环境信息 - 必填 ) | ||
- **Server Version**: v0.11.x (refer [here](https://hugegraph.github.io/hugegraph-doc/clients/restful-api/other.html)) | ||
- **Backend**: Cassandra 3.x, x nodes, HDD or SSD | ||
- **OS**: xx CPUs, xx G RAM, Centos 7.x | ||
- **Data Size**: xx vertices, xx edges (like 1000W 点, 9000W 边) | ||
|
||
## Expected behavior ( 期望表现 ) | ||
|
||
xxx | ||
|
||
## Actual behavior ( 实际表现 / 报错) | ||
|
||
xxx | ||
|
||
```java | ||
// Error info ⬇ (尽可能详细的日志 + 完整异常栈) | ||
|
||
``` | ||
|
||
## How to reproduce ( 复现步骤 ) | ||
1. step 1 | ||
2. step 2 | ||
3. step 3 | ||
|
||
**Refer:** [How to create a minimal reproducible Example](https://stackoverflow.com/help/minimal-reproducible-example) | ||
|
||
### Vertex/Edge example ( 问题点 / 边数据举例 ) | ||
|
||
```javascript | ||
// JSON of Vertex / Edge ⬇ | ||
|
||
``` | ||
|
||
### Schema [VertexLabel, EdgeLabel, IndexLabel] ( 元数据结构 ) | ||
|
||
```javascript | ||
// JSON of GraphSchema ⬇ | ||
|
||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
blank_issues_enabled: true | ||
|
||
# 设置提 issue 前的参考文档 | ||
contact_links: | ||
- name: HugeGraph Server Doc | ||
url: https://hugegraph.github.io/hugegraph-doc/quickstart/hugegraph-server.html | ||
about: Please search question here before opening a new issue | ||
- name: HugeGraph API Doc | ||
url: https://hugegraph.github.io/hugegraph-doc/clients/hugegraph-api.html | ||
about: Please search usage here before opening a new issue |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- | ||
name: Feature request (新需求 / 功能) | ||
about: Give an idea for HugeGraph | ||
title: '[Feature] Briefly describe the new features' | ||
labels: 'feature' | ||
assignees: '' | ||
--- | ||
|
||
## Feature Description: | ||
|
||
xxx |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
--- | ||
name: Ask question (提问) | ||
about: Question about usage or configs in HugeGraph | ||
title: '[Question] Briefly describe your problems here' | ||
labels: '' | ||
assignees: '' | ||
|
||
--- | ||
|
||
### Note ( 特别注意 ) : | ||
|
||
> 1. 请先**搜索**, 并**确认**现有的 [Issues](https://github.com/hugegraph/hugegraph/issues) 与 [FAQ](https://hugegraph.github.io/hugegraph-doc/guides/faq.html) 中没有与您相同 / 相关的问题, 请勿重复提交 | ||
> 2. 我们需要尽可能**详细**的信息来**分析**问题, 越详细的信息 (包括**日志 / 截图 / 配置**等) 会**越快**被响应和处理 | ||
> 3. 请关注提交的 issue, 缺乏信息 / 长时间 ( > 14 天) 没有回复, issue 可能会被 **关闭** (需要时可再开启) | ||
|
||
## Environment ( 环境信息 - 必填 ) | ||
- **Server Version**: v0.11.x (refer [here](https://hugegraph.github.io/hugegraph-doc/clients/restful-api/other.html)) | ||
- **Backend**: Cassandra 3.x, x nodes, HDD or SSD | ||
- **OS**: xx CPUs, xx G RAM, Centos 7.x | ||
- **Data Size**: xx vertices, xx edges (like 1000W 点, 9000W 边) | ||
|
||
## Your Question ( 问题描述 ) | ||
|
||
xxx | ||
|
||
> 注: 图使用 / 配置相关问题, 请优先参考 [REST-API 文档](https://hugegraph.github.io/hugegraph-doc/clients/hugegraph-api.html), 以及 [Server 配置文档](https://hugegraph.github.io/hugegraph-doc/config/config-option.html) | ||
### Related information ( 补充相关信息 ) : | ||
<details> | ||
<summary> Provide related "Data & Schema" info (Click to expand) </summary> | ||
|
||
### Vertex/Edge example ( 问题点 / 边数据举例 ) | ||
|
||
```javascript | ||
// JSON of Vertex / Edge ⬇ | ||
|
||
``` | ||
|
||
### Schema [VertexLabel, EdgeLabel, IndexLabel] ( 元数据结构 ) | ||
|
||
```javascript | ||
// JSON of GraphSchema ⬇ | ||
|
||
``` | ||
</details> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
language: java | ||
|
||
jdk: | ||
- oraclejdk8 | ||
- openjdk8 | ||
|
||
dist: trusty | ||
dist: xenial | ||
|
||
sudo: required | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
FROM ubuntu:xenial | ||
|
||
LABEL maintainer="HugeGraph Docker Maintainers <[email protected]>" | ||
|
||
ENV PKG_URL https://github.com/hugegraph | ||
|
||
# 1. Install needed dependencies of GraphServer & RocksDB | ||
RUN set -x \ | ||
&& apt-get -q update \ | ||
&& apt-get -q install -y --no-install-recommends --no-install-suggests \ | ||
curl \ | ||
lsof \ | ||
g++ \ | ||
gcc \ | ||
openjdk-8-jdk \ | ||
&& apt-get clean | ||
# && rm -rf /var/lib/apt/lists/* | ||
|
||
# 2. Init HugeGraph Sever | ||
# (Optional) You can set the ip of github to speed up the local build | ||
# && echo "192.30.253.112 github.com\n151.101.44.249 github.global.ssl.fastly.net" >> /etc/hosts \ | ||
ENV SERVER_VERSION 0.10.4 | ||
RUN set -e \ | ||
&& mkdir -p /root/hugegraph-server \ | ||
&& curl -L -S ${PKG_URL}/hugegraph/releases/download/v${SERVER_VERSION}/hugegraph-${SERVER_VERSION}.tar.gz -o /root/server.tar.gz \ | ||
&& tar xzf /root/server.tar.gz --strip-components 1 -C /root/hugegraph-server \ | ||
&& rm /root/server.tar.gz \ | ||
&& cd /root/hugegraph-server/ \ | ||
&& sed -i "s/^restserver.url.*$/restserver.url=http:\/\/0.0.0.0:8080/g" ./conf/rest-server.properties \ | ||
&& sed -n '63p' ./bin/start-hugegraph.sh | grep "&" > /dev/null && sed -i 63{s/\&$/#/g} ./bin/start-hugegraph.sh \ | ||
&& sed -n '74p' ./bin/start-hugegraph.sh | grep "exit" > /dev/null && sed -i 74{s/^/#/g} ./bin/start-hugegraph.sh \ | ||
&& ./bin/init-store.sh | ||
|
||
# 3. Prepare for HugeGraph Studio | ||
ENV STUDIO_VERSION 0.10.0 | ||
# (Optional) You can set the ip of github to speed up the local build | ||
# && echo "192.30.253.112 github.com\n151.101.44.249 github.global.ssl.fastly.net" >> /etc/hosts \ | ||
RUN set -e \ | ||
&& mkdir -p /root/hugegraph-studio \ | ||
&& curl -L -S ${PKG_URL}/hugegraph-studio/releases/download/v${STUDIO_VERSION}/hugegraph-studio-${STUDIO_VERSION}.tar.gz -o /root/studio.tar.gz \ | ||
&& tar xzf /root/studio.tar.gz --strip-components 1 -C /root/hugegraph-studio \ | ||
&& rm /root/studio.tar.gz \ | ||
&& cd /root/hugegraph-studio/ \ | ||
&& sed -i "s/^studio.server.host.*$/studio.server.host=0.0.0.0/g" ./conf/hugegraph-studio.properties \ | ||
&& sed -i "s/^graph.server.host.*$/graph.server.host=0.0.0.0/g" ./conf/hugegraph-studio.properties | ||
|
||
EXPOSE 8080 8088 | ||
WORKDIR /root | ||
VOLUME /root | ||
|
||
ENTRYPOINT ["./hugegraph-server/bin/start-hugegraph.sh"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.