Re: [D] 如何使用分布式版本 [incubator-hugegraph]

2025-08-01 Thread via GitHub


GitHub user hexuxu110 added a comment to the discussion: 如何使用分布式版本

@LiJie20190102 

GitHub link: 
https://github.com/apache/incubator-hugegraph/discussions/2694#discussioncomment-13957560


This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]



Re: [D] 如何使用分布式版本 [incubator-hugegraph]

2025-08-01 Thread via GitHub


GitHub user hexuxu110 added a comment to the discussion: 如何使用分布式版本

> 好的,我下载试一下

大佬 我也遇到同样问题  你现在解决了吗


GitHub link: 
https://github.com/apache/incubator-hugegraph/discussions/2694#discussioncomment-13957216


This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]



Re: [D] 如何使用分布式版本 [incubator-hugegraph]

2024-11-14 Thread via GitHub


GitHub user LiJie20190102 added a comment to the discussion: 如何使用分布式版本

好的,我下载试一下


GitHub link: 
https://github.com/apache/incubator-hugegraph/discussions/2694#discussioncomment-11263904


This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]



Re: [D] 如何使用分布式版本 [incubator-hugegraph]

2024-11-14 Thread via GitHub


GitHub user imbajin added a comment to the discussion: 如何使用分布式版本

@LiJie20190102 使用一下发版的 1.5.0 的包看看? 

- https://dist.apache.org/repos/dist/dev/incubator/hugegraph/1.5.0/ (发版下载地址)
- https://lists.apache.org/thread/op9mp9v5tb1byvmxrd5k4p08t0wmm9xn (发版📧链接)

这个正式版有问题 @VGalaxies 之后也可以一起看看

GitHub link: 
https://github.com/apache/incubator-hugegraph/discussions/2694#discussioncomment-11263663


This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]



Re: [D] 如何使用分布式版本 [incubator-hugegraph]

2024-11-14 Thread via GitHub


GitHub user LiJie20190102 added a comment to the discussion: 如何使用分布式版本

重启不好使,应该不是我配置有啥问题吧

GitHub link: 
https://github.com/apache/incubator-hugegraph/discussions/2694#discussioncomment-11263193


This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]



Re: [D] 如何使用分布式版本 [incubator-hugegraph]

2024-11-14 Thread via GitHub


GitHub user JackyYangPassion added a comment to the discussion: 如何使用分布式版本

重启下Server B 试试

GitHub link: 
https://github.com/apache/incubator-hugegraph/discussions/2694#discussioncomment-11256419


This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]



Re: [D] 如何使用分布式版本 [incubator-hugegraph]

2024-11-14 Thread via GitHub


GitHub user LiJie20190102 added a comment to the discussion: 如何使用分布式版本

@JackyYangPassion @imbajin 可以帮看下么

GitHub link: 
https://github.com/apache/incubator-hugegraph/discussions/2694#discussioncomment-11251720


This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]



Re: [D] 如何使用分布式版本 [incubator-hugegraph]

2024-11-14 Thread via GitHub


GitHub user LiJie20190102 added a comment to the discussion: 如何使用分布式版本

我还需要提供其他配置么?

GitHub link: 
https://github.com/apache/incubator-hugegraph/discussions/2694#discussioncomment-11251714


This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]



Re: [D] 如何使用分布式版本 [incubator-hugegraph]

2024-11-14 Thread via GitHub


GitHub user LiJie20190102 edited a comment on the discussion: 如何使用分布式版本

遇到了一个场景:我部署了3台PD,两台store,两台server。我连接serverA请求创建一个属性name,此时可以查询成功该属性;但是连接serverB去查询name属性时,显示该属性不存在。**上述连接A与B时,连接的是同一个图**。

查询store的状态信息:
![image](https://github.com/user-attachments/assets/1f0cac3e-d6ea-418f-ba61-a2a567f25d81)

我的理解是,这个store存储,应该是一致性的吧,不知为啥利用另外一个serverB查询不到数据。


相关配置:

storeA的配置:

![image](https://github.com/user-attachments/assets/c371981d-307b-4434-bfec-90b0bfe9e4cb)

storeB的配置
![image](https://github.com/user-attachments/assets/bcc7f381-4769-4265-a95b-a52cf130c1a4)



GitHub link: 
https://github.com/apache/incubator-hugegraph/discussions/2694#discussioncomment-11251639


This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]



Re: [D] 如何使用分布式版本 [incubator-hugegraph]

2024-11-14 Thread via GitHub


GitHub user LiJie20190102 edited a comment on the discussion: 如何使用分布式版本

  
遇到了一个场景:我部署了3台PD,两台store,两台server。我连接serverA请求创建一个属性name,此时可以查询成功该属性;但是连接serverB去查询name属性时,显示该属性不存在。**上述连接A与B时,连接的是同一个图**。

查询store的状态信息:
![image](https://github.com/user-attachments/assets/1f0cac3e-d6ea-418f-ba61-a2a567f25d81)

我的理解是,这个store存储,应该是一致性的吧,不知为啥利用另外一个serverB查询不到数据。


相关配置:

storeA的配置:

![image](https://github.com/user-attachments/assets/c371981d-307b-4434-bfec-90b0bfe9e4cb)

storeB的配置
![image](https://github.com/user-attachments/assets/bcc7f381-4769-4265-a95b-a52cf130c1a4)



GitHub link: 
https://github.com/apache/incubator-hugegraph/discussions/2694#discussioncomment-11251639


This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]



Re: [D] 如何使用分布式版本 [incubator-hugegraph]

2024-11-14 Thread via GitHub


GitHub user LiJie20190102 added a comment to the discussion: 如何使用分布式版本

遇到了一个场景:我部署了3台PD,两台store,两台server。我连接serverA请求创建一个属性name,此时可以查询成功该属性;但是连接serverB去查询name属性时,显示该属性不存在。**上述连接A与B时,连接的是同一个图**。

GitHub link: 
https://github.com/apache/incubator-hugegraph/discussions/2694#discussioncomment-11251639


This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]



Re: [D] 如何使用分布式版本 [incubator-hugegraph]

2024-11-14 Thread via GitHub


GitHub user imbajin added a comment to the discussion: 如何使用分布式版本

> 那就是说对于1.5版本,server端没有分布式说法,和之前版本一样直接连;然后我连server端时,可以和store以及pd配合使用,完成**存储分布式功能**,但是还是需要直连某个server。是这样么?

server 是接近(除cache 外)无状态的计算层, 当然可以起多个/默认就是**分布式**的, 你如果希望有一个统一入口, 
最简单的做法就是前面加一个类似 nginx 的 proxy VIP 来负载均衡就行了 (当然你也可以直连某个 server) 

@dosu  记录一下这个 case, 以后帮助用户解答相似的问题和引用它

GitHub link: 
https://github.com/apache/incubator-hugegraph/discussions/2694#discussioncomment-11250887


This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]



Re: [D] 如何使用分布式版本 [incubator-hugegraph]

2024-11-14 Thread via GitHub


GitHub user imbajin edited a comment on the discussion: 如何使用分布式版本

> 那就是说对于1.5版本,server端没有分布式说法,和之前版本一样直接连;然后我连server端时,可以和store以及pd配合使用,完成**存储分布式功能**,但是还是需要直连某个server。是这样么?

server 是接近(除cache 外)无状态的计算层, 当然可以起多个/默认就是**分布式**的, 你如果希望有一个统一入口, 
最简单的做法就是前面加一个类似 nginx 的 proxy VIP 来负载均衡就行了 (当然你也可以直连某个 server) 

另外如果你上了docker/k8s 的话, 可以直接让 server 使用 k8s 内置的负载均衡方式, 操作管理就更加简单了 (最合适)

@dosu  记录一下这个 case, 以后帮助用户解答相似的问题和引用它

GitHub link: 
https://github.com/apache/incubator-hugegraph/discussions/2694#discussioncomment-11250887


This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]



Re: [D] 如何使用分布式版本 [incubator-hugegraph]

2024-11-14 Thread via GitHub


GitHub user dosubot[bot] added a comment to the discussion: 如何使用分布式版本


对于 HugeGraph 1.5 
版本,服务器端实际上是无状态的计算层,可以启动多个实例以实现分布式计算。虽然服务器端是分布式的,但在用户层面上,仍然需要直接连接到某个服务器实例。为了实现统一入口和负载均衡,可以在服务器前面添加一个类似
 Nginx 的代理(Proxy VIP)来进行负载均衡。这样,用户可以通过代理访问,而不必直接连接到特定的服务器实例。



*To continue talking to [Dosu](https://dosu.dev), mention @dosu.*


GitHub link: 
https://github.com/apache/incubator-hugegraph/discussions/2694#discussioncomment-11250898


This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]



Re: [D] 如何使用分布式版本 [incubator-hugegraph]

2024-11-13 Thread via GitHub


GitHub user LiJie20190102 added a comment to the discussion: 如何使用分布式版本

那就是说对于1.5版本,server端没有分布式说法,和之前版本一样直接连;然后我连server端时,可以和store以及pd配合使用,完成**存储分布式功能**,但是还是需要直连某个server。是这样么?

GitHub link: 
https://github.com/apache/incubator-hugegraph/discussions/2694#discussioncomment-11249684


This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]



Re: [D] 如何使用分布式版本 [incubator-hugegraph]

2024-11-13 Thread via GitHub


GitHub user imbajin edited a comment on the discussion: 如何使用分布式版本

> 我用client去连接,也是同样的问题,我的使用方法没问题吧?

没太明白你是想连接啥, 现在 PD 只为 server + store 存储提供服务 (原有的其他组件没更新完之前都用之前的用法直连 server 而不是PD)

也就是对用户来说, 升级到新版本基本上无感的, toolchain 这边没有多少需要调整的地方


GitHub link: 
https://github.com/apache/incubator-hugegraph/discussions/2694#discussioncomment-11249174


This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]



Re: [D] 如何使用分布式版本 [incubator-hugegraph]

2024-11-13 Thread via GitHub


GitHub user imbajin added a comment to the discussion: 如何使用分布式版本

> 我用client去连接,也是同样的问题,我的使用方法没问题吧?

没太明白你是想连接啥, 现在 PD 只为 server + store 存储提供服务 (原有的其他组件没更新完之前都用之前的用法直连 server 而不是PD)



GitHub link: 
https://github.com/apache/incubator-hugegraph/discussions/2694#discussioncomment-11249174


This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]



Re: [D] 如何使用分布式版本 [incubator-hugegraph]

2024-11-13 Thread via GitHub


GitHub user LiJie20190102 added a comment to the discussion: 如何使用分布式版本

我用client去连接,也是同样的问题,我的使用方法没问题吧?
![image](https://github.com/user-attachments/assets/ba3585a8-f8a1-4f04-8dfc-5860ac277b4f)


GitHub link: 
https://github.com/apache/incubator-hugegraph/discussions/2694#discussioncomment-11248845


This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]



Re: [D] 如何使用分布式版本 [incubator-hugegraph]

2024-11-13 Thread via GitHub


GitHub user imbajin added a comment to the discussion: 如何使用分布式版本

简单说 hubble 前端做了完全的重构, 要等这个 PR 合入之后才会直连 PD (你的理解没有错, 只是目前 hubble 相当于是旧版, 所以还是链接 
server)

refer: https://github.com/apache/hugegraph-toolchain/pull/632 (new hubble 
version V2.0)

GitHub link: 
https://github.com/apache/incubator-hugegraph/discussions/2694#discussioncomment-11239635


This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]



Re: [D] 如何使用分布式版本 [incubator-hugegraph]

2024-11-13 Thread via GitHub


GitHub user imbajin edited a comment on the discussion: 如何使用分布式版本

简单说 Hubble 做了完全的重构, 要等这个 PR 合入之后才会直连 PD (你的理解没有错, 只是目前 hubble 相当于是旧版, 所以还是链接 
server)

refer: https://github.com/apache/hugegraph-toolchain/pull/632 (new hubble 
version V2.0)

GitHub link: 
https://github.com/apache/incubator-hugegraph/discussions/2694#discussioncomment-11239635


This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]



Re: [D] 如何使用分布式版本 [incubator-hugegraph]

2024-11-13 Thread via GitHub


GitHub user JackyYangPassion added a comment to the discussion: 如何使用分布式版本

ref #435 

GitHub link: 
https://github.com/apache/incubator-hugegraph/discussions/2694#discussioncomment-11239431


This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]



Re: [D] 如何使用分布式版本 [incubator-hugegraph]

2024-11-13 Thread via GitHub


GitHub user JackyYangPassion added a comment to the discussion: 如何使用分布式版本

> 我按照官网的Wiki说明[Wiki: HugeGraph Distributed (pd‐store) Version Deployment 
> Guide,部署了1.5.0的分布式。显示部署成功,但是我用hubble连接pd时报错,用hubble连接server是成功的。](https://github.com/apache/incubator-hugegraph/wiki/HugeGraph-Distributed-(pd%E2%80%90store)-Version-Deployment-Guide%EF%BC%8C%E9%83%A8%E7%BD%B2%E4%BA%861.5.0%E7%9A%84%E5%88%86%E5%B8%83%E5%BC%8F%E3%80%82%E6%98%BE%E7%A4%BA%E9%83%A8%E7%BD%B2%E6%88%90%E5%8A%9F%EF%BC%8C%E4%BD%86%E6%98%AF%E6%88%91%E7%94%A8hubble%E8%BF%9E%E6%8E%A5pd%E6%97%B6%E6%8A%A5%E9%94%99%EF%BC%8C%E7%94%A8hubble%E8%BF%9E%E6%8E%A5server%E6%98%AF%E6%88%90%E5%8A%9F%E7%9A%84%E3%80%82)
>  请问下是什么原因呢?按照架构模式,应该是连PD的吧? 
> ![image](https://private-user-images.githubusercontent.com/53458004/385678043-99a76ccb-90d0-4bfe-83c9-3b3893989e1d.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiL
 
CJleHAiOjE3MzE1MDA4ODUsIm5iZiI6MTczMTUwMDU4NSwicGF0aCI6Ii81MzQ1ODAwNC8zODU2NzgwNDMtOTlhNzZjY2ItOTBkMC00YmZlLTgzYzktM2IzODkzOTg5ZTFkLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDExMTMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQxMTEzVDEyMjMwNVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWUwNTY5YzFiOWI5MjFkYmJhZDE3ODlmNjYxZWEwMzE3ZTcyYWNmODNlYjFkMzBmYzdhYjA1MmMwMWRkZTNmZjgmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.Kd_bqzAck_eoXTKG3eM1ublTWElypuMP8I7Tcf8hg8I)
> 
> ![image](https://private-user-images.githubusercontent.com/53458004/385679946-0b676a3b-0054-44cd-8f72-599f3e8977f9.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzE1MDA4ODUsIm5iZiI6MTczMTUwMDU4NSwicGF0aCI6Ii81MzQ1ODAwNC8zODU2Nzk5NDYtMGI2NzZhM2ItMDA1NC00NGNkLThmNzItNTk5ZjNlODk3N2Y5LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDExMTMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQxMTEzVDEyMjMwNVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWFjZTg5NmRmM2ZiNWIzMTA5ZDI3MjNlMGIyYWRiOWY2Y2VkMDE1ODI0Mzc3N2RkODE0MWYxYTJlZjg0NTZiMWYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.vD5U4i85cajxbLYdtgJGqjXIu7JynhPpgoxT9Uwyaw8)
> 
> ![image](https://private-user-images.githubusercontent.com/53458004/385679912-c9b776bb-c08e-42ea-8845-368a4bd58951.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzE1MDA4ODUsIm5iZiI6MTczMTUwMDU4NSwicGF0aCI6Ii81MzQ1ODAwNC8zODU2Nzk5MTItYzliNzc2YmItYzA4ZS00MmVhLTg4NDUtMzY4YTRiZDU4OTUxLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDExMTMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQxMTEzVDEyMjMwNVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWNlMTFjNDIxZTU5N2NhMWQxYWNiNDg4NGY0ZTE3YWI1YzhhMDUxNjNmYzUzOWI1NDc4YWU2ZTc2NmQ1N2E3MzkmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.m-BBK1331RBfmq5fIdcLz1sEhJzUkKMi5QPwmVbkqi8)

直接链接Server, 负载均衡建议用 Proxy 解决

GitHub link: 
https://github.com/apache/incubator-hugegraph/discussions/2694#discussioncomment-11239412


This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]



Re: [D] 如何使用分布式版本 [incubator-hugegraph]

2024-11-13 Thread via GitHub


GitHub user LiJie20190102 edited a discussion: 如何使用分布式版本

我按照官网的Wiki说明https://github.com/apache/incubator-hugegraph/wiki/HugeGraph-Distributed-(pd%E2%80%90store)-Version-Deployment-Guide,部署了1.5.0的分布式。显示部署成功,但是我用hubble连接pd时报错,用hubble连接server是成功的。
请问下是什么原因呢?按照架构模式,应该是连PD的吧?
![image](https://github.com/user-attachments/assets/99a76ccb-90d0-4bfe-83c9-3b3893989e1d)

![image](https://github.com/user-attachments/assets/0b676a3b-0054-44cd-8f72-599f3e8977f9)

![image](https://github.com/user-attachments/assets/c9b776bb-c08e-42ea-8845-368a4bd58951)



GitHub link: https://github.com/apache/incubator-hugegraph/discussions/2694


This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]



Re: [D] 如何使用分布式版本 [incubator-hugegraph]

2024-11-13 Thread via GitHub


GitHub user dosubot[bot] added a comment to the discussion: 如何使用分布式版本


连接 Hubble 到 PD 时出现错误的常见原因可能包括以下几点:

1. **版本不匹配**:确保 hugegraph-client 和 hugegraph-server 的版本匹配 
[[1]](https://github.com/apache/incubator-hugegraph-toolchain/blob/master/hugegraph-hubble/hubble-be/src/main/resources/i18n/messages_zh_CN.properties).
2. **服务不可用**:检查 PD 服务是否在指定的主机和端口上可用 
[[1]](https://github.com/apache/incubator-hugegraph-toolchain/blob/master/hugegraph-hubble/hubble-be/src/main/resources/i18n/messages_zh_CN.properties).
3. **主机名或 IP 问题**:确认主机名或 IP 地址可以解析,并且是授权的 
[[1]](https://github.com/apache/incubator-hugegraph-toolchain/blob/master/hugegraph-hubble/hubble-be/src/main/resources/i18n/messages_zh_CN.properties).
4. **端口问题**:确保使用的端口在允许的范围内,并且是授权的 
[[1]](https://github.com/apache/incubator-hugegraph-toolchain/blob/master/hugegraph-hubble/hubble-be/src/main/resources/i18n/messages_zh_CN.properties).
5. **用户名或密码错误**:如果服务器启用了访问控制,请确保提供正确的用户名和密码 
[[1]](https://github.com/apache/incubator-hugegraph-toolchain/blob/master/hugegraph-hubble/hubble-be/src/main/resources/i18n/messages_zh_CN.properties).
6. **连接名称或图名称不匹配**:确保连接名称和图名称符合正则表达式要求 
[[1]](https://github.com/apache/incubator-hugegraph-toolchain/blob/master/hugegraph-hubble/hubble-be/src/main/resources/i18n/messages_zh_CN.properties).

根据架构模式,确实应该连接到 PD。请检查以上几点,并确保 PD 的默认端口(gRPC 端口 8686,REST 服务端口 8620,Raft 服务地址端口 
8610)没有被防火墙或其他网络设置阻止 
[[2]](https://github.com/apache/incubator-hugegraph/blob/master/hugegraph-pd/hg-pd-dist/src/assembly/static/conf/application.yml).



*To continue talking to [Dosu](https://dosu.dev), mention @dosu.*


GitHub link: 
https://github.com/apache/incubator-hugegraph/discussions/2694#discussioncomment-11237356


This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]