I am trying to serve a pyspark model using an endpoint. I was able to load and register the model normally. I could also load that model and perform inference but while serving the model, I am getting the following error:
[94fffqts54] ERROR StatusLogger Reconfiguration failed: No configuration found for 'Default' at 'null' in 'null'
[94fffqts54] ERROR StatusLogger Reconfiguration failed: No configuration found for '5ffd2b27' at 'null' in 'null'
[94fffqts54] ERROR StatusLogger Reconfiguration failed: No configuration found for 'Default' at 'null' in 'null'
[94fffqts54] An error occurred while loading the model. An error occurred while calling o63.load.
[94fffqts54] : java.lang.ClassNotFoundException: com.johnsnowlabs.nlp.DocumentAssembler
[94fffqts54] at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:476)
My conf file looks like this:
conda_env_conf = {
"channels": ["defaults"],
"dependencies": [
"python=3.9.5",
"pip",
{
"pip": [
"spark-nlp==5.3.1",
"pyspark==3.3.2",
"mlflow==2.9.2"
],
"maven": [
{"coordinates":"com.johnsnowlabs.nlp:spark-nlp_2.12:5.3.1"},
{"coordinates":"mx.com.sw:sdk-java18:0.0.1.5"}
]
},
],
"name": "bert_env",
}
Please help!