hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-19856) Missing org/apache/spark/Logging with Spark
Date Wed, 24 Jan 2018 13:58:00 GMT

    [ https://issues.apache.org/jira/browse/HBASE-19856?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16337609#comment-16337609
] 

Ted Yu commented on HBASE-19856:
--------------------------------

This would be dup of HBASE-16179

> Missing org/apache/spark/Logging with Spark
> -------------------------------------------
>
>                 Key: HBASE-19856
>                 URL: https://issues.apache.org/jira/browse/HBASE-19856
>             Project: HBase
>          Issue Type: Bug
>            Reporter: kent
>            Priority: Major
>
> dependencies:
> spark-streaming_2.11                  2.2.1
> spark-streaming-kafka-0-8-2.11   2.2.1
> hbase-spark                                 2.0.0-alpha4 
>  
> Submit app in spark 2.2 will get this error
> {code:java}
> 2018-01-24 17:18:13,436 ERROR yarn.ApplicationMaster: User class threw exception: java.lang.NoClassDefFoundError:
org/apache/spark/Logging java.lang.NoClassDefFoundError: org/apache/spark/Logging 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 java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at org.apache.hadoop.hbase.spark.JavaHBaseContext.<init>(JavaHBaseContext.scala:46)
at com.clongame.spark.StoreApp.main(StoreApp.java:53) 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.apache.spark.deploy.yarn.ApplicationMaster$$anon$2.run(ApplicationMaster.scala:635)
Caused by: java.lang.ClassNotFoundException: org.apache.spark.Logging at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 18 more{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message