Re: hive: spark as execution engine. class not found problem

2023-10-17 Thread Vijay Shankar
UNSUBSCRIBE On Tue, Oct 17, 2023 at 5:09 PM Amirhossein Kabiri < amirhosseikab...@gmail.com> wrote: > I used Ambari to config and install Hive and Spark. I want to insert into > a hive table using Spark execution Engine but I face to this weird error. > The error is: > > Job failed with java.lang

hive: spark as execution engine. class not found problem

2023-10-17 Thread Amirhossein Kabiri
I used Ambari to config and install Hive and Spark. I want to insert into a hive table using Spark execution Engine but I face to this weird error. The error is: Job failed with java.lang.ClassNotFoundException: ive_20231017100559_301568f9-bdfa-4f7c-89a6-f69a65b30aaf:1 2023-10-17 10:07:42,972 ERRO

Re: Spark on Kubernetes (minikube) 2.3 fails with class not found exception

2018-04-10 Thread Marcelo Vanzin
ws based cluster ( Hyper V as hypervisor ) and try >>> to run examples against Spark 2.3. Tried several docker images builds: >>> * several builds that I build myself >>> * andrusha/spark-k8s:2.3.0-hadoop2.7 from docker hub >>> But when I try to submit job

Re: Spark on Kubernetes (minikube) 2.3 fails with class not found exception

2018-04-10 Thread Dmitry
Spark 2.3. Tried several docker images builds: >> * several builds that I build myself >> * andrusha/spark-k8s:2.3.0-hadoop2.7 from docker hub >> But when I try to submit job driver log returns class not found exception >> org.apache.spark.examples.SparkPi >> >> spa

Re: Spark on Kubernetes (minikube) 2.3 fails with class not found exception

2018-04-10 Thread Yinan Li
y > to run examples against Spark 2.3. Tried several docker images builds: > * several builds that I build myself > * andrusha/spark-k8s:2.3.0-hadoop2.7 from docker hub > But when I try to submit job driver log returns class not found exception > org.apache.spark.examples.Spa

Spark on Kubernetes (minikube) 2.3 fails with class not found exception

2018-04-10 Thread Dmitry
docker hub But when I try to submit job driver log returns class not found exception org.apache.spark.examples.SparkPi spark-submit --master k8s://https://ip:8443 --deploy-mode cluster --name spark-pi --class org.apache.spark.examples.SparkPi --conf spark.executor.instances=1 --executor-memory 1G

Re: ScalaReflectionException (class not found) error for user class in spark 2.1.0

2017-01-23 Thread Koert Kuipers
i get the same error using latest spark master branch On Tue, Jan 17, 2017 at 6:24 PM, Koert Kuipers wrote: > and to be clear, this is not in the REPL or with Hive (both well known > situations in which these errors arise) > > On Mon, Jan 16, 2017 at 11:51 PM, Koert Kuipers wrote: > >> i am exp

Re: ScalaReflectionException (class not found) error for user class in spark 2.1.0

2017-01-17 Thread Koert Kuipers
and to be clear, this is not in the REPL or with Hive (both well known situations in which these errors arise) On Mon, Jan 16, 2017 at 11:51 PM, Koert Kuipers wrote: > i am experiencing a ScalaReflectionException exception when doing an > aggregation on a spark-sql DataFrame. the error looks lik

ScalaReflectionException (class not found) error for user class in spark 2.1.0

2017-01-16 Thread Koert Kuipers
i am experiencing a ScalaReflectionException exception when doing an aggregation on a spark-sql DataFrame. the error looks like this: Exception in thread "main" scala.ScalaReflectionException: class in JavaMirror with sun.misc.Launcher$AppClassLoader@28d93b30 of type class sun.misc.Launcher$AppCl

Re: class not found exception Logging while running JavaKMeansExample

2016-08-16 Thread Ted Yu
The class is: core/src/main/scala/org/apache/spark/internal/Logging.scala So it is in spark-core. On Tue, Aug 16, 2016 at 2:33 AM, subash basnet wrote: > Hello Yuzhihong, > > I didn't get how to implement what you said in the JavaKMeansExample.java. > As I get the logging exception as while cre

Re: class not found exception Logging while running JavaKMeansExample

2016-08-16 Thread subash basnet
Hello Yuzhihong, I didn't get how to implement what you said in the JavaKMeansExample.java. As I get the logging exception as while creating the spark session: Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/spark/internal/Logging at com.dfki.spark.kmeans.KMeansSpark.JavaKMea

Re: class not found exception Logging while running JavaKMeansExample

2016-08-15 Thread Ted Yu
Logging has become private in 2.0 release: private[spark] trait Logging { On Mon, Aug 15, 2016 at 9:48 AM, subash basnet wrote: > Hello all, > > I am trying to run JavaKMeansExample of the spark example project. I am > getting the classnotfound exception error: > *Exception in thread "main" jav

class not found exception Logging while running JavaKMeansExample

2016-08-15 Thread subash basnet
Hello all, I am trying to run JavaKMeansExample of the spark example project. I am getting the classnotfound exception error: *Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/spark/internal/Logging* at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader

Re: Protobuf class not found exception

2016-05-31 Thread Nikhil Goyal
http://apache-spark-user-list.1001560.n3.nabble.com/Unable-to-find-proto-buffer-class-error-with-RDD-lt-protobuf-gt-td14529.html But has this been solved? On Tue, May 31, 2016 at 3:26 PM, Nikhil Goyal wrote: > I am getting this error when I am trying to create rdd of (protokey, > value). When I

Protobuf class not found exception

2016-05-31 Thread Nikhil Goyal
I am getting this error when I am trying to create rdd of (protokey, value). When I change this to (*protokey.toString*, value) it works fine. *This is the stack trace:* java.lang.RuntimeException: Unable to find proto buffer class at com.google.protobuf.GeneratedMessageLite$SerializedForm.readRe

“java.io.IOException: Class not found” on long running Streaming application

2016-01-28 Thread Patrick McGloin
152> ( https://issues.apache.org/jira/browse/SPARK-6152) but I don't think it is the same issue. That is java.lang.IllegalArgumentException and this is java.io.IOException: Class not found. My application is streaming data and writing to Parquet using Spark SQL. I am using Spark 1.5.2. Any ideas?

Re: Problem using User Defined Predicate pushdown with core RDD and parquet - UDP class not found

2015-12-14 Thread chao chu
on for this. Thanks a lot! > > > -- Forwarded message -- > From: Vladimir Vladimirov > To: d...@spark.apache.org > Cc: > Date: Mon, 19 Oct 2015 19:38:07 -0400 > Subject: Problem using User Defined Predicate pushdown with core RDD and > parquet - UDP cla

Re: graphx class not found error

2015-08-13 Thread Ted Yu
works in local mode) > > > I get the following error: > > > > any help appreciated > > > > -- > View this message in context: > http://apache-spark-user-list.1001560.n3.nabble.com/graphx-class-not-found-error-tp24253.html > Sent from

Re: graphx class not found error

2015-08-13 Thread dizzy5112
Oh forgot to note using the Scala REPL for this. -- View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/graphx-class-not-found-error-tp24253p24254.html Sent from the Apache Spark User List mailing list archive at Nabble.com

graphx class not found error

2015-08-13 Thread dizzy5112
-not-found-error-tp24253.html Sent from the Apache Spark User List mailing list archive at Nabble.com. - To unsubscribe, e-mail: user-unsubscr...@spark.apache.org For additional commands, e-mail: user-h...@spark.apache.org

Re: Meets class not found error in spark console with newly hive context

2015-07-02 Thread shenyan zhen
In case it helps: I got around it temporarily by saving and reseting the context class loader around creating HiveContext. On Jul 2, 2015 4:36 AM, "Terry Hole" wrote: > Found this a bug in spark 1.4.0: SPARK-8368 > > > Thanks! > Terry > > On Thu,

Re: Meets class not found error in spark console with newly hive context

2015-07-02 Thread Terry Hole
Found this a bug in spark 1.4.0: SPARK-8368 Thanks! Terry On Thu, Jul 2, 2015 at 1:20 PM, Terry Hole wrote: > All, > > I am using spark console 1.4.0 to do some tests, when a create a newly > HiveContext (Line 18 in the code) in my test functio

Meets class not found error in spark console with newly hive context

2015-07-01 Thread Terry Hole
All, I am using spark console 1.4.0 to do some tests, when a create a newly HiveContext (Line 18 in the code) in my test function, it always throw exception like below (It works in spark console 1.3.0), but if i removed the HiveContext (The line 18 in the code) in my function, it works fine. Any i

Submitting jobs on Spark EC2 cluster: class not found, even if it's on CLASSPATH

2015-03-01 Thread olegshirokikh
ge in context: http://apache-spark-user-list.1001560.n3.nabble.com/Submitting-jobs-on-Spark-EC2-cluster-class-not-found-even-if-it-s-on-CLASSPATH-tp21864.html Sent from the Apache Spark User List mailing list archive at Nabble.com. --

Re: Serious issues with class not found exceptions of classes in uber jar

2014-12-26 Thread critikaled
this out put from std err will help? Using Spark's default log4j profile: org/apache/spark/log4j-defaults.properties 14/12/26 10:13:44 INFO CoarseGrainedExecutorBackend: Registered signal handlers for [TERM, HUP, INT] 14/12/26 10:13:44 WARN NativeCodeLoader: Unable to load native-hadoop library f

Re: Serious issues with class not found exceptions of classes in uber jar

2014-12-26 Thread Akhil Das
es not. even > adding external jars using setJars is not helping sometimes is any one else > facing similar issue? Im using the latest 1.2.0 version. > > > > -- > View this message in context: > http://apache-spark-user-list.1001560.n3.nabble.com/Serious-issues-with-class-not-

Serious issues with class not found exceptions of classes in uber jar

2014-12-26 Thread critikaled
message in context: http://apache-spark-user-list.1001560.n3.nabble.com/Serious-issues-with-class-not-found-exceptions-of-classes-in-uber-jar-tp20863.html Sent from the Apache Spark User List mailing list archive at Nabble.com. - To

Re: KryoRegistrator exception and Kryo class not found while compiling

2014-12-11 Thread bonnahu
Is the class com.dataken.spark.examples.MyRegistrator public? if not, change it to public and give a try. -- View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/KryoRegistrator-exception-and-Kryo-class-not-found-while-compiling-tp10396p20646.html Sent from the

saveAsParquetFile and DirectFileOutputCommitter Class not found Error

2014-12-07 Thread Addanki, Santosh Kumar
Hi, When we try to call saveAsParquetFile on a schemaRDD we get the following error : Py4JJavaError: An error occurred while calling o384.saveAsParquetFile. : java.lang.NoClassDefFoundError: org/apache/hadoop/mapreduce/lib/output/DirectFileOutputCommitter at org.apache.spark.sql.parqu

Re: RandomGenerator class not found exception

2014-11-17 Thread Chitturi Padma
dom/AbstractRandomGenerator.class >>> >org/apache/commons/math3/random/RandomGeneratorFactory$1.class >>> >org/apache/commons/math3/random/RandomGeneratorFactory.class >>> >org/apache/commons/math3/random/StableRandomGenerator.class >>> >org/apache/co

Re: RandomGenerator class not found exception

2014-11-17 Thread Ritesh Kumar Singh
RandomGenerator.class >> >org/apache/commons/math3/random/NormalizedRandomGenerator.class >> >org/apache/commons/math3/random/JDKRandomGenerator.class >> >org/apache/commons/math3/random/GaussianRandomGenerator.class >> >> >> Please help >> >>

Re: RandomGenerator class not found exception

2014-11-17 Thread Chitturi Padma
omGenerator.class > > > Please help > > > -- > If you reply to this email, your message will be added to the discussion > below: > > http://apache-spark-user-list.1001560.n3.nabble.com/RandomGenerator-class-not-found-exception-tp19055.ht

Re: RandomGenerator class not found exception

2014-11-17 Thread Akhil Das
Add this jar while creating the sparkContext. sc.addJar("/path/to/commons-math3-3.3.jar") ​And make sure it is shipped and available in the environment tab (4040)​ Thanks Best Regards On Mon, Nov 17, 2014 at 1:54 PM, Rite

RandomGenerator class not found exception

2014-11-17 Thread Ritesh Kumar Singh
My sbt file for the project includes this: libraryDependencies ++= Seq( "org.apache.spark" %% "spark-core" % "1.1.0", "org.apache.spark" %% "spark-mllib" % "1.1.0", "org.apache.commons" % "commons-math3" % "3.3" ) =

Re: runexample TwitterPopularTags showing Class Not found error

2014-11-13 Thread Akhil Das
Run this way: bin/spark-submit --class org.apache.spark.examples.streaming.TwitterPopularTags lib/spark-examples-1.1.0-hadoop1.0.4.jar Or this way: bin/run-example org.apache.spark.examples.streaming.TwitterPopularTags Thanks Best Regards On Thu, Nov 13, 2014 at 5:02 PM, wrote: > Hi > >

runexample TwitterPopularTags showing Class Not found error

2014-11-13 Thread jishnu.prathap
Hi I am getting the following error while running the TwitterPopularTags example .I am using spark-1.1.0-bin-hadoop2.4 . jishnu@getafix:~/spark/bin$ run-example TwitterPopularTags *** ** ** *** ** spark assembly has been built with Hive, including Datanucleus jars on classpath j

Re: ISpark class not found

2014-11-12 Thread Laird, Benjamin
user@spark.apache.org>" mailto:user@spark.apache.org>> Subject: Re: ISpark class not found Hi, I was also trying Ispark..But I couldnt even start the notebook..I am getting the following error. ERROR:tornado.access:500 POST /api/sessions (127.0.0.1) 10.15ms referer=http://localhost:/note

Re: ISpark class not found

2014-11-11 Thread MEETHU MATHEW
Hi, I was also trying Ispark..But I couldnt even start the notebook..I am getting the following error. ERROR:tornado.access:500 POST /api/sessions (127.0.0.1) 10.15ms referer=http://localhost:/notebooks/Scala/Untitled0.ipynb How did you start the notebook?  Thanks & Regards, Meethu M O

ISpark class not found

2014-11-11 Thread Laird, Benjamin
I've been experimenting with the ISpark extension to IScala (https://github.com/tribbloid/ISpark) Objects created in the REPL are not being loaded correctly on worker nodes, leading to a ClassNotFound exception. This does work correctly in spark-shell. I was curious if anyone has used ISpark an

Re: JavaHiveContext class not found error. Help!!

2014-10-23 Thread Marcelo Vanzin
_ID"; > > JavaSchemaRDD partitionedRDD = hiveContext.sql(sql);/ > > > > -- > View this message in context: > http://apache-spark-user-list.1001560.n3.nabble.com/JavaHiveContext-class-not-found-error-Help-tp17149.html > Sent from the Apache Spark User

JavaHiveContext class not found error. Help!!

2014-10-23 Thread nitinkak001
st.1001560.n3.nabble.com/JavaHiveContext-class-not-found-error-Help-tp17149.html Sent from the Apache Spark User List mailing list archive at Nabble.com. - To unsubscribe, e-mail: user-unsubscr...@spark.apache.org For additional commands, e-mail: user-h...@spark.apache.org

Re: Class not found

2014-10-21 Thread Pat Ferrel
...@occamsmachete.com>> wrote: Not sure if this has been clearly explained here but since I took a day to track it down… Several people have experienced a class not found error on Spark when the class referenced is supposed to be in the Spark jars. One thing that can cause this is if you are building

Re: Class not found

2014-10-21 Thread Pat Ferrel
different artifacts to support any option that changes the linkage info/class naming? On Oct 21, 2014, at 12:16 PM, Pat Ferrel wrote: Not sure if this has been clearly explained here but since I took a day to track it down… Several people have experienced a class not found error on Spark when the

Class not found

2014-10-21 Thread Pat Ferrel
Not sure if this has been clearly explained here but since I took a day to track it down… Several people have experienced a class not found error on Spark when the class referenced is supposed to be in the Spark jars. One thing that can cause this is if you are building Spark for your cluster

Re: SPARK Hive Context UDF Class Not Found Exception,

2014-08-26 Thread S Malligarjunan
Hello Michel, I have executed git pull now, As per pom, version entry it is 1.1.0-SNAPSHOT.   Thanks and Regards, Sankar S.   On Tuesday, 26 August 2014, 1:00, Michael Armbrust wrote: Which version of Spark SQL are you using?  Several issues with custom hive UDFs have been fixed in 1.1.

Re: SPARK Hive Context UDF Class Not Found Exception,

2014-08-25 Thread Michael Armbrust
Which version of Spark SQL are you using? Several issues with custom hive UDFs have been fixed in 1.1. On Mon, Aug 25, 2014 at 9:57 AM, S Malligarjunan < smalligarju...@yahoo.com.invalid> wrote: > Hello All, > > I have added a jar from S3 instance into classpath, i have tried following > option

SPARK Hive Context UDF Class Not Found Exception,

2014-08-25 Thread S Malligarjunan
Hello All, I have added a jar from S3 instance into classpath, i have tried following options 1. sc.addJar("s3n://mybucket/lib/myUDF.jar") 2. hiveContext.sparkContext.addJar("s3n://mybucket/lib/myUDF.jar") 3. ./bin/spark-shell --jars s3n://mybucket/lib/myUDF.jar I am getting ClassNotException wh

Re: Class not found in Kafka-Stream due to multi-thread without correct ClassLoader?

2014-05-15 Thread n0rb3rt
.saveAsTextFile("person_system") } } -- View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/Class-not-found-in-Kafka-Stream-due-to-multi-thread-without-correct-ClassLoader-tp2398p5713.html Sent from the Apache Spark User List mailing list archive at Nabble.com.

Class not found in Kafka-Stream due to multi-thread without correct ClassLoader?

2014-03-07 Thread Aries Kong
Hi, I'm trying to run a kafka-stream and get a strange exception. The streaming is created by following code: val lines = KafkaUtils.createStream[String, VtrRecord, StringDecoder, VtrRecordDeserializer](ssc, kafkaParams.toMap, topicpMap, StorageLevel.MEMORY_AND_DISK_SER_2) 'VtrRecord' i

Class not found in Kafka-Stream due to multi-thread without correct ClassLoader?

2014-03-07 Thread Aries Kong
Hi, I'm trying to run a kafka-stream and get a strange exception. The streaming is created by following code: val lines = KafkaUtils.createStream[String, VtrRecord, StringDecoder, VtrRecordDeserializer](ssc, kafkaParams.toMap, topicpMap, StorageLevel.MEMORY_AND_DISK_SER_2) 'VtrRecord' i

Class not found in Kafka-Stream due to multi-thread without correct ClassLoader?

2014-03-07 Thread Aries Kong
Hi, I'm trying to run a kafka-stream and get a strange exception. The streaming is created by following code: val lines = KafkaUtils.createStream[String, VtrRecord, StringDecoder, VtrRecordDeserializer](ssc, kafkaParams.toMap, topicpMap, StorageLevel.MEMORY_AND_DISK_SER_2)