当前位置: 代码迷 >> 综合 >> Error while instantiating ‘org.apache.spark.sql.internal.SessionState‘
详细解决方案
Error while instantiating ‘org.apache.spark.sql.internal.SessionState‘
热度:39 发布时间:2024-02-25 06:21:26.0
(1) 现象截图
(2) 错误堆栈信息(文本)
D:\developments\java-tools\jdk1.8.0_144\bin\java.exe -ea -Didea.test.cyclic.buffer.size=1048576 -javaagent:D:\developments\dev-software\IntelliJIDEA2020\lib\idea_rt.jar=51029:D:\developments\dev-software\IntelliJIDEA2020\bin -Dfile.encoding=UTF-8 -classpath D:\developments\dev-software\IntelliJIDEA2020\lib\idea_rt.jar;D:\developments\dev-software\IntelliJIDEA2020\plugins\junit\lib\junit5-rt.jar;D:\developments\dev-software\IntelliJIDEA2020\plugins\junit\lib\junit-rt.jar;D:\developments\java-tools\jdk1.8.0_144\jre\lib\charsets.jar;D:\developments\java-tools\jdk1.8.0_144\jre\lib\deploy.jar;D:\developments\java-tools\jdk1.8.0_144\jre\lib\ext\access-bridge-64.jar;D:\developments\java-tools\jdk1.8.0_144\jre\lib\ext\cldrdata.jar;D:\developments\java-tools\jdk1.8.0_144\jre\lib\ext\dnsns.jar;D:\developments\java-tools\jdk1.8.0_144\jre\lib\ext\jaccess.jar;D:\developments\java-tools\jdk1.8.0_144\jre\lib\ext\jfxrt.jar;D:\developments\java-tools\jdk1.8.0_144\jre\lib\ext\localedata.jar;D:\developments\java-tools\jdk1.8.0_144\jre\lib\ext\nashorn.jar;D:\developments\java-tools\jdk1.8.0_144\jre\lib\ext\sunec.jar;D:\developments\java-tools\jdk1.8.0_144\jre\lib\ext\sunjce_provider.jar;D:\developments\java-tools\jdk1.8.0_144\jre\lib\ext\sunmscapi.jar;D:\developments\java-tools\jdk1.8.0_144\jre\lib\ext\sunpkcs11.jar;D:\developments\java-tools\jdk1.8.0_144\jre\lib\ext\zipfs.jar;D:\developments\java-tools\jdk1.8.0_144\jre\lib\javaws.jar;D:\developments\java-tools\jdk1.8.0_144\jre\lib\jce.jar;D:\developments\java-tools\jdk1.8.0_144\jre\lib\jfr.jar;D:\developments\java-tools\jdk1.8.0_144\jre\lib\jfxswt.jar;D:\developments\java-tools\jdk1.8.0_144\jre\lib\jsse.jar;D:\developments\java-tools\jdk1.8.0_144\jre\lib\management-agent.jar;D:\developments\java-tools\jdk1.8.0_144\jre\lib\plugin.jar;D:\developments\java-tools\jdk1.8.0_144\jre\lib\resources.jar;D:\developments\java-tools\jdk1.8.0_144\jre\lib\rt.jar;D:\code\bigdata-code\spark-core\target\classes;D:\developments\dev-repository\org\apache\spark\spark-core_2.11\2.4.5\spark-core_2.11-2.4.5.jar;D:\developments\dev-repository\com\thoughtworks\paranamer\paranamer\2.8\paranamer-2.8.jar;D:\developments\dev-repository\org\apache\avro\avro\1.8.2\avro-1.8.2.jar;D:\developments\dev-repository\org\tukaani\xz\1.5\xz-1.5.jar;D:\developments\dev-repository\org\apache\avro\avro-mapred\1.8.2\avro-mapred-1.8.2-hadoop2.jar;D:\developments\dev-repository\org\apache\avro\avro-ipc\1.8.2\avro-ipc-1.8.2.jar;D:\developments\dev-repository\com\twitter\chill_2.11\0.9.3\chill_2.11-0.9.3.jar;D:\developments\dev-repository\com\esotericsoftware\kryo-shaded\4.0.2\kryo-shaded-4.0.2.jar;D:\developments\dev-repository\com\esotericsoftware\minlog\1.3.0\minlog-1.3.0.jar;D:\developments\dev-repository\org\objenesis\objenesis\2.5.1\objenesis-2.5.1.jar;D:\developments\dev-repository\com\twitter\chill-java\0.9.3\chill-java-0.9.3.jar;D:\developments\dev-repository\org\apache\xbean\xbean-asm6-shaded\4.8\xbean-asm6-shaded-4.8.jar;D:\developments\dev-repository\org\apache\spark\spark-launcher_2.11\2.4.5\spark-launcher_2.11-2.4.5.jar;D:\developments\dev-repository\org\apache\spark\spark-kvstore_2.11\2.4.5\spark-kvstore_2.11-2.4.5.jar;D:\developments\dev-repository\com\fasterxml\jackson\core\jackson-core\2.6.7\jackson-core-2.6.7.jar;D:\developments\dev-repository\com\fasterxml\jackson\core\jackson-annotations\2.6.7\jackson-annotations-2.6.7.jar;D:\developments\dev-repository\org\apache\spark\spark-network-common_2.11\2.4.5\spark-network-common_2.11-2.4.5.jar;D:\developments\dev-repository\org\apache\spark\spark-network-shuffle_2.11\2.4.5\spark-network-shuffle_2.11-2.4.5.jar;D:\developments\dev-repository\org\apache\spark\spark-unsafe_2.11\2.4.5\spark-unsafe_2.11-2.4.5.jar;D:\developments\dev-repository\javax\activation\activation\1.1.1\activation-1.1.1.jar;D:\developments\dev-repository\org\apache\curator\curator-recipes\2.6.0\curator-recipes-2.6.0.jar;D:\developments\dev-repository\org\apache\zookeeper\zookeeper\3.4.6\zookeeper-3.4.6.jar;D:\developments\dev-repository\javax\servlet\javax.servlet-api\3.1.0\javax.servlet-api-3.1.0.jar;D:\developments\dev-repository\org\apache\commons\commons-lang3\3.5\commons-lang3-3.5.jar;D:\developments\dev-repository\org\apache\commons\commons-math3\3.4.1\commons-math3-3.4.1.jar;D:\developments\dev-repository\com\google\code\findbugs\jsr305\1.3.9\jsr305-1.3.9.jar;D:\developments\dev-repository\org\slf4j\slf4j-api\1.7.16\slf4j-api-1.7.16.jar;D:\developments\dev-repository\org\slf4j\jul-to-slf4j\1.7.16\jul-to-slf4j-1.7.16.jar;D:\developments\dev-repository\org\slf4j\jcl-over-slf4j\1.7.16\jcl-over-slf4j-1.7.16.jar;D:\developments\dev-repository\log4j\log4j\1.2.17\log4j-1.2.17.jar;D:\developments\dev-repository\org\slf4j\slf4j-log4j12\1.7.16\slf4j-log4j12-1.7.16.jar;D:\developments\dev-repository\com\ning\compress-lzf\1.0.3\compress-lzf-1.0.3.jar;D:\developments\dev-repository\org\xerial\snappy\snappy-java\1.1.7.3\snappy-java-1.1.7.3.jar;D:\developments\dev-repository\org\lz4\lz4-java\1.4.0\lz4-java-1.4.0.jar;D:\developments\dev-repository\com\github\luben\zstd-jni\1.3.2-2\zstd-jni-1.3.2-2.jar;D:\developments\dev-repository\org\roaringbitmap\RoaringBitmap\0.7.45\RoaringBitmap-0.7.45.jar;D:\developments\dev-repository\org\roaringbitmap\shims\0.7.45\shims-0.7.45.jar;D:\developments\dev-repository\commons-net\commons-net\3.1\commons-net-3.1.jar;D:\developments\dev-repository\org\scala-lang\scala-library\2.11.12\scala-library-2.11.12.jar;D:\developments\dev-repository\org\json4s\json4s-jackson_2.11\3.5.3\json4s-jackson_2.11-3.5.3.jar;D:\developments\dev-repository\org\json4s\json4s-core_2.11\3.5.3\json4s-core_2.11-3.5.3.jar;D:\developments\dev-repository\org\json4s\json4s-ast_2.11\3.5.3\json4s-ast_2.11-3.5.3.jar;D:\developments\dev-repository\org\json4s\json4s-scalap_2.11\3.5.3\json4s-scalap_2.11-3.5.3.jar;D:\developments\dev-repository\org\scala-lang\modules\scala-xml_2.11\1.0.6\scala-xml_2.11-1.0.6.jar;D:\developments\dev-repository\org\glassfish\jersey\core\jersey-client\2.22.2\jersey-client-2.22.2.jar;D:\developments\dev-repository\javax\ws\rs\javax.ws.rs-api\2.0.1\javax.ws.rs-api-2.0.1.jar;D:\developments\dev-repository\org\glassfish\hk2\hk2-api\2.4.0-b34\hk2-api-2.4.0-b34.jar;D:\developments\dev-repository\org\glassfish\hk2\hk2-utils\2.4.0-b34\hk2-utils-2.4.0-b34.jar;D:\developments\dev-repository\org\glassfish\hk2\external\aopalliance-repackaged\2.4.0-b34\aopalliance-repackaged-2.4.0-b34.jar;D:\developments\dev-repository\org\glassfish\hk2\external\javax.inject\2.4.0-b34\javax.inject-2.4.0-b34.jar;D:\developments\dev-repository\org\glassfish\hk2\hk2-locator\2.4.0-b34\hk2-locator-2.4.0-b34.jar;D:\developments\dev-repository\org\javassist\javassist\3.18.1-GA\javassist-3.18.1-GA.jar;D:\developments\dev-repository\org\glassfish\jersey\core\jersey-common\2.22.2\jersey-common-2.22.2.jar;D:\developments\dev-repository\javax\annotation\javax.annotation-api\1.2\javax.annotation-api-1.2.jar;D:\developments\dev-repository\org\glassfish\jersey\bundles\repackaged\jersey-guava\2.22.2\jersey-guava-2.22.2.jar;D:\developments\dev-repository\org\glassfish\hk2\osgi-resource-locator\1.0.1\osgi-resource-locator-1.0.1.jar;D:\developments\dev-repository\org\glassfish\jersey\core\jersey-server\2.22.2\jersey-server-2.22.2.jar;D:\developments\dev-repository\org\glassfish\jersey\media\jersey-media-jaxb\2.22.2\jersey-media-jaxb-2.22.2.jar;D:\developments\dev-repository\javax\validation\validation-api\1.1.0.Final\validation-api-1.1.0.Final.jar;D:\developments\dev-repository\org\glassfish\jersey\containers\jersey-container-servlet\2.22.2\jersey-container-servlet-2.22.2.jar;D:\developments\dev-repository\org\glassfish\jersey\containers\jersey-container-servlet-core\2.22.2\jersey-container-servlet-core-2.22.2.jar;D:\developments\dev-repository\io\netty\netty-all\4.1.42.Final\netty-all-4.1.42.Final.jar;D:\developments\dev-repository\io\netty\netty\3.9.9.Final\netty-3.9.9.Final.jar;D:\developments\dev-repository\com\clearspring\analytics\stream\2.7.0\stream-2.7.0.jar;D:\developments\dev-repository\io\dropwizard\metrics\metrics-core\3.1.5\metrics-core-3.1.5.jar;D:\developments\dev-repository\io\dropwizard\metrics\metrics-jvm\3.1.5\metrics-jvm-3.1.5.jar;D:\developments\dev-repository\io\dropwizard\metrics\metrics-json\3.1.5\metrics-json-3.1.5.jar;D:\developments\dev-repository\io\dropwizard\metrics\metrics-graphite\3.1.5\metrics-graphite-3.1.5.jar;D:\developments\dev-repository\com\fasterxml\jackson\core\jackson-databind\2.6.7.3\jackson-databind-2.6.7.3.jar;D:\developments\dev-repository\com\fasterxml\jackson\module\jackson-module-scala_2.11\2.6.7.1\jackson-module-scala_2.11-2.6.7.1.jar;D:\developments\dev-repository\org\scala-lang\scala-reflect\2.11.8\scala-reflect-2.11.8.jar;D:\developments\dev-repository\com\fasterxml\jackson\module\jackson-module-paranamer\2.7.9\jackson-module-paranamer-2.7.9.jar;D:\developments\dev-repository\org\apache\ivy\ivy\2.4.0\ivy-2.4.0.jar;D:\developments\dev-repository\oro\oro\2.0.8\oro-2.0.8.jar;D:\developments\dev-repository\net\razorvine\pyrolite\4.13\pyrolite-4.13.jar;D:\developments\dev-repository\net\sf\py4j\py4j\0.10.7\py4j-0.10.7.jar;D:\developments\dev-repository\org\apache\spark\spark-tags_2.11\2.4.5\spark-tags_2.11-2.4.5.jar;D:\developments\dev-repository\org\apache\commons\commons-crypto\1.0.0\commons-crypto-1.0.0.jar;D:\developments\dev-repository\org\spark-project\spark\unused\1.0.0\unused-1.0.0.jar;D:\developments\dev-repository\org\apache\spark\spark-sql_2.11\2.1.1\spark-sql_2.11-2.1.1.jar;D:\developments\dev-repository\com\univocity\univocity-parsers\2.2.1\univocity-parsers-2.2.1.jar;D:\developments\dev-repository\org\apache\spark\spark-sketch_2.11\2.1.1\spark-sketch_2.11-2.1.1.jar;D:\developments\dev-repository\org\apache\spark\spark-catalyst_2.11\2.1.1\spark-catalyst_2.11-2.1.1.jar;D:\developments\dev-repository\org\codehaus\janino\janino\3.0.0\janino-3.0.0.jar;D:\developments\dev-repository\org\codehaus\janino\commons-compiler\3.0.0\commons-compiler-3.0.0.jar;D:\developments\dev-repository\org\antlr\antlr4-runtime\4.5.3\antlr4-runtime-4.5.3.jar;D:\developments\dev-repository\org\apache\parquet\parquet-column\1.8.1\parquet-column-1.8.1.jar;D:\developments\dev-repository\org\apache\parquet\parquet-common\1.8.1\parquet-common-1.8.1.jar;D:\developments\dev-repository\org\apache\parquet\parquet-encoding\1.8.1\parquet-encoding-1.8.1.jar;D:\developments\dev-repository\org\apache\parquet\parquet-hadoop\1.8.1\parquet-hadoop-1.8.1.jar;D:\developments\dev-repository\org\apache\parquet\parquet-format\2.3.0-incubating\parquet-format-2.3.0-incubating.jar;D:\developments\dev-repository\org\apache\parquet\parquet-jackson\1.8.1\parquet-jackson-1.8.1.jar;D:\developments\dev-repository\org\apache\xbean\xbean-asm5-shaded\4.4\xbean-asm5-shaded-4.4.jar;D:\developments\dev-repository\org\apache\spark\spark-hive_2.11\2.1.1\spark-hive_2.11-2.1.1.jar;D:\developments\dev-repository\com\twitter\parquet-hadoop-bundle\1.6.0\parquet-hadoop-bundle-1.6.0.jar;D:\developments\dev-repository\org\spark-project\hive\hive-exec\1.2.1.spark2\hive-exec-1.2.1.spark2.jar;D:\developments\dev-repository\javolution\javolution\5.5.1\javolution-5.5.1.jar;D:\developments\dev-repository\com\googlecode\javaewah\JavaEWAH\0.3.2\JavaEWAH-0.3.2.jar;D:\developments\dev-repository\org\iq80\snappy\snappy\0.2\snappy-0.2.jar;D:\developments\dev-repository\net\sf\opencsv\opencsv\2.3\opencsv-2.3.jar;D:\developments\dev-repository\org\spark-project\hive\hive-metastore\1.2.1.spark2\hive-metastore-1.2.1.spark2.jar;D:\developments\dev-repository\com\jolbox\bonecp\0.8.0.RELEASE\bonecp-0.8.0.RELEASE.jar;D:\developments\dev-repository\org\apache\derby\derby\10.10.2.0\derby-10.10.2.0.jar;D:\developments\dev-repository\org\datanucleus\datanucleus-api-jdo\3.2.6\datanucleus-api-jdo-3.2.6.jar;D:\developments\dev-repository\org\datanucleus\datanucleus-rdbms\3.2.9\datanucleus-rdbms-3.2.9.jar;D:\developments\dev-repository\commons-pool\commons-pool\1.5.4\commons-pool-1.5.4.jar;D:\developments\dev-repository\commons-dbcp\commons-dbcp\1.4\commons-dbcp-1.4.jar;D:\developments\dev-repository\javax\jdo\jdo-api\3.0.1\jdo-api-3.0.1.jar;D:\developments\dev-repository\javax\transaction\jta\1.1\jta-1.1.jar;D:\developments\dev-repository\commons-httpclient\commons-httpclient\3.1\commons-httpclient-3.1.jar;D:\developments\dev-repository\org\apache\calcite\calcite-avatica\1.2.0-incubating\calcite-avatica-1.2.0-incubating.jar;D:\developments\dev-repository\org\apache\calcite\calcite-core\1.2.0-incubating\calcite-core-1.2.0-incubating.jar;D:\developments\dev-repository\org\apache\calcite\calcite-linq4j\1.2.0-incubating\calcite-linq4j-1.2.0-incubating.jar;D:\developments\dev-repository\net\hydromatic\eigenbase-properties\1.1.5\eigenbase-properties-1.1.5.jar;D:\developments\dev-repository\org\apache\httpcomponents\httpclient\4.5.2\httpclient-4.5.2.jar;D:\developments\dev-repository\org\apache\httpcomponents\httpcore\4.4.4\httpcore-4.4.4.jar;D:\developments\dev-repository\org\codehaus\jackson\jackson-mapper-asl\1.9.13\jackson-mapper-asl-1.9.13.jar;D:\developments\dev-repository\commons-codec\commons-codec\1.10\commons-codec-1.10.jar;D:\developments\dev-repository\joda-time\joda-time\2.9.3\joda-time-2.9.3.jar;D:\developments\dev-repository\org\jodd\jodd-core\3.5.2\jodd-core-3.5.2.jar;D:\developments\dev-repository\org\datanucleus\datanucleus-core\3.2.10\datanucleus-core-3.2.10.jar;D:\developments\dev-repository\org\apache\thrift\libthrift\0.9.3\libthrift-0.9.3.jar;D:\developments\dev-repository\org\apache\thrift\libfb303\0.9.3\libfb303-0.9.3.jar;D:\developments\dev-repository\org\apache\hive\hive-exec\1.2.1\hive-exec-1.2.1.jar;D:\developments\dev-repository\org\apache\hive\hive-ant\1.2.1\hive-ant-1.2.1.jar;D:\developments\dev-repository\org\apache\velocity\velocity\1.5\velocity-1.5.jar;D:\developments\dev-repository\org\apache\hive\hive-metastore\1.2.1\hive-metastore-1.2.1.jar;D:\developments\dev-repository\org\apache\hive\hive-serde\1.2.1\hive-serde-1.2.1.jar;D:\developments\dev-repository\org\apache\hive\hive-common\1.2.1\hive-common-1.2.1.jar;D:\developments\dev-repository\org\json\json\20090211\json-20090211.jar;D:\developments\dev-repository\org\apache\hive\hive-shims\1.2.1\hive-shims-1.2.1.jar;D:\developments\dev-repository\org\apache\hive\shims\hive-shims-common\1.2.1\hive-shims-common-1.2.1.jar;D:\developments\dev-repository\org\apache\hive\shims\hive-shims-0.20S\1.2.1\hive-shims-0.20S-1.2.1.jar;D:\developments\dev-repository\org\apache\hive\shims\hive-shims-0.23\1.2.1\hive-shims-0.23-1.2.1.jar;D:\developments\dev-repository\org\apache\hadoop\hadoop-yarn-server-resourcemanager\2.6.0\hadoop-yarn-server-resourcemanager-2.6.0.jar;D:\developments\dev-repository\com\google\inject\extensions\guice-servlet\3.0\guice-servlet-3.0.jar;D:\developments\dev-repository\com\google\inject\guice\3.0\guice-3.0.jar;D:\developments\dev-repository\javax\inject\javax.inject\1\javax.inject-1.jar;D:\developments\dev-repository\aopalliance\aopalliance\1.0\aopalliance-1.0.jar;D:\developments\dev-repository\com\sun\jersey\contribs\jersey-guice\1.9\jersey-guice-1.9.jar;D:\developments\dev-repository\org\apache\hadoop\hadoop-yarn-server-applicationhistoryservice\2.6.0\hadoop-yarn-server-applicationhistoryservice-2.6.0.jar;D:\developments\dev-repository\org\apache\hadoop\hadoop-yarn-server-web-proxy\2.6.0\hadoop-yarn-server-web-proxy-2.6.0.jar;D:\developments\dev-repository\org\apache\hive\shims\hive-shims-scheduler\1.2.1\hive-shims-scheduler-1.2.1.jar;D:\developments\dev-repository\commons-io\commons-io\2.4\commons-io-2.4.jar;D:\developments\dev-repository\commons-logging\commons-logging\1.1.3\commons-logging-1.1.3.jar;D:\developments\dev-repository\log4j\apache-log4j-extras\1.2.17\apache-log4j-extras-1.2.17.jar;D:\developments\dev-repository\org\antlr\antlr-runtime\3.4\antlr-runtime-3.4.jar;D:\developments\dev-repository\org\antlr\stringtemplate\3.2.1\stringtemplate-3.2.1.jar;D:\developments\dev-repository\antlr\antlr\2.7.7\antlr-2.7.7.jar;D:\developments\dev-repository\org\antlr\ST4\4.0.4\ST4-4.0.4.jar;D:\developments\dev-repository\org\apache\ant\ant\1.9.1\ant-1.9.1.jar;D:\developments\dev-repository\org\apache\ant\ant-launcher\1.9.1\ant-launcher-1.9.1.jar;D:\developments\dev-repository\org\apache\commons\commons-compress\1.4.1\commons-compress-1.4.1.jar;D:\developments\dev-repository\org\apache\curator\curator-framework\2.6.0\curator-framework-2.6.0.jar;D:\developments\dev-repository\org\codehaus\groovy\groovy-all\2.1.6\groovy-all-2.1.6.jar;D:\developments\dev-repository\stax\stax-api\1.0.1\stax-api-1.0.1.jar;D:\developments\dev-repository\jline\jline\2.12\jline-2.12.jar;D:\developments\dev-repository\org\apache\hadoop\hadoop-common\2.7.2\hadoop-common-2.7.2.jar;D:\developments\dev-repository\org\apache\hadoop\hadoop-annotations\2.7.2\hadoop-annotations-2.7.2.jar;D:\developments\dev-repository\com\google\guava\guava\11.0.2\guava-11.0.2.jar;D:\developments\dev-repository\commons-cli\commons-cli\1.2\commons-cli-1.2.jar;D:\developments\dev-repository\xmlenc\xmlenc\0.52\xmlenc-0.52.jar;D:\developments\dev-repository\commons-collections\commons-collections\3.2.2\commons-collections-3.2.2.jar;D:\developments\dev-repository\javax\servlet\servlet-api\2.5\servlet-api-2.5.jar;D:\developments\dev-repository\org\mortbay\jetty\jetty\6.1.26\jetty-6.1.26.jar;D:\developments\dev-repository\org\mortbay\jetty\jetty-util\6.1.26\jetty-util-6.1.26.jar;D:\developments\dev-repository\javax\servlet\jsp\jsp-api\2.1\jsp-api-2.1.jar;D:\developments\dev-repository\com\sun\jersey\jersey-core\1.9\jersey-core-1.9.jar;D:\developments\dev-repository\com\sun\jersey\jersey-json\1.9\jersey-json-1.9.jar;D:\developments\dev-repository\org\codehaus\jettison\jettison\1.1\jettison-1.1.jar;D:\developments\dev-repository\com\sun\xml\bind\jaxb-impl\2.2.3-1\jaxb-impl-2.2.3-1.jar;D:\developments\dev-repository\javax\xml\bind\jaxb-api\2.2.2\jaxb-api-2.2.2.jar;D:\developments\dev-repository\javax\xml\stream\stax-api\1.0-2\stax-api-1.0-2.jar;D:\developments\dev-repository\org\codehaus\jackson\jackson-jaxrs\1.8.3\jackson-jaxrs-1.8.3.jar;D:\developments\dev-repository\org\codehaus\jackson\jackson-xc\1.8.3\jackson-xc-1.8.3.jar;D:\developments\dev-repository\com\sun\jersey\jersey-server\1.9\jersey-server-1.9.jar;D:\developments\dev-repository\asm\asm\3.1\asm-3.1.jar;D:\developments\dev-repository\net\java\dev\jets3t\jets3t\0.9.0\jets3t-0.9.0.jar;D:\developments\dev-repository\com\jamesmurty\utils\java-xmlbuilder\0.4\java-xmlbuilder-0.4.jar;D:\developments\dev-repository\commons-lang\commons-lang\2.6\commons-lang-2.6.jar;D:\developments\dev-repository\commons-configuration\commons-configuration\1.6\commons-configuration-1.6.jar;D:\developments\dev-repository\commons-digester\commons-digester\1.8\commons-digester-1.8.jar;D:\developments\dev-repository\commons-beanutils\commons-beanutils\1.7.0\commons-beanutils-1.7.0.jar;D:\developments\dev-repository\commons-beanutils\commons-beanutils-core\1.8.0\commons-beanutils-core-1.8.0.jar;D:\developments\dev-repository\org\codehaus\jackson\jackson-core-asl\1.9.13\jackson-core-asl-1.9.13.jar;D:\developments\dev-repository\com\google\protobuf\protobuf-java\2.5.0\protobuf-java-2.5.0.jar;D:\developments\dev-repository\com\google\code\gson\gson\2.2.4\gson-2.2.4.jar;D:\developments\dev-repository\org\apache\hadoop\hadoop-auth\2.7.2\hadoop-auth-2.7.2.jar;D:\developments\dev-repository\org\apache\directory\server\apacheds-kerberos-codec\2.0.0-M15\apacheds-kerberos-codec-2.0.0-M15.jar;D:\developments\dev-repository\org\apache\directory\server\apacheds-i18n\2.0.0-M15\apacheds-i18n-2.0.0-M15.jar;D:\developments\dev-repository\org\apache\directory\api\api-asn1-api\1.0.0-M20\api-asn1-api-1.0.0-M20.jar;D:\developments\dev-repository\org\apache\directory\api\api-util\1.0.0-M20\api-util-1.0.0-M20.jar;D:\developments\dev-repository\com\jcraft\jsch\0.1.42\jsch-0.1.42.jar;D:\developments\dev-repository\org\apache\curator\curator-client\2.7.1\curator-client-2.7.1.jar;D:\developments\dev-repository\org\apache\htrace\htrace-core\3.1.0-incubating\htrace-core-3.1.0-incubating.jar;D:\developments\dev-repository\org\apache\hadoop\hadoop-client\2.7.2\hadoop-client-2.7.2.jar;D:\developments\dev-repository\org\apache\hadoop\hadoop-mapreduce-client-app\2.7.2\hadoop-mapreduce-client-app-2.7.2.jar;D:\developments\dev-repository\org\apache\hadoop\hadoop-mapreduce-client-common\2.7.2\hadoop-mapreduce-client-common-2.7.2.jar;D:\developments\dev-repository\org\apache\hadoop\hadoop-yarn-client\2.7.2\hadoop-yarn-client-2.7.2.jar;D:\developments\dev-repository\org\apache\hadoop\hadoop-yarn-server-common\2.7.2\hadoop-yarn-server-common-2.7.2.jar;D:\developments\dev-repository\org\apache\hadoop\hadoop-mapreduce-client-shuffle\2.7.2\hadoop-mapreduce-client-shuffle-2.7.2.jar;D:\developments\dev-repository\org\apache\hadoop\hadoop-yarn-api\2.7.2\hadoop-yarn-api-2.7.2.jar;D:\developments\dev-repository\org\apache\hadoop\hadoop-mapreduce-client-core\2.7.2\hadoop-mapreduce-client-core-2.7.2.jar;D:\developments\dev-repository\org\apache\hadoop\hadoop-yarn-common\2.7.2\hadoop-yarn-common-2.7.2.jar;D:\developments\dev-repository\com\sun\jersey\jersey-client\1.9\jersey-client-1.9.jar;D:\developments\dev-repository\org\apache\hadoop\hadoop-mapreduce-client-jobclient\2.7.2\hadoop-mapreduce-client-jobclient-2.7.2.jar;D:\developments\dev-repository\org\apache\hadoop\hadoop-hdfs\2.7.2\hadoop-hdfs-2.7.2.jar;D:\developments\dev-repository\commons-daemon\commons-daemon\1.0.13\commons-daemon-1.0.13.jar;D:\developments\dev-repository\xerces\xercesImpl\2.9.1\xercesImpl-2.9.1.jar;D:\developments\dev-repository\xml-apis\xml-apis\1.3.04\xml-apis-1.3.04.jar;D:\developments\dev-repository\org\fusesource\leveldbjni\leveldbjni-all\1.8\leveldbjni-all-1.8.jar;D:\developments\dev-repository\junit\junit\4.11\junit-4.11.jar;D:\developments\dev-repository\org\hamcrest\hamcrest-core\1.3\hamcrest-core-1.3.jar com.intellij.rt.junit.JUnitStarter -ideVersion5 -junit4 cn.learn.bigdata.spark.rdd.SparkSQLDemo1,sparkSession
2020-10-05 09:32:55,786 INFO [org.apache.spark.SparkContext] - Running Spark version 2.4.5
2020-10-05 09:32:56,556 INFO [org.apache.spark.SparkContext] - Submitted application: spark-sql-demo
2020-10-05 09:32:56,657 INFO [org.apache.spark.SecurityManager] - Changing view acls to: 思诺,??
2020-10-05 09:32:56,659 INFO [org.apache.spark.SecurityManager] - Changing modify acls to: 思诺,??
2020-10-05 09:32:56,659 INFO [org.apache.spark.SecurityManager] - Changing view acls groups to:
2020-10-05 09:32:56,660 INFO [org.apache.spark.SecurityManager] - Changing modify acls groups to:
2020-10-05 09:32:56,660 INFO [org.apache.spark.SecurityManager] - SecurityManager: authentication disabled; ui acls disabled;users with view permissions: Set(思诺, ??);groups with view permissions: Set();users with modify permissions: Set(思诺, ??);groups with modify permissions: Set()
2020-10-05 09:32:57,882 INFO [org.apache.spark.util.Utils] - Successfully started service'sparkDriver' on port 51074.
2020-10-05 09:32:57,914 INFO [org.apache.spark.SparkEnv] - Registering MapOutputTracker
2020-10-05 09:32:57,934 INFO [org.apache.spark.SparkEnv] - Registering BlockManagerMaster
2020-10-05 09:32:57,939 INFO [org.apache.spark.storage.BlockManagerMasterEndpoint] - Using org.apache.spark.storage.DefaultTopologyMapper for getting topology information
2020-10-05 09:32:57,939 INFO [org.apache.spark.storage.BlockManagerMasterEndpoint] - BlockManagerMasterEndpoint up
2020-10-05 09:32:57,951 INFO [org.apache.spark.storage.DiskBlockManager] - Created local directory at C:\Users\思诺\AppData\Local\Temp\blockmgr-9aeddfe2-30a6-4d08-a411-01447db4d5f7
2020-10-05 09:32:57,978 INFO [org.apache.spark.storage.memory.MemoryStore] - MemoryStore started with capacity 4.1 GB
2020-10-05 09:32:57,991 INFO [org.apache.spark.SparkEnv] - Registering OutputCommitCoordinator
2020-10-05 09:32:58,081 INFO [org.spark_project.jetty.util.log] - Logging initialized @25123ms
2020-10-05 09:32:58,155 INFO [org.spark_project.jetty.server.Server] - jetty-9.3.z-SNAPSHOT, build timestamp: unknown, git hash: unknown
2020-10-05 09:32:58,180 INFO [org.spark_project.jetty.server.Server] - Started @25222ms
2020-10-05 09:32:58,209 INFO [org.spark_project.jetty.server.AbstractConnector] - Started ServerConnector@548e76f1{
HTTP/1.1,[http/1.1]}{
0.0.0.0:4040}
2020-10-05 09:32:58,210 INFO [org.apache.spark.util.Utils] - Successfully started service'SparkUI' on port 4040.
2020-10-05 09:32:58,239 INFO [org.spark_project.jetty.server.handler.ContextHandler] - Started o.s.j.s.ServletContextHandler@60094a13{
/jobs,null,AVAILABLE,@Spark}
2020-10-05 09:32:58,240 INFO [org.spark_project.jetty.server.handler.ContextHandler] - Started o.s.j.s.ServletContextHandler@5922ae77{
/jobs/json,null,AVAILABLE,@Spark}
2020-10-05 09:32:58,241 INFO [org.spark_project.jetty.server.handler.ContextHandler] - Started o.s.j.s.ServletContextHandler@4263b080{
/jobs/job,null,AVAILABLE,@Spark}
2020-10-05 09:32:58,242 INFO [org.spark_project.jetty.server.handler.ContextHandler] - Started o.s.j.s.ServletContextHandler@71f67a79{
/jobs/job/json,null,AVAILABLE,@Spark}
2020-10-05 09:32:58,243 INFO [org.spark_project.jetty.server.handler.ContextHandler] - Started o.s.j.s.ServletContextHandler@3deb2326{
/stages,null,AVAILABLE,@Spark}
2020-10-05 09:32:58,243 INFO [org.spark_project.jetty.server.handler.ContextHandler] - Started o.s.j.s.ServletContextHandler@62d363ab{
/stages/json,null,AVAILABLE,@Spark}
2020-10-05 09:32:58,245 INFO [org.spark_project.jetty.server.handler.ContextHandler] - Started o.s.j.s.ServletContextHandler@7889a1ac{
/stages/stage,null,AVAILABLE,@Spark}
2020-10-05 09:32:58,246 INFO [org.spark_project.jetty.server.handler.ContextHandler] - Started o.s.j.s.ServletContextHandler@27cf3151{
/stages/stage/json,null,AVAILABLE,@Spark}
2020-10-05 09:32:58,247 INFO [org.spark_project.jetty.server.handler.ContextHandler] - Started o.s.j.s.ServletContextHandler@127e70c5{
/stages/pool,null,AVAILABLE,@Spark}
2020-10-05 09:32:58,247 INFO [org.spark_project.jetty.server.handler.ContextHandler] - Started o.s.j.s.ServletContextHandler@5910de75{
/stages/pool/json,null,AVAILABLE,@Spark}
2020-10-05 09:32:58,248 INFO [org.spark_project.jetty.server.handler.ContextHandler] - Started o.s.j.s.ServletContextHandler@4108fa66{
/storage,null,AVAILABLE,@Spark}
2020-10-05 09:32:58,248 INFO [org.spark_project.jetty.server.handler.ContextHandler] - Started o.s.j.s.ServletContextHandler@1f130eaf{
/storage/json,null,AVAILABLE,@Spark}
2020-10-05 09:32:58,248 INFO [org.spark_project.jetty.server.handler.ContextHandler] - Started o.s.j.s.ServletContextHandler@7e0aadd0{
/storage/rdd,null,AVAILABLE,@Spark}
2020-10-05 09:32:58,249 INFO [org.spark_project.jetty.server.handler.ContextHandler] - Started o.s.j.s.ServletContextHandler@21362712{
/storage/rdd/json,null,AVAILABLE,@Spark}
2020-10-05 09:32:58,250 INFO [org.spark_project.jetty.server.handler.ContextHandler] - Started o.s.j.s.ServletContextHandler@27eb3298{
/environment,null,AVAILABLE,@Spark}
2020-10-05 09:32:58,250 INFO [org.spark_project.jetty.server.handler.ContextHandler] - Started o.s.j.s.ServletContextHandler@200a26bc{
/environment/json,null,AVAILABLE,@Spark}
2020-10-05 09:32:58,251 INFO [org.spark_project.jetty.server.handler.ContextHandler] - Started o.s.j.s.ServletContextHandler@bc57b40{
/executors,null,AVAILABLE,@Spark}
2020-10-05 09:32:58,252 INFO [org.spark_project.jetty.server.handler.ContextHandler] - Started o.s.j.s.ServletContextHandler@1b5bc39d{
/executors/json,null,AVAILABLE,@Spark}
2020-10-05 09:32:58,252 INFO [org.spark_project.jetty.server.handler.ContextHandler] - Started o.s.j.s.ServletContextHandler@655a5d9c{
/executors/threadDump,null,AVAILABLE,@Spark}
2020-10-05 09:32:58,253 INFO [org.spark_project.jetty.server.handler.ContextHandler] - Started o.s.j.s.ServletContextHandler@1494b84d{
/executors/threadDump/json,null,AVAILABLE,@Spark}
2020-10-05 09:32:58,263 INFO [org.spark_project.jetty.server.handler.ContextHandler] - Started o.s.j.s.ServletContextHandler@34abdee4{
/static,null,AVAILABLE,@Spark}
2020-10-05 09:32:58,264 INFO [org.spark_project.jetty.server.handler.ContextHandler] - Started o.s.j.s.ServletContextHandler@56b78e55{
/,null,AVAILABLE,@Spark}
2020-10-05 09:32:58,265 INFO [org.spark_project.jetty.server.handler.ContextHandler] - Started o.s.j.s.ServletContextHandler@76318a7d{
/api,null,AVAILABLE,@Spark}
2020-10-05 09:32:58,266 INFO [org.spark_project.jetty.server.handler.ContextHandler] - Started o.s.j.s.ServletContextHandler@22c01ab0{
/jobs/job/kill,null,AVAILABLE,@Spark}
2020-10-05 09:32:58,266 INFO [org.spark_project.jetty.server.handler.ContextHandler] - Started o.s.j.s.ServletContextHandler@411341bd{
/stages/stage/kill,null,AVAILABLE,@Spark}
2020-10-05 09:32:58,270 INFO [org.apache.spark.ui.SparkUI] - Bound SparkUI to 0.0.0.0, and started at http://DESKTOP-75VPDK5:4040
2020-10-05 09:32:58,386 INFO [org.apache.spark.executor.Executor] - Starting executor ID driver on host localhost
2020-10-05 09:32:58,499 INFO [org.apache.spark.util.Utils] - Successfully started service'org.apache.spark.network.netty.NettyBlockTransferService' on port 51117.
2020-10-05 09:32:58,500 INFO [org.apache.spark.network.netty.NettyBlockTransferService] - Server created on DESKTOP-75VPDK5:51117
2020-10-05 09:32:58,503 INFO [org.apache.spark.storage.BlockManager] - Using org.apache.spark.storage.RandomBlockReplicationPolicy for block replication policy
2020-10-05 09:32:58,536 INFO [org.apache.spark.storage.BlockManagerMaster] - Registering BlockManager BlockManagerId(driver, DESKTOP-75VPDK5, 51117, None)
2020-10-05 09:32:58,541 INFO [org.apache.spark.storage.BlockManagerMasterEndpoint] - Registering block manager DESKTOP-75VPDK5:51117 with 4.1 GB RAM, BlockManagerId(driver, DESKTOP-75VPDK5, 51117, None)
2020-10-05 09:32:58,545 INFO [org.apache.spark.storage.BlockManagerMaster] - Registered BlockManager BlockManagerId(driver, DESKTOP-75VPDK5, 51117, None)
2020-10-05 09:32:58,546 INFO [org.apache.spark.storage.BlockManager] - Initialized BlockManager: BlockManagerId(driver, DESKTOP-75VPDK5, 51117, None)
2020-10-05 09:32:58,768 INFO [org.spark_project.jetty.server.handler.ContextHandler] - Started o.s.j.s.ServletContextHandler@c9d82f9{
/metrics/json,null,AVAILABLE,@Spark}java.lang.IllegalArgumentException: Error while instantiating 'org.apache.spark.sql.internal.SessionState':at org.apache.spark.sql.SparkSession$.org$apache$spark$sql$SparkSession$$reflect(SparkSession.scala:981)at org.apache.spark.sql.SparkSession.sessionState$lzycompute(SparkSession.scala:110)at org.apache.spark.sql.SparkSession.sessionState(SparkSession.scala:109)at org.apache.spark.sql.SparkSession$Builder$$anonfun$getOrCreate$5.apply(SparkSession.scala:878)at org.apache.spark.sql.SparkSession$Builder$$anonfun$getOrCreate$5.apply(SparkSession.scala:878)at scala.collection.mutable.HashMap$$anonfun$foreach$1.apply(HashMap.scala:130)at scala.collection.mutable.HashMap$$anonfun$foreach$1.apply(HashMap.scala:130)at scala.collection.mutable.HashTable$class.foreachEntry(HashTable.scala:236)at scala.collection.mutable.HashMap.foreachEntry(HashMap.scala:40)at scala.collection.mutable.HashMap.foreach(HashMap.scala:130)at org.apache.spark.sql.SparkSession$Builder.getOrCreate(SparkSession.scala:878)at cn.learn.bigdata.spark.rdd.SparkSQLDemo1.sparkSession(SparkSQLDemo1.scala:22)at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)at java.lang.reflect.Method.invoke(Method.java:498)at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)at org.junit.runners.ParentRunner.run(ParentRunner.java:309)at org.junit.runner.JUnitCore.run(JUnitCore.java:160)at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)at com.intellij.rt.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:33)at com.intellij.rt.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:230)at com.intellij.rt.junit.JUnitStarter.main(JUnitStarter.java:58)
Caused by: java.lang.reflect.InvocationTargetExceptionat sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)at java.lang.reflect.Constructor.newInstance(Constructor.java:423)at org.apache.spark.sql.SparkSession$.org$apache$spark$sql$SparkSession$$reflect(SparkSession.scala:978)... 33 more
Caused by: java.lang.AbstractMethodErrorat org.apache.spark.internal.Logging$class.initializeLogIfNecessary(Logging.scala:99)at org.apache.spark.sql.internal.SharedState.initializeLogIfNecessary(SharedState.scala:38)at org.apache.spark.internal.Logging$class.log(Logging.scala:46)at org.apache.spark.sql.internal.SharedState.log(SharedState.scala:38)at org.apache.spark.internal.Logging$class.logInfo(Logging.scala:54)at org.apache.spark.sql.internal.SharedState.logInfo(SharedState.scala:38)at org.apache.spark.sql.internal.SharedState.<init>(SharedState.scala:69)at org.apache.spark.sql.SparkSession$$anonfun$sharedState$1.apply(SparkSession.scala:101)at org.apache.spark.sql.SparkSession$$anonfun$sharedState$1.apply(SparkSession.scala:101)at scala.Option.getOrElse(Option.scala:121)at org.apache.spark.sql.SparkSession.sharedState$lzycompute(SparkSession.scala:101)at org.apache.spark.sql.SparkSession.sharedState(SparkSession.scala:100)at org.apache.spark.sql.internal.SessionState.<init>(SessionState.scala:157)... 38 more2020-10-05 09:32:58,913 INFO [org.apache.spark.SparkContext] - Invoking stop() from shutdown hook
2020-10-05 09:32:58,926 INFO [org.spark_project.jetty.server.AbstractConnector] - Stopped Spark@548e76f1{
HTTP/1.1,[http/1.1]}{
0.0.0.0:4040}
2020-10-05 09:32:58,931 INFO [org.apache.spark.ui.SparkUI] - Stopped Spark web UI at http://DESKTOP-75VPDK5:4040
2020-10-05 09:32:58,951 INFO [org.apache.spark.MapOutputTrackerMasterEndpoint] - MapOutputTrackerMasterEndpoint stopped!
2020-10-05 09:32:58,976 INFO [org.apache.spark.storage.memory.MemoryStore] - MemoryStore cleared
2020-10-05 09:32:58,978 INFO [org.apache.spark.storage.BlockManager] - BlockManager stopped
2020-10-05 09:32:58,993 INFO [org.apache.spark.storage.BlockManagerMaster] - BlockManagerMaster stopped
2020-10-05 09:32:59,008 INFO [org.apache.spark.scheduler.OutputCommitCoordinator$OutputCommitCoordinatorEndpoint] - OutputCommitCoordinator stopped!
2020-10-05 09:32:59,083 INFO [org.apache.spark.SparkContext] - Successfully stopped SparkContext
2020-10-05 09:32:59,084 INFO [org.apache.spark.util.ShutdownHookManager] - Shutdown hook called
2020-10-05 09:32:59,086 INFO [org.apache.spark.util.ShutdownHookManager] - Deleting directory C:\Users\思诺\AppData\Local\Temp\spark-8fe86da3-3fb7-4c6e-9dde-48628ddf7412Process finished with exit code -1