You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug Illegal group reference exception thrown
E py4j.protocol.Py4JJavaError: An error occurred while calling o351.collectToPython.
E : org.apache.spark.SparkException: Job aborted due to stage failure: Task 3 in stage 0.0 failed 1 times, most recent failure: Lost task 3.0 in stage 0.0 (TID 3) (192.168.4.31 executor driver): java.lang.IllegalArgumentException: Illegal group reference
E at java.util.regex.Matcher.appendReplacement(Matcher.java:857)
E at org.apache.spark.sql.catalyst.expressions.GeneratedClass$GeneratedIteratorForCodegenStage1.processNext(Unknown Source)
E at org.apache.spark.sql.execution.BufferedRowIterator.hasNext(BufferedRowIterator.java:43)
E at org.apache.spark.sql.execution.WholeStageCodegenExec$$anon$1.hasNext(WholeStageCodegenExec.scala:760)
E at org.apache.spark.sql.execution.SparkPlan.$anonfun$getByteArrayRdd$1(SparkPlan.scala:388)
E at org.apache.spark.rdd.RDD.$anonfun$mapPartitionsInternal$2(RDD.scala:888)
E at org.apache.spark.rdd.RDD.$anonfun$mapPartitionsInternal$2$adapted(RDD.scala:888)
E at org.apache.spark.rdd.MapPartitionsRDD.compute(MapPartitionsRDD.scala:52)
E at org.apache.spark.rdd.RDD.computeOrReadCheckpoint(RDD.scala:364)
E at org.apache.spark.rdd.RDD.iterator(RDD.scala:328)
E at org.apache.spark.scheduler.ResultTask.runTask(ResultTask.scala:92)
E at org.apache.spark.TaskContext.runTaskWithListeners(TaskContext.scala:161)
E at org.apache.spark.scheduler.Task.run(Task.scala:139)
E at org.apache.spark.executor.Executor$TaskRunner.$anonfun$run$3(Executor.scala:554)
E at org.apache.spark.util.Utils$.tryWithSafeFinally(Utils.scala:1529)
E at org.apache.spark.executor.Executor$TaskRunner.run(Executor.scala:557)
E at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
E at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
E at java.lang.Thread.run(Thread.java:750)
E
E Driver stacktrace:
E at org.apache.spark.scheduler.DAGScheduler.failJobAndIndependentStages(DAGScheduler.scala:2785)
E at org.apache.spark.scheduler.DAGScheduler.$anonfun$abortStage$2(DAGScheduler.scala:2721)
E at org.apache.spark.scheduler.DAGScheduler.$anonfun$abortStage$2$adapted(DAGScheduler.scala:2720)
E at scala.collection.mutable.ResizableArray.foreach(ResizableArray.scala:62)
E at scala.collection.mutable.ResizableArray.foreach$(ResizableArray.scala:55)
E at scala.collection.mutable.ArrayBuffer.foreach(ArrayBuffer.scala:49)
E at org.apache.spark.scheduler.DAGScheduler.abortStage(DAGScheduler.scala:2720)
E at org.apache.spark.scheduler.DAGScheduler.$anonfun$handleTaskSetFailed$1(DAGScheduler.scala:1206)
E at org.apache.spark.scheduler.DAGScheduler.$anonfun$handleTaskSetFailed$1$adapted(DAGScheduler.scala:1206)
E at scala.Option.foreach(Option.scala:407)
E at org.apache.spark.scheduler.DAGScheduler.handleTaskSetFailed(DAGScheduler.scala:1206)
E at org.apache.spark.scheduler.DAGSchedulerEventProcessLoop.doOnReceive(DAGScheduler.scala:2984)
E at org.apache.spark.scheduler.DAGSchedulerEventProcessLoop.onReceive(DAGScheduler.scala:2923)
E at org.apache.spark.scheduler.DAGSchedulerEventProcessLoop.onReceive(DAGScheduler.scala:2912)
E at org.apache.spark.util.EventLoop$$anon$1.run(EventLoop.scala:49)
E at org.apache.spark.scheduler.DAGScheduler.runJob(DAGScheduler.scala:971)
E at org.apache.spark.SparkContext.runJob(SparkContext.scala:2263)
E at org.apache.spark.SparkContext.runJob(SparkContext.scala:2284)
E at org.apache.spark.SparkContext.runJob(SparkContext.scala:2303)
E at org.apache.spark.SparkContext.runJob(SparkContext.scala:2328)
E at org.apache.spark.rdd.RDD.$anonfun$collect$1(RDD.scala:1019)
E at org.apache.spark.rdd.RDDOperationScope$.withScope(RDDOperationScope.scala:151)
E at org.apache.spark.rdd.RDDOperationScope$.withScope(RDDOperationScope.scala:112)
E at org.apache.spark.rdd.RDD.withScope(RDD.scala:405)
E at org.apache.spark.rdd.RDD.collect(RDD.scala:1018)
E at org.apache.spark.sql.execution.SparkPlan.executeCollect(SparkPlan.scala:448)
E at org.apache.spark.sql.Dataset.$anonfun$collectToPython$1(Dataset.scala:3997)
E at org.apache.spark.sql.Dataset.$anonfun$withAction$2(Dataset.scala:4167)
E at org.apache.spark.sql.execution.QueryExecution$.withInternalError(QueryExecution.scala:526)
E at org.apache.spark.sql.Dataset.$anonfun$withAction$1(Dataset.scala:4165)
E at org.apache.spark.sql.execution.SQLExecution$.$anonfun$withNewExecutionId$6(SQLExecution.scala:118)
E at org.apache.spark.sql.execution.SQLExecution$.withSQLConfPropagated(SQLExecution.scala:195)
E at org.apache.spark.sql.execution.SQLExecution$.$anonfun$withNewExecutionId$1(SQLExecution.scala:103)
E at org.apache.spark.sql.SparkSession.withActive(SparkSession.scala:827)
E at org.apache.spark.sql.execution.SQLExecution$.withNewExecutionId(SQLExecution.scala:65)
E at org.apache.spark.sql.Dataset.withAction(Dataset.scala:4165)
E at org.apache.spark.sql.Dataset.collectToPython(Dataset.scala:3994)
E at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
E at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
E at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
E at java.lang.reflect.Method.invoke(Method.java:498)
E at py4j.reflection.MethodInvoker.invoke(MethodInvoker.java:244)
E at py4j.reflection.ReflectionEngine.invoke(ReflectionEngine.java:374)
E at py4j.Gateway.invoke(Gateway.java:282)
E at py4j.commands.AbstractCommand.invokeMethod(AbstractCommand.java:132)
E at py4j.commands.CallCommand.execute(CallCommand.java:79)
E at py4j.ClientServerConnection.waitForCommands(ClientServerConnection.java:182)
E at py4j.ClientServerConnection.run(ClientServerConnection.java:106)
E at java.lang.Thread.run(Thread.java:750)
E Caused by: java.lang.IllegalArgumentException: Illegal group reference
E at java.util.regex.Matcher.appendReplacement(Matcher.java:857)
E at org.apache.spark.sql.catalyst.expressions.GeneratedClass$GeneratedIteratorForCodegenStage1.processNext(Unknown Source)
E at org.apache.spark.sql.execution.BufferedRowIterator.hasNext(BufferedRowIterator.java:43)
E at org.apache.spark.sql.execution.WholeStageCodegenExec$$anon$1.hasNext(WholeStageCodegenExec.scala:760)
E at org.apache.spark.sql.execution.SparkPlan.$anonfun$getByteArrayRdd$1(SparkPlan.scala:388)
E at org.apache.spark.rdd.RDD.$anonfun$mapPartitionsInternal$2(RDD.scala:888)
E at org.apache.spark.rdd.RDD.$anonfun$mapPartitionsInternal$2$adapted(RDD.scala:888)
E at org.apache.spark.rdd.MapPartitionsRDD.compute(MapPartitionsRDD.scala:52)
E at org.apache.spark.rdd.RDD.computeOrReadCheckpoint(RDD.scala:364)
E at org.apache.spark.rdd.RDD.iterator(RDD.scala:328)
E at org.apache.spark.scheduler.ResultTask.runTask(ResultTask.scala:92)
E at org.apache.spark.TaskContext.runTaskWithListeners(TaskContext.scala:161)
E at org.apache.spark.scheduler.Task.run(Task.scala:139)
E at org.apache.spark.executor.Executor$TaskRunner.$anonfun$run$3(Executor.scala:554)
E at org.apache.spark.util.Utils$.tryWithSafeFinally(Utils.scala:1529)
E at org.apache.spark.executor.Executor$TaskRunner.run(Executor.scala:557)
E at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
E at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
E ... 1 more
The text was updated successfully, but these errors were encountered:
Describe the bug
Illegal group reference
exception thrownThe text was updated successfully, but these errors were encountered: