hahahahbenny opened a new issue, #2785:
URL: https://github.com/apache/incubator-hugegraph/issues/2785

   ### Bug Type (问题类型)
   
   server status (启动/运行异常)
   
   ### Before submit
   
   - [x] 我已经确认现有的 [Issues](https://github.com/apache/hugegraph/issues) 与 
[FAQ](https://hugegraph.apache.org/docs/guides/faq/) 中没有相同 / 重复问题 (I have 
confirmed and searched that there are no similar problems in the historical 
issue and documents)
   
   ### Environment (环境信息)
   
   - Server Version: 1.5.0 (Apache Release Version)
   - Backend: RocksDB x nodes, HDD or SSD 
   - OS: Ubuntu 20.04.6 LTS 
   
   ### Expected & Actual behavior (期望与实际表现)
   
   打算解决以下issue时发现复现情况2时出现问题:
   **相关issue** 
[原始issue](https://github.com/apache/incubator-hugegraph/issues/2310)
   
   
   
   原始的`gremlin.server.yaml` 中的` 
org.apache.tinkerpop.gremlin.jsr223.ScriptFileGremlinPlugin:` 属性,直接运行` 
./start-hugegraph.sh `没有报错
   ```
         org.apache.tinkerpop.gremlin.jsr223.ScriptFileGremlinPlugin: {
           files: [scripts/empty-sample.groovy]
         }
   ```
   
   上述属性修改为`scripts/example.groovy`
   ```
         org.apache.tinkerpop.gremlin.jsr223.ScriptFileGremlinPlugin: {
           files: [scripts/example.groovy]
         }
   ```
   
   后出现以下报错 (截取主要片段
   
   
[hugegraph-server.log](https://github.com/user-attachments/files/20612933/hugegraph-server.log)
   
   )
   ```
   **2025-06-05 22:14:09 [gremlin-server-exec-1] [WARN] o.a.h.c.OptionSpace - 
Already registered option holder: rocksdb (class 
org.apache.hugegraph.backend.store.rocksdb.RocksDBOptions)
   2025-06-05 22:14:09 [gremlin-server-exec-1] [ERROR] 
o.a.t.g.j.DefaultGremlinScriptEngineManager - Could not create 
GremlinScriptEngine for gremlin-groovy**
   
   **Caused by: javax.script.ScriptException: javax.script.ScriptException: 
org.apache.hugegraph.backend.BackendException: Exists BackendStoreProvider: 
rocksdb (class 
org.apache.hugegraph.backend.store.rocksdb.RocksDBStoreProvider)**
        
   **Caused by: javax.script.ScriptException: 
org.apache.hugegraph.backend.BackendException: Exists BackendStoreProvider: 
rocksdb (class 
org.apache.hugegraph.backend.store.rocksdb.RocksDBStoreProvider)**
   
   **Caused by: org.apache.hugegraph.backend.BackendException: Exists 
BackendStoreProvider: rocksdb (class 
org.apache.hugegraph.backend.store.rocksdb.RocksDBStoreProvider)**
        
   **2025-06-05 22:14:09 [main] [WARN] o.a.t.g.s.u.ServerGremlinExecutor - 
Could not initialize gremlin-groovy GremlinScriptEngine as init script could 
not be evaluated**
   
   **Caused by: java.lang.IllegalArgumentException: gremlin-groovy is not an 
available GremlinScriptEngine
        at 
org.apache.tinkerpop.gremlin.jsr223.CachedGremlinScriptEngineManager.registerLookUpInfo(CachedGremlinScriptEngineManager.java:95)
 ~[gremlin-core-3.5.1.jar:3.5.1]**
   
   ```
   
   具体的`logfile`如下
   
   ### Vertex/Edge example (问题点 / 边数据举例)
   
   ```javascript
   
   ```
   
   ### Schema [VertexLabel, EdgeLabel, IndexLabel] (元数据结构)
   
   ```javascript
   
   ```


-- 
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: dev-unsubscr...@hugegraph.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to