Error when running Zingg findTrainingData phase in Microsoft Fabric environment - Py4JJavaError and client execution ...
Hello, I have installed Zingg on the Microsoft Fabric environment (Zingg-0.5.0.jar, python libraries Zingg-0.5.0, tabulate 0.9.0 and Runtime 1.3 (spark 3.5, Delta 3.2)). However, I am getting below error when I execute the following line of code. Please help in resolving this error. options = ClientOptions([ClientOptions.PHASE,"findTrainingData"]) #Zingg execution for the given phase zingg = ZinggWithSpark(args, options) print(args) print(options) print(zingg) zingg.initAndExecute() -------------------------below error--------------------------------------- ['--phase', 'findTrainingData'] arguments for client options are ['--phase', 'findTrainingData', '--license', 'zinggLic.txt', '--email', 'zingg@zingg.ai', '--conf', 'dummyConf.json'] <zingg.client.Arguments object at 0x7a82f7829420> <zingg.client.ClientOptions object at 0x7a82f5b302e0> <zingg.client.ZinggWithSpark object at 0x7a82f6480d90> --------------------------------------------------------------------------- Py4JJavaError Traceback (most recent call last) Cell In[43], line 7 5 print(options) 6 print(zingg) ----> 7 zingg.initAndExecute() File ~/cluster-env/clonedenv/lib/python3.10/site-packages/zingg/client.py:280, in Zingg.initAndExecute(self) 278 self.client.execute() 279 else: --> 280 self.client.execute() File ~/cluster-env/clonedenv/lib/python3.10/site-packages/py4j/java_gateway.py:1304, in JavaMember.__call__(self, *args) 1298 command = proto.CALL_COMMAND_NAME +\ 1299 self.command_header +\ 1300 args_command +\ 1301 proto.END_COMMAND_PART 1303 answer = self.gateway_client.send_command(command) -> 1304 return_value = get_return_value( 1305 answer, self.gateway_client, self.target_id, self.name) 1307 for temp_arg in temp_args: 1308 temp_arg._detach() File /opt/spark/python/lib/pyspark.zip/pyspark/errors/exceptions/captured.py:169, in capture_sql_exception.<locals>.deco(*a, **kw) 167 def deco(*a: Any, **kw: Any) -> Any: 168 try: --> 169 return f(*a, **kw) 170 except Py4JJavaError as e: 171 converted = convert_exception(e.java_exception) File ~/cluster-env/clonedenv/lib/python3.10/site-packages/py4j/protocol.py:326, in get_return_value(answer, gateway_client, target_id, name) 324 value = OUTPUT_CONVERTER[type](answer[2:], gateway_client) 325 if answer[1] == REFERENCE_TYPE: --> 326 raise Py4JJavaError( 327 "An error occurred while calling {0}{1}{2}.\n". 328 format(target_id, ".", name), value) 329 else: 330 raise Py4JError( 331 "An error occurred while calling {0}{1}{2}. Trace:\n{3}\n". 332 format(target_id, ".", name, value)) Py4JJavaError: An error occurred while calling o5987.execute. : zingg.common.client.ZinggClientException: Error occurred while performing preprocessor at zingg.common.core.executor.TrainingDataFinder.execute(TrainingDataFinder.java:141) at zingg.common.client.Client.execute(Client.java:281) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at py4j.reflection.MethodInvoker.invoke(MethodInvoker.java:244) at py4j.reflection.ReflectionEngine.invoke(ReflectionEngine.java:374) at py4j.Gateway.invoke(Gateway.java:282) at py4j.commands.AbstractCommand.invokeMethod(AbstractCommand.java:132) at py4j.commands.CallCommand.execute(CallCommand.java:79) at py4j.GatewayConnection.run(GatewayConnection.java:238) at java.base/java.lang.Thread.run(Thread.java:829)