Exception in thread "main" java.lang.ClassNotFoundException: java.lang.NoClassDefFoundError: org/apache/hadoop/fs/CanUnbuffer when creating Hive client using classpath: file:/E:/development/Java/jre/lib/charsets.jar, file:/E:/development/Java/jre/lib/deploy.jar, file:/E:/development/Java/jre/lib/ext/access-bridge-64.jar, file:/E:/development/Java/jre/lib/ext/cldrdata.jar, file:/E:/development/Java/jre/lib/ext/dnsns.jar, file:/E:/development/Java/jre/lib/ext/jaccess.jar, file:/E:/development/Java/jre/lib/ext/jfxrt.jar, file:/E:/development/Java/jre/lib/ext/localedata.jar, file:/E:/development/Java/jre/lib/ext/nashorn.jar, file:/E:/development/Java/jre/lib/ext/sunec.jar, file:/E:/development/Java/jre/lib/ext/sunjce_provider.jar, file:/E:/development/Java/jre/lib/ext/sunmscapi.jar, file:/E:/development/Java/jre/lib/ext/sunpkcs11.jar, file:/E:/development/Java/jre/lib/ext/zipfs.jar, file:/E:/development/Java/jre/lib/javaws.jar, file:/E:/development/Java/jre/lib/jce.jar, file:/E:/development/Java/jre/lib/jfr.jar, file:/E:/development/Java/jre/lib/jfxswt.jar, file:/E:/development/Java/jre/lib/jsse.jar, file:/E:/development/Java/jre/lib/management-agent.jar, file:/E:/development/Java/jre/lib/plugin.jar, file:/E:/development/Java/jre/lib/resources.jar, file:/E:/development/Java/jre/lib/rt.jar, file:/D:/Development/comtmtest/target/classes/, file:/C:/Users/10752/Desktop/hive-hbase-handler-1.1.0-cdh5.13.3.jar, file:/E:/Program%20Files/maven/conf/repository/org/apache/spark/spark-core_2.11/2.3.1/spark-core_2.11-2.3.1.jar, file:/E:/Program%20Files/maven/conf/repository/org/apache/avro/avro/1.7.7/avro-1.7.7.jar, file:/E:/Program%20Files/maven/conf/repository/com/thoughtworks/paranamer/paranamer/2.3/paranamer-2.3.jar, file:/E:/Program%20Files/maven/conf/repository/org/apache/commons/commons-compress/1.4.1/commons-compress-1.4.1.jar, file:/E:/Program%20Files/maven/conf/repository/org/tukaani/xz/1.0/xz-1.0.jar, file:/E:/Program%20Files/maven/conf/repository/org/apache/avro/avro-mapred/1.7.7/avro-mapred-1.7.7-hadoop2.jar, file:/E:/Program%20Files/maven/conf/repository/org/apache/avro/avro-ipc/1.7.7/avro-ipc-1.7.7.jar, file:/E:/Program%20Files/maven/conf/repository/org/apache/avro/avro-ipc/1.7.7/avro-ipc-1.7.7-tests.jar, file:/E:/Program%20Files/maven/conf/repository/com/twitter/chill_2.11/0.8.4/chill_2.11-0.8.4.jar, file:/E:/Program%20Files/maven/conf/repository/com/esotericsoftware/kryo-shaded/3.0.3/kryo-shaded-3.0.3.jar, file:/E:/Program%20Files/maven/conf/repository/com/esotericsoftware/minlog/1.3.0/minlog-1.3.0.jar, file:/E:/Program%20Files/maven/conf/repository/org/objenesis/objenesis/2.1/objenesis-2.1.jar, file:/E:/Program%20Files/maven/conf/repository/com/twitter/chill-java/0.8.4/chill-java-0.8.4.jar, file:/E:/Program%20Files/maven/conf/repository/org/apache/xbean/xbean-asm5-shaded/4.4/xbean-asm5-shaded-4.4.jar, file:/E:/Program%20Files/maven/conf/repository/org/apache/hadoop/hadoop-client/2.6.5/hadoop-client-2.6.5.jar, file:/E:/Program%20Files/maven/conf/repository/org/apache/hadoop/hadoop-mapreduce-client-app/2.6.5/hadoop-mapreduce-client-app-2.6.5.jar, file:/E:/Program%20Files/maven/conf/repository/org/apache/hadoop/hadoop-mapreduce-client-common/2.6.5/hadoop-mapreduce-client-common-2.6.5.jar, file:/E:/Program%20Files/maven/conf/repository/org/apache/hadoop/hadoop-yarn-client/2.6.5/hadoop-yarn-client-2.6.5.jar, file:/E:/Program%20Files/maven/conf/repository/org/apache/hadoop/hadoop-yarn-server-common/2.6.5/hadoop-yarn-server-common-2.6.5.jar, file:/E:/Program%20Files/maven/conf/repository/org/apache/hadoop/hadoop-mapreduce-client-shuffle/2.6.5/hadoop-mapreduce-client-shuffle-2.6.5.jar, file:/E:/Program%20Files/maven/conf/repository/org/apache/hadoop/hadoop-yarn-api/2.6.5/hadoop-yarn-api-2.6.5.jar, file:/E:/Program%20Files/maven/conf/repository/org/apache/hadoop/hadoop-mapreduce-client-jobclient/2.6.5/hadoop-mapreduce-client-jobclient-2.6.5.jar, file:/E:/Program%20Files/maven/conf/repository/org/apache/hadoop/hadoop-annotations/2.6.5/hadoop-annotations-2.6.5.jar, file:/E:/Program%20Files/maven/conf/repository/org/apache/spark/spark-launcher_2.11/2.3.1/spark-launcher_2.11-2.3.1.jar, file:/E:/Program%20Files/maven/conf/repository/org/apache/spark/spark-kvstore_2.11/2.3.1/spark-kvstore_2.11-2.3.1.jar, file:/E:/Program%20Files/maven/conf/repository/org/fusesource/leveldbjni/leveldbjni-all/1.8/leveldbjni-all-1.8.jar, file:/E:/Program%20Files/maven/conf/repository/com/fasterxml/jackson/core/jackson-core/2.6.7/jackson-core-2.6.7.jar, file:/E:/Program%20Files/maven/conf/repository/com/fasterxml/jackson/core/jackson-annotations/2.6.7/jackson-annotations-2.6.7.jar, file:/E:/Program%20Files/maven/conf/repository/org/apache/spark/spark-network-common_2.11/2.3.1/spark-network-common_2.11-2.3.1.jar, file:/E:/Program%20Files/maven/conf/repository/org/apache/spark/spark-network-shuffle_2.11/2.3.1/spark-network-shuffle_2.11-2.3.1.jar, file:/E:/Program%20Files/maven/conf/repository/org/apache/spark/spark-unsafe_2.11/2.3.1/spark-unsafe_2.11-2.3.1.jar, file:/E:/Program%20Files/maven/conf/repository/net/java/dev/jets3t/jets3t/0.9.4/jets3t-0.9.4.jar, file:/E:/Program%20Files/maven/conf/repository/javax/activation/activation/1.1.1/activation-1.1.1.jar, file:/E:/Program%20Files/maven/conf/repository/org/bouncycastle/bcprov-jdk15on/1.52/bcprov-jdk15on-1.52.jar, file:/E:/Program%20Files/maven/conf/repository/com/jamesmurty/utils/java-xmlbuilder/1.1/java-xmlbuilder-1.1.jar, file:/E:/Program%20Files/maven/conf/repository/net/iharder/base64/2.3.8/base64-2.3.8.jar, file:/E:/Program%20Files/maven/conf/repository/org/apache/curator/curator-recipes/2.6.0/curator-recipes-2.6.0.jar, file:/E:/Program%20Files/maven/conf/repository/org/apache/curator/curator-framework/2.6.0/curator-framework-2.6.0.jar, file:/E:/Program%20Files/maven/conf/repository/org/apache/curator/curator-client/2.6.0/curator-client-2.6.0.jar, file:/E:/Program%20Files/maven/conf/repository/javax/servlet/javax.servlet-api/3.1.0/javax.servlet-api-3.1.0.jar, file:/E:/Program%20Files/maven/conf/repository/org/apache/commons/commons-lang3/3.5/commons-lang3-3.5.jar, file:/E:/Program%20Files/maven/conf/repository/org/apache/commons/commons-math3/3.4.1/commons-math3-3.4.1.jar, file:/E:/Program%20Files/maven/conf/repository/com/google/code/findbugs/jsr305/1.3.9/jsr305-1.3.9.jar, file:/E:/Program%20Files/maven/conf/repository/org/slf4j/slf4j-api/1.7.16/slf4j-api-1.7.16.jar, file:/E:/Program%20Files/maven/conf/repository/org/slf4j/jul-to-slf4j/1.7.16/jul-to-slf4j-1.7.16.jar, file:/E:/Program%20Files/maven/conf/repository/org/slf4j/jcl-over-slf4j/1.7.16/jcl-over-slf4j-1.7.16.jar, file:/E:/Program%20Files/maven/conf/repository/log4j/log4j/1.2.17/log4j-1.2.17.jar, file:/E:/Program%20Files/maven/conf/repository/org/slf4j/slf4j-log4j12/1.7.16/slf4j-log4j12-1.7.16.jar, file:/E:/Program%20Files/maven/conf/repository/com/ning/compress-lzf/1.0.3/compress-lzf-1.0.3.jar, file:/E:/Program%20Files/maven/conf/repository/org/xerial/snappy/snappy-java/1.1.2.6/snappy-java-1.1.2.6.jar, file:/E:/Program%20Files/maven/conf/repository/org/lz4/lz4-java/1.4.0/lz4-java-1.4.0.jar, file:/E:/Program%20Files/maven/conf/repository/com/github/luben/zstd-jni/1.3.2-2/zstd-jni-1.3.2-2.jar, file:/E:/Program%20Files/maven/conf/repository/org/roaringbitmap/RoaringBitmap/0.5.11/RoaringBitmap-0.5.11.jar, file:/E:/Program%20Files/maven/conf/repository/commons-net/commons-net/2.2/commons-net-2.2.jar, file:/E:/Program%20Files/maven/conf/repository/org/json4s/json4s-jackson_2.11/3.2.11/json4s-jackson_2.11-3.2.11.jar, file:/E:/Program%20Files/maven/conf/repository/org/json4s/json4s-core_2.11/3.2.11/json4s-core_2.11-3.2.11.jar, file:/E:/Program%20Files/maven/conf/repository/org/json4s/json4s-ast_2.11/3.2.11/json4s-ast_2.11-3.2.11.jar, file:/E:/Program%20Files/maven/conf/repository/org/scala-lang/scalap/2.11.0/scalap-2.11.0.jar, file:/E:/Program%20Files/maven/conf/repository/org/scala-lang/scala-compiler/2.11.0/scala-compiler-2.11.0.jar, file:/E:/Program%20Files/maven/conf/repository/org/scala-lang/modules/scala-xml_2.11/1.0.1/scala-xml_2.11-1.0.1.jar, file:/E:/Program%20Files/maven/conf/repository/org/glassfish/jersey/core/jersey-client/2.22.2/jersey-client-2.22.2.jar, file:/E:/Program%20Files/maven/conf/repository/javax/ws/rs/javax.ws.rs-api/2.0.1/javax.ws.rs-api-2.0.1.jar, file:/E:/Program%20Files/maven/conf/repository/org/glassfish/hk2/hk2-api/2.4.0-b34/hk2-api-2.4.0-b34.jar, file:/E:/Program%20Files/maven/conf/repository/org/glassfish/hk2/hk2-utils/2.4.0-b34/hk2-utils-2.4.0-b34.jar, file:/E:/Program%20Files/maven/conf/repository/org/glassfish/hk2/external/aopalliance-repackaged/2.4.0-b34/aopalliance-repackaged-2.4.0-b34.jar, file:/E:/Program%20Files/maven/conf/repository/org/glassfish/hk2/external/javax.inject/2.4.0-b34/javax.inject-2.4.0-b34.jar, file:/E:/Program%20Files/maven/conf/repository/org/glassfish/hk2/hk2-locator/2.4.0-b34/hk2-locator-2.4.0-b34.jar, file:/E:/Program%20Files/maven/conf/repository/org/javassist/javassist/3.18.1-GA/javassist-3.18.1-GA.jar, file:/E:/Program%20Files/maven/conf/repository/org/glassfish/jersey/core/jersey-common/2.22.2/jersey-common-2.22.2.jar, file:/E:/Program%20Files/maven/conf/repository/javax/annotation/javax.annotation-api/1.2/javax.annotation-api-1.2.jar, file:/E:/Program%20Files/maven/conf/repository/org/glassfish/jersey/bundles/repackaged/jersey-guava/2.22.2/jersey-guava-2.22.2.jar, file:/E:/Program%20Files/maven/conf/repository/org/glassfish/hk2/osgi-resource-locator/1.0.1/osgi-resource-locator-1.0.1.jar, file:/E:/Program%20Files/maven/conf/repository/org/glassfish/jersey/core/jersey-server/2.22.2/jersey-server-2.22.2.jar, file:/E:/Program%20Files/maven/conf/repository/org/glassfish/jersey/media/jersey-media-jaxb/2.22.2/jersey-media-jaxb-2.22.2.jar, file:/E:/Program%20Files/maven/conf/repository/javax/validation/validation-api/1.1.0.Final/validation-api-1.1.0.Final.jar, file:/E:/Program%20Files/maven/conf/repository/org/glassfish/jersey/containers/jersey-container-servlet/2.22.2/jersey-container-servlet-2.22.2.jar, file:/E:/Program%20Files/maven/conf/repository/org/glassfish/jersey/containers/jersey-container-servlet-core/2.22.2/jersey-container-servlet-core-2.22.2.jar, file:/E:/Program%20Files/maven/conf/repository/io/netty/netty-all/4.1.17.Final/netty-all-4.1.17.Final.jar, file:/E:/Program%20Files/maven/conf/repository/io/netty/netty/3.9.9.Final/netty-3.9.9.Final.jar, file:/E:/Program%20Files/maven/conf/repository/com/clearspring/analytics/stream/2.7.0/stream-2.7.0.jar, file:/E:/Program%20Files/maven/conf/repository/io/dropwizard/metrics/metrics-core/3.1.5/metrics-core-3.1.5.jar, file:/E:/Program%20Files/maven/conf/repository/io/dropwizard/metrics/metrics-jvm/3.1.5/metrics-jvm-3.1.5.jar, file:/E:/Program%20Files/maven/conf/repository/io/dropwizard/metrics/metrics-json/3.1.5/metrics-json-3.1.5.jar, file:/E:/Program%20Files/maven/conf/repository/io/dropwizard/metrics/metrics-graphite/3.1.5/metrics-graphite-3.1.5.jar, file:/E:/Program%20Files/maven/conf/repository/com/fasterxml/jackson/core/jackson-databind/2.6.7.1/jackson-databind-2.6.7.1.jar, file:/E:/Program%20Files/maven/conf/repository/com/fasterxml/jackson/module/jackson-module-scala_2.11/2.6.7.1/jackson-module-scala_2.11-2.6.7.1.jar, file:/E:/Program%20Files/maven/conf/repository/org/scala-lang/scala-reflect/2.11.8/scala-reflect-2.11.8.jar, file:/E:/Program%20Files/maven/conf/repository/com/fasterxml/jackson/module/jackson-module-paranamer/2.7.9/jackson-module-paranamer-2.7.9.jar, file:/E:/Program%20Files/maven/conf/repository/org/apache/ivy/ivy/2.4.0/ivy-2.4.0.jar, file:/E:/Program%20Files/maven/conf/repository/oro/oro/2.0.8/oro-2.0.8.jar, file:/E:/Program%20Files/maven/conf/repository/net/razorvine/pyrolite/4.13/pyrolite-4.13.jar, file:/E:/Program%20Files/maven/conf/repository/net/sf/py4j/py4j/0.10.7/py4j-0.10.7.jar, file:/E:/Program%20Files/maven/conf/repository/org/apache/spark/spark-tags_2.11/2.3.1/spark-tags_2.11-2.3.1.jar, file:/E:/Program%20Files/maven/conf/repository/org/apache/commons/commons-crypto/1.0.0/commons-crypto-1.0.0.jar, file:/E:/Program%20Files/maven/conf/repository/org/spark-project/spark/unused/1.0.0/unused-1.0.0.jar, file:/E:/Program%20Files/maven/conf/repository/org/apache/spark/spark-streaming_2.11/2.3.1/spark-streaming_2.11-2.3.1.jar, file:/E:/Program%20Files/maven/conf/repository/org/apache/spark/spark-sql_2.11/2.3.1/spark-sql_2.11-2.3.1.jar, file:/E:/Program%20Files/maven/conf/repository/com/univocity/univocity-parsers/2.5.9/univocity-parsers-2.5.9.jar, file:/E:/Program%20Files/maven/conf/repository/org/apache/spark/spark-sketch_2.11/2.3.1/spark-sketch_2.11-2.3.1.jar, file:/E:/Program%20Files/maven/conf/repository/org/apache/spark/spark-catalyst_2.11/2.3.1/spark-catalyst_2.11-2.3.1.jar, file:/E:/Program%20Files/maven/conf/repository/org/scala-lang/modules/scala-parser-combinators_2.11/1.0.4/scala-parser-combinators_2.11-1.0.4.jar, file:/E:/Program%20Files/maven/conf/repository/org/codehaus/janino/janino/3.0.8/janino-3.0.8.jar, file:/E:/Program%20Files/maven/conf/repository/org/codehaus/janino/commons-compiler/3.0.8/commons-compiler-3.0.8.jar, file:/E:/Program%20Files/maven/conf/repository/org/antlr/antlr4-runtime/4.7/antlr4-runtime-4.7.jar, file:/E:/Program%20Files/maven/conf/repository/org/apache/orc/orc-core/1.4.4/orc-core-1.4.4-nohive.jar, file:/E:/Program%20Files/maven/conf/repository/io/airlift/aircompressor/0.8/aircompressor-0.8.jar, file:/E:/Program%20Files/maven/conf/repository/org/apache/orc/orc-mapreduce/1.4.4/orc-mapreduce-1.4.4-nohive.jar, file:/E:/Program%20Files/maven/conf/repository/org/apache/parquet/parquet-column/1.8.3/parquet-column-1.8.3.jar, file:/E:/Program%20Files/maven/conf/repository/org/apache/parquet/parquet-common/1.8.3/parquet-common-1.8.3.jar, file:/E:/Program%20Files/maven/conf/repository/org/apache/parquet/parquet-encoding/1.8.3/parquet-encoding-1.8.3.jar, file:/E:/Program%20Files/maven/conf/repository/org/apache/parquet/parquet-hadoop/1.8.3/parquet-hadoop-1.8.3.jar, file:/E:/Program%20Files/maven/conf/repository/org/apache/parquet/parquet-format/2.3.1/parquet-format-2.3.1.jar, file:/E:/Program%20Files/maven/conf/repository/org/apache/parquet/parquet-jackson/1.8.3/parquet-jackson-1.8.3.jar, file:/E:/Program%20Files/maven/conf/repository/org/apache/arrow/arrow-vector/0.8.0/arrow-vector-0.8.0.jar, file:/E:/Program%20Files/maven/conf/repository/org/apache/arrow/arrow-format/0.8.0/arrow-format-0.8.0.jar, file:/E:/Program%20Files/maven/conf/repository/org/apache/arrow/arrow-memory/0.8.0/arrow-memory-0.8.0.jar, file:/E:/Program%20Files/maven/conf/repository/com/carrotsearch/hppc/0.7.2/hppc-0.7.2.jar, file:/E:/Program%20Files/maven/conf/repository/com/vlkan/flatbuffers/1.2.0-3f79e055/flatbuffers-1.2.0-3f79e055.jar, file:/E:/Program%20Files/maven/conf/repository/org/apache/hbase/hbase-client/1.2.4/hbase-client-1.2.4.jar, file:/E:/Program%20Files/maven/conf/repository/org/apache/hbase/hbase-annotations/1.2.4/hbase-annotations-1.2.4.jar, file:/E:/Program%20Files/maven/conf/repository/org/apache/hbase/hbase-protocol/1.2.4/hbase-protocol-1.2.4.jar, file:/E:/Program%20Files/maven/conf/repository/commons-codec/commons-codec/1.9/commons-codec-1.9.jar, file:/E:/Program%20Files/maven/conf/repository/commons-io/commons-io/2.4/commons-io-2.4.jar, file:/E:/Program%20Files/maven/conf/repository/commons-lang/commons-lang/2.6/commons-lang-2.6.jar, file:/E:/Program%20Files/maven/conf/repository/commons-logging/commons-logging/1.2/commons-logging-1.2.jar, file:/E:/Program%20Files/maven/conf/repository/com/google/guava/guava/12.0.1/guava-12.0.1.jar, file:/E:/Program%20Files/maven/conf/repository/com/google/protobuf/protobuf-java/2.5.0/protobuf-java-2.5.0.jar, file:/E:/Program%20Files/maven/conf/repository/org/apache/zookeeper/zookeeper/3.4.6/zookeeper-3.4.6.jar, file:/E:/Program%20Files/maven/conf/repository/org/apache/htrace/htrace-core/3.1.0-incubating/htrace-core-3.1.0-incubating.jar, file:/E:/Program%20Files/maven/conf/repository/org/codehaus/jackson/jackson-mapper-asl/1.9.13/jackson-mapper-asl-1.9.13.jar, file:/E:/Program%20Files/maven/conf/repository/org/jruby/jcodings/jcodings/1.0.8/jcodings-1.0.8.jar, file:/E:/Program%20Files/maven/conf/repository/org/jruby/joni/joni/2.1.2/joni-2.1.2.jar, file:/E:/Program%20Files/maven/conf/repository/com/yammer/metrics/metrics-core/2.2.0/metrics-core-2.2.0.jar, file:/E:/Program%20Files/maven/conf/repository/org/apache/hadoop/hadoop-auth/2.5.1/hadoop-auth-2.5.1.jar, file:/E:/Program%20Files/maven/conf/repository/org/apache/directory/server/apacheds-kerberos-codec/2.0.0-M15/apacheds-kerberos-codec-2.0.0-M15.jar, file:/E:/Program%20Files/maven/conf/repository/org/apache/directory/server/apacheds-i18n/2.0.0-M15/apacheds-i18n-2.0.0-M15.jar, file:/E:/Program%20Files/maven/conf/repository/org/apache/directory/api/api-asn1-api/1.0.0-M20/api-asn1-api-1.0.0-M20.jar, file:/E:/Program%20Files/maven/conf/repository/org/apache/directory/api/api-util/1.0.0-M20/api-util-1.0.0-M20.jar, file:/E:/Program%20Files/maven/conf/repository/org/apache/hadoop/hadoop-common/2.5.1/hadoop-common-2.5.1.jar, file:/E:/Program%20Files/maven/conf/repository/xmlenc/xmlenc/0.52/xmlenc-0.52.jar, file:/E:/Program%20Files/maven/conf/repository/commons-el/commons-el/1.0/commons-el-1.0.jar, file:/E:/Program%20Files/maven/conf/repository/commons-configuration/commons-configuration/1.6/commons-configuration-1.6.jar, file:/E:/Program%20Files/maven/conf/repository/commons-digester/commons-digester/1.8/commons-digester-1.8.jar, file:/E:/Program%20Files/maven/conf/repository/commons-beanutils/commons-beanutils/1.7.0/commons-beanutils-1.7.0.jar, file:/E:/Program%20Files/maven/conf/repository/commons-beanutils/commons-beanutils-core/1.8.0/commons-beanutils-core-1.8.0.jar, file:/E:/Program%20Files/maven/conf/repository/com/jcraft/jsch/0.1.42/jsch-0.1.42.jar, file:/E:/Program%20Files/maven/conf/repository/org/apache/hadoop/hadoop-mapreduce-client-core/2.5.1/hadoop-mapreduce-client-core-2.5.1.jar, file:/E:/Program%20Files/maven/conf/repository/org/apache/hadoop/hadoop-yarn-common/2.5.1/hadoop-yarn-common-2.5.1.jar, file:/E:/Program%20Files/maven/conf/repository/javax/xml/bind/jaxb-api/2.2.2/jaxb-api-2.2.2.jar, file:/E:/Program%20Files/maven/conf/repository/javax/xml/stream/stax-api/1.0-2/stax-api-1.0-2.jar, file:/E:/Program%20Files/maven/conf/repository/org/apache/hbase/hbase-server/1.4.2/hbase-server-1.4.2.jar, file:/E:/Program%20Files/maven/conf/repository/org/apache/hbase/hbase-procedure/1.4.2/hbase-procedure-1.4.2.jar, file:/E:/Program%20Files/maven/conf/repository/org/apache/hbase/hbase-common/1.4.2/hbase-common-1.4.2-tests.jar, file:/E:/Program%20Files/maven/conf/repository/org/apache/hbase/hbase-prefix-tree/1.4.2/hbase-prefix-tree-1.4.2.jar, file:/E:/Program%20Files/maven/conf/repository/org/apache/hbase/hbase-metrics-api/1.4.2/hbase-metrics-api-1.4.2.jar, file:/E:/Program%20Files/maven/conf/repository/org/apache/hbase/hbase-metrics/1.4.2/hbase-metrics-1.4.2.jar, file:/E:/Program%20Files/maven/conf/repository/commons-httpclient/commons-httpclient/3.1/commons-httpclient-3.1.jar, file:/E:/Program%20Files/maven/conf/repository/commons-collections/commons-collections/3.2.2/commons-collections-3.2.2.jar, file:/E:/Program%20Files/maven/conf/repository/org/apache/hbase/hbase-hadoop-compat/1.4.2/hbase-hadoop-compat-1.4.2.jar, file:/E:/Program%20Files/maven/conf/repository/org/apache/hbase/hbase-hadoop2-compat/1.4.2/hbase-hadoop2-compat-1.4.2.jar, file:/E:/Program%20Files/maven/conf/repository/com/sun/jersey/jersey-core/1.9/jersey-core-1.9.jar, file:/E:/Program%20Files/maven/conf/repository/com/sun/jersey/jersey-server/1.9/jersey-server-1.9.jar, file:/E:/Program%20Files/maven/conf/repository/asm/asm/3.1/asm-3.1.jar, file:/E:/Program%20Files/maven/conf/repository/commons-cli/commons-cli/1.2/commons-cli-1.2.jar, file:/E:/Program%20Files/maven/conf/repository/org/apache/commons/commons-math/2.2/commons-math-2.2.jar, file:/E:/Program%20Files/maven/conf/repository/org/mortbay/jetty/jetty/6.1.26/jetty-6.1.26.jar, file:/E:/Program%20Files/maven/conf/repository/org/mortbay/jetty/jetty-util/6.1.26/jetty-util-6.1.26.jar, file:/E:/Program%20Files/maven/conf/repository/org/mortbay/jetty/jetty-sslengine/6.1.26/jetty-sslengine-6.1.26.jar, file:/E:/Program%20Files/maven/conf/repository/org/mortbay/jetty/jsp-2.1/6.1.14/jsp-2.1-6.1.14.jar, file:/E:/Program%20Files/maven/conf/repository/org/mortbay/jetty/jsp-api-2.1/6.1.14/jsp-api-2.1-6.1.14.jar, file:/E:/Program%20Files/maven/conf/repository/org/mortbay/jetty/servlet-api-2.5/6.1.14/servlet-api-2.5-6.1.14.jar, file:/E:/Program%20Files/maven/conf/repository/org/codehaus/jackson/jackson-core-asl/1.9.13/jackson-core-asl-1.9.13.jar, file:/E:/Program%20Files/maven/conf/repository/org/codehaus/jackson/jackson-jaxrs/1.9.13/jackson-jaxrs-1.9.13.jar, file:/E:/Program%20Files/maven/conf/repository/tomcat/jasper-compiler/5.5.23/jasper-compiler-5.5.23.jar, file:/E:/Program%20Files/maven/conf/repository/tomcat/jasper-runtime/5.5.23/jasper-runtime-5.5.23.jar, file:/E:/Program%20Files/maven/conf/repository/org/jamon/jamon-runtime/2.4.1/jamon-runtime-2.4.1.jar, file:/E:/Program%20Files/maven/conf/repository/com/lmax/disruptor/3.3.0/disruptor-3.3.0.jar, file:/E:/Program%20Files/maven/conf/repository/org/apache/httpcomponents/httpclient/4.5.2/httpclient-4.5.2.jar, file:/E:/Program%20Files/maven/conf/repository/org/apache/httpcomponents/httpcore/4.4.4/httpcore-4.4.4.jar, file:/E:/Program%20Files/maven/conf/repository/org/apache/hadoop/hadoop-hdfs/2.7.4/hadoop-hdfs-2.7.4.jar, file:/E:/Program%20Files/maven/conf/repository/commons-daemon/commons-daemon/1.0.13/commons-daemon-1.0.13.jar, file:/E:/Program%20Files/maven/conf/repository/org/apache/hbase/hbase-common/1.4.2/hbase-common-1.4.2.jar, file:/E:/Program%20Files/maven/conf/repository/com/github/stephenc/findbugs/findbugs-annotations/1.3.9-1/findbugs-annotations-1.3.9-1.jar, file:/E:/Program%20Files/maven/conf/repository/org/apache/spark/spark-sql-kafka-0-10_2.11/2.3.1/spark-sql-kafka-0-10_2.11-2.3.1.jar, file:/E:/Program%20Files/maven/conf/repository/org/apache/kafka/kafka-clients/0.10.0.1/kafka-clients-0.10.0.1.jar, file:/E:/Program%20Files/maven/conf/repository/net/jpountz/lz4/lz4/1.3.0/lz4-1.3.0.jar, file:/E:/Program%20Files/maven/conf/repository/org/apache/spark/spark-hive_2.11/2.3.1/spark-hive_2.11-2.3.1.jar, file:/E:/Program%20Files/maven/conf/repository/com/twitter/parquet-hadoop-bundle/1.6.0/parquet-hadoop-bundle-1.6.0.jar, file:/E:/Program%20Files/maven/conf/repository/org/spark-project/hive/hive-exec/1.2.1.spark2/hive-exec-1.2.1.spark2.jar, file:/E:/Program%20Files/maven/conf/repository/javolution/javolution/5.5.1/javolution-5.5.1.jar, file:/E:/Program%20Files/maven/conf/repository/log4j/apache-log4j-extras/1.2.17/apache-log4j-extras-1.2.17.jar, file:/E:/Program%20Files/maven/conf/repository/org/antlr/antlr-runtime/3.4/antlr-runtime-3.4.jar, file:/E:/Program%20Files/maven/conf/repository/org/antlr/stringtemplate/3.2.1/stringtemplate-3.2.1.jar, file:/E:/Program%20Files/maven/conf/repository/antlr/antlr/2.7.7/antlr-2.7.7.jar, file:/E:/Program%20Files/maven/conf/repository/org/antlr/ST4/4.0.4/ST4-4.0.4.jar, file:/E:/Program%20Files/maven/conf/repository/com/googlecode/javaewah/JavaEWAH/0.3.2/JavaEWAH-0.3.2.jar, file:/E:/Program%20Files/maven/conf/repository/org/iq80/snappy/snappy/0.2/snappy-0.2.jar, file:/E:/Program%20Files/maven/conf/repository/stax/stax-api/1.0.1/stax-api-1.0.1.jar, file:/E:/Program%20Files/maven/conf/repository/net/sf/opencsv/opencsv/2.3/opencsv-2.3.jar, file:/E:/Program%20Files/maven/conf/repository/org/spark-project/hive/hive-metastore/1.2.1.spark2/hive-metastore-1.2.1.spark2.jar, file:/E:/Program%20Files/maven/conf/repository/com/jolbox/bonecp/0.8.0.RELEASE/bonecp-0.8.0.RELEASE.jar, file:/E:/Program%20Files/maven/conf/repository/org/datanucleus/datanucleus-api-jdo/3.2.6/datanucleus-api-jdo-3.2.6.jar, file:/E:/Program%20Files/maven/conf/repository/org/datanucleus/datanucleus-rdbms/3.2.9/datanucleus-rdbms-3.2.9.jar, file:/E:/Program%20Files/maven/conf/repository/commons-pool/commons-pool/1.5.4/commons-pool-1.5.4.jar, file:/E:/Program%20Files/maven/conf/repository/commons-dbcp/commons-dbcp/1.4/commons-dbcp-1.4.jar, file:/E:/Program%20Files/maven/conf/repository/javax/jdo/jdo-api/3.0.1/jdo-api-3.0.1.jar, file:/E:/Program%20Files/maven/conf/repository/javax/transaction/jta/1.1/jta-1.1.jar, file:/E:/Program%20Files/maven/conf/repository/org/apache/calcite/calcite-avatica/1.2.0-incubating/calcite-avatica-1.2.0-incubating.jar, file:/E:/Program%20Files/maven/conf/repository/org/apache/calcite/calcite-core/1.2.0-incubating/calcite-core-1.2.0-incubating.jar, file:/E:/Program%20Files/maven/conf/repository/org/apache/calcite/calcite-linq4j/1.2.0-incubating/calcite-linq4j-1.2.0-incubating.jar, file:/E:/Program%20Files/maven/conf/repository/net/hydromatic/eigenbase-properties/1.1.5/eigenbase-properties-1.1.5.jar, file:/E:/Program%20Files/maven/conf/repository/joda-time/joda-time/2.9.3/joda-time-2.9.3.jar, file:/E:/Program%20Files/maven/conf/repository/org/jodd/jodd-core/3.5.2/jodd-core-3.5.2.jar, file:/E:/Program%20Files/maven/conf/repository/org/datanucleus/datanucleus-core/3.2.10/datanucleus-core-3.2.10.jar, file:/E:/Program%20Files/maven/conf/repository/org/apache/thrift/libthrift/0.9.3/libthrift-0.9.3.jar, file:/E:/Program%20Files/maven/conf/repository/org/apache/thrift/libfb303/0.9.3/libfb303-0.9.3.jar, file:/E:/Program%20Files/maven/conf/repository/org/apache/derby/derby/10.12.1.1/derby-10.12.1.1.jar, file:/E:/Program%20Files/maven/conf/repository/org/scala-lang/scala-library/2.11.8/scala-library-2.11.8.jar, file:/E:/Program%20Files/idea/IntelliJ%20IDEA%202018.1.5/lib/idea_rt.jar, file:/E:/development/Java/jre/lib/ext/access-bridge-64.jar, file:/E:/development/Java/jre/lib/ext/cldrdata.jar, file:/E:/development/Java/jre/lib/ext/dnsns.jar, file:/E:/development/Java/jre/lib/ext/jaccess.jar, file:/E:/development/Java/jre/lib/ext/jfxrt.jar, file:/E:/development/Java/jre/lib/ext/localedata.jar, file:/E:/development/Java/jre/lib/ext/nashorn.jar, file:/E:/development/Java/jre/lib/ext/sunec.jar, file:/E:/development/Java/jre/lib/ext/sunjce_provider.jar, file:/E:/development/Java/jre/lib/ext/sunmscapi.jar, file:/E:/development/Java/jre/lib/ext/sunpkcs11.jar, file:/E:/development/Java/jre/lib/ext/zipfs.jar
Please make sure that jars for your version of hive and hadoop are included in the paths passed to spark.sql.hive.metastore.jars.
at org.apache.spark.sql.hive.client.IsolatedClientLoader.createClient(IsolatedClientLoader.scala:270)
at org.apache.spark.sql.hive.HiveUtils$.newClientForMetadata(HiveUtils.scala:385)
at org.apache.spark.sql.hive.HiveUtils$.newClientForMetadata(HiveUtils.scala:287)
at org.apache.spark.sql.hive.HiveExternalCatalog.client$lzycompute(HiveExternalCatalog.scala:66)
at org.apache.spark.sql.hive.HiveExternalCatalog.client(HiveExternalCatalog.scala:65)
at org.apache.spark.sql.hive.HiveExternalCatalog$$anonfun$databaseExists$1.apply$mcZ$sp(HiveExternalCatalog.scala:195)
at org.apache.spark.sql.hive.HiveExternalCatalog$$anonfun$databaseExists$1.apply(HiveExternalCatalog.scala:195)
at org.apache.spark.sql.hive.HiveExternalCatalog$$anonfun$databaseExists$1.apply(HiveExternalCatalog.scala:195)
at org.apache.spark.sql.hive.HiveExternalCatalog.withClient(HiveExternalCatalog.scala:97)
at org.apache.spark.sql.hive.HiveExternalCatalog.databaseExists(HiveExternalCatalog.scala:194)
at org.apache.spark.sql.internal.SharedState.externalCatalog$lzycompute(SharedState.scala:114)
at org.apache.spark.sql.internal.SharedState.externalCatalog(SharedState.scala:102)
at org.apache.spark.sql.hive.HiveSessionStateBuilder.externalCatalog(HiveSessionStateBuilder.scala:39)
at org.apache.spark.sql.hive.HiveSessionStateBuilder.catalog$lzycompute(HiveSessionStateBuilder.scala:54)
at org.apache.spark.sql.hive.HiveSessionStateBuilder.catalog(HiveSessionStateBuilder.scala:52)
at org.apache.spark.sql.hive.HiveSessionStateBuilder$$anon$1.(HiveSessionStateBuilder.scala:69)
at org.apache.spark.sql.hive.HiveSessionStateBuilder.analyzer(HiveSessionStateBuilder.scala:69)
at org.apache.spark.sql.internal.BaseSessionStateBuilder$$anonfun$build$2.apply(BaseSessionStateBuilder.scala:293)
at org.apache.spark.sql.internal.BaseSessionStateBuilder$$anonfun$build$2.apply(BaseSessionStateBuilder.scala:293)
at org.apache.spark.sql.internal.SessionState.analyzer$lzycompute(SessionState.scala:79)
at org.apache.spark.sql.internal.SessionState.analyzer(SessionState.scala:79)
at org.apache.spark.sql.execution.QueryExecution.analyzed$lzycompute(QueryExecution.scala:57)
at org.apache.spark.sql.execution.QueryExecution.analyzed(QueryExecution.scala:55)
at org.apache.spark.sql.execution.QueryExecution.assertAnalyzed(QueryExecution.scala:47)
at org.apache.spark.sql.Dataset$.ofRows(Dataset.scala:74)
at org.apache.spark.sql.SparkSession.sql(SparkSession.scala:641)
at hivetest2$.main(hivetest2.scala:10)
at hivetest2.main(hivetest2.scala)
Caused by: java.lang.reflect.InvocationTargetException
at 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.hive.client.IsolatedClientLoader.createClient(IsolatedClientLoader.scala:264)
... 27 more
Caused by: java.lang.NoClassDefFoundError: org/apache/hadoop/fs/CanUnbuffer
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:763)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:467)
at java.net.URLClassLoader.access$100(URLClassLoader.java:73)
at java.net.URLClassLoader$1.run(URLClassLoader.java:368)
at java.net.URLClassLoader$1.run(URLClassLoader.java:362)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:361)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at org.apache.hadoop.hdfs.DistributedFileSystem.initialize(DistributedFileSystem.java:149)
at org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:2591)
at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:89)
at org.apache.hadoop.fs.FileSystem$Cache.getInternal(FileSystem.java:2625)
at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:2607)
at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:368)
at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:167)
at org.apache.hadoop.hive.ql.session.SessionState.start(SessionState.java:505)
at org.apache.spark.sql.hive.client.HiveClientImpl.newState(HiveClientImpl.scala:180)
at org.apache.spark.sql.hive.client.HiveClientImpl.(HiveClientImpl.scala:114)
... 32 more
Caused by: java.lang.ClassNotFoundException: org.apache.hadoop.fs.CanUnbuffer
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 54 more