tommyquak commented on PR #3471:
URL: https://github.com/apache/hugegraph/pull/3471#issuecomment-7061375345
I ran the build-from-source steps at e3d0fb8 (JDK 17, Maven 3.10.0) and they
work as written: `mvn clean package -DskipTests`, extract
`hugegraph-server/apache-hugegraph-server-1.8.0.tar.gz`, `init-store.sh`,
`start-hugegraph.sh`, and `/versions` reports core 1.8.0. The relative links in
the changed files resolve too.
One problem in the quick start: on 1.8.0, `{"gremlin":"g.V().limit(1)"}`
returns HTTP 400 (`MissingPropertyException: No such property: g`), since there
is no global `g` without aliases. With `curl -f`, the readiness loop then never
succeeds and reports that the server did not become ready after about two
minutes. Adding the aliases from `docs/rest-api-usage.md` returns 200:
```bash
-d
'{"gremlin":"g.V().limit(1)","aliases":{"graph":"DEFAULT-hugegraph","g":"__g_DEFAULT-hugegraph"}}'
```
The same applies to the `g.V().limit(5)` example after the loop. The old
quick start pinned `hugegraph/hugegraph:1.7.0`; this one uses `latest`, which
was rebuilt on 2026-11-20 from the current Dockerfile, so I think it is now a
1.8.0 build. Either keeping a released tag or adding the aliases would fix it.
I tested a source build rather than the Docker image.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]