0

The NebulaGraph version is 3.7.0, deployed in a distributed manner and installed using RPM. The problem is that the nebula-spark-connector encountered an error while importing data: java.util.NoSuchElementException: key not found: interface.

The error on YARN is as follows:

        val config = NebulaConnectionConfig
            .builder()
            .withMetaAddress("127.0.0.1:9559")
            .withGraphAddress("127.0.0.1:9669")
            .build()
        val nebulaWriteVertexConfig = WriteNebulaVertexConfig
            .builder()
            .withSpace("test")
            .withTag("internet_log")
            .withVidField("cell_id")
            .withVidAsProp(true)
            .withUser("root")
            .withPasswd("********")
            .withBatch(1000)
            .build()
        hiveDataFrame.write.nebula(config, nebulaWriteVertexConfig).writeVertices()
Lisa Liu
  • 139
  • 1
  • 6

0 Answers0