You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Weichen Xu (Jira)" <ji...@apache.org> on 2022/12/08 13:34:00 UTC

[jira] [Created] (SPARK-41450) PySpark built from master code raise error "java.lang.ClassNotFoundException: org.eclipse.jetty.server.Handler"

Weichen Xu created SPARK-41450:
----------------------------------

             Summary: PySpark built from master code raise error "java.lang.ClassNotFoundException: org.eclipse.jetty.server.Handler"
                 Key: SPARK-41450
                 URL: https://issues.apache.org/jira/browse/SPARK-41450
             Project: Spark
          Issue Type: Improvement
          Components: Build
    Affects Versions: 3.4.0
            Reporter: Weichen Xu


Reproducing steps:

first, clone spark master code, then
 # Build pyspark package by: `./dev/make-distribution.sh --pip` 
 # install built pyspark package
 # run python code: `from pyspark.sql import SparkSession; SparkSession.builder.getOrCreate`

Got error: "java.lang.ClassNotFoundException: org.eclipse.jetty.server.Handler"

 

The Jetty server should be only used by spark thrift server component, and even if I built with `-Phive-thriftserver` option, the error still happen.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org