Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Failed to retrieve RMIServer stub: Malformed IPv6 address at index 7 #1843

Closed
1 task done
javeme opened this issue Apr 24, 2022 · 2 comments · Fixed by #1844 or #1853
Closed
1 task done

[Bug] Failed to retrieve RMIServer stub: Malformed IPv6 address at index 7 #1843

javeme opened this issue Apr 24, 2022 · 2 comments · Fixed by #1844 or #1853
Labels
bug Something isn't working cassandra Cassandra backend

Comments

@javeme
Copy link
Contributor

javeme commented Apr 24, 2022

Bug Type (问题类型)

No response

Before submit

  • 我已经确认现有的 IssuesFAQ 中没有相同 / 重复问题

Environment (环境信息)

  • Server Version: v0.11.x
  • Backend: RocksDB x nodes, HDD or SSD
  • OS: xx CPUs, xx G RAM, Centos 7.x
  • Data Size: xx vertices, xx edges

Expected & Actual behavior (期望与实际表现)

error log:

[INFO] Running com.baidu.hugegraph.api.ApiTestSuite
Error:  Tests run: 86, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 54.335 s <<< FAILURE! - in com.baidu.hugegraph.api.ApiTestSuite
Error:  testMetricsBackend(com.baidu.hugegraph.api.MetricsApiTest)  Time elapsed: 0.113 s  <<< FAILURE!
java.lang.AssertionError: Expect contains key 'mem_max' in {exception=java.io.IOException: Failed to retrieve RMIServer stub: javax.naming.InvalidNameException: Malformed IPv6 address at index 7: rmi://[127.0.0.1]:7199 [Root exception is java.lang.IllegalArgumentException: Malformed IPv6 address at index 7: rmi://[127.0.0.1]:7199]}
	at com.baidu.hugegraph.api.MetricsApiTest.testMetricsBackend(MetricsApiTest.java:173)

[INFO] 
[INFO] Results:
[INFO] 
Error:  Failures: 
Error:    MetricsApiTest.testMetricsBackend:173->BaseApiTest.assertMapContains:631 Expect contains key 'mem_max' in {exception=java.io.IOException: Failed to retrieve RMIServer stub: javax.naming.InvalidNameException: Malformed IPv6 address at index 7: rmi://[127.0.0.1]:7199 [Root exception is java.lang.IllegalArgumentException: Malformed IPv6 address at index 7: rmi://[127.0.0.1]:7199]}
[INFO] 
Error:  Tests run: 86, Failures: 1, Errors: 0, Skipped: 0

Note: there is no problem running locally.

Also see #1833 (comment)

Vertex/Edge example (问题点 / 边数据举例)

No response

Schema [VertexLabel, EdgeLabel, IndexLabel] (元数据结构)

No response

@javeme javeme added bug Something isn't working cassandra Cassandra backend labels Apr 24, 2022
javeme added a commit that referenced this issue Apr 24, 2022
Change-Id: I1e04122d9e0cd7cd5986e9b33b0fad74d22c1937
zyxxoo pushed a commit that referenced this issue Apr 25, 2022
* log cassandra probe host

Change-Id: Ida6b7f2675c86b6b241977075f0ef137a38fdd8d

* log error info

Change-Id: I18314c3b713304048e1570584ab81998c66366b3

* Translate IPv4 to IPv6 to fix issue #1843

Change-Id: I1e04122d9e0cd7cd5986e9b33b0fad74d22c1937

* remove '[]' from NodeProbe.fmtUrl

Change-Id: I1a8ef310227acfc00c023104c172779a5a511cbe

* log Patch NodeProbe.fmtUrl

Change-Id: I20291e6a00875f4287d2ae1960693cae354f4f38

* revert setFinalInternalState() since ineffective

Change-Id: I5627e9af13f89e0593ffed320f213c8b5b330735

* disable cassandra/scylladb metrics test case as workaround

Change-Id: I35b6f99468cfbb1ecc0dc066fbc8f1f95498a3da
@javeme javeme reopened this Apr 25, 2022
@javeme
Copy link
Contributor Author

javeme commented Apr 25, 2022

cassandra PR: apache/cassandra#1586

javeme added a commit that referenced this issue Apr 27, 2022
Change-Id: I1e04122d9e0cd7cd5986e9b33b0fad74d22c1937
javeme added a commit that referenced this issue Apr 27, 2022
Change-Id: I1e04122d9e0cd7cd5986e9b33b0fad74d22c1937
corgiboygsj pushed a commit that referenced this issue Apr 29, 2022
* log cassandra probe host

* Translate IPv4 to IPv6 to fix issue #1843

* enable cassandra/scylladb metrics test case

* resume debug log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working cassandra Cassandra backend
Projects
None yet
1 participant