Hey, I'm facing this error and I'm wondering if it...
# ask-for-help
j
Hey, I'm facing this error and I'm wondering if it's a bug:
Copy code
Traceback (most recent call last):
  File "/local_disk0/.ephemeral_nfs/cluster_libraries/python/lib/python3.11/site-packages/bentoml/_internal/batch/spark.py", line 82, in process
    Client.wait_until_server_ready("localhost", server.port, 30)
                                                ^^^^^^^^^^^
AttributeError: 'Server' object has no attribute 'port'
I'm doing
Copy code
bento = bentoml.import_bento(self.bento_model_path)
...
result = bentoml.batch.run_in_spark(
            bento, data, spark, output_schema=output_schema
        )
The returned value does indeed seem to be missing a
port
attribute.
This may have been introduced by https://github.com/bentoml/BentoML/pull/4946 ? @Frost Ming
f
j
Thank you! I'll be on the lookout for the next release ❤️