spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Charles Li <charles...@cenx.com>
Subject Re: Snappy error when driver is running in JBoss
Date Tue, 06 Jan 2015 22:44:23 GMT
Hi 
    Thanks for the reply! I did do a echo $CLASSPATH, but I got nothing. Since we are running
inside jboss, I guess the class path is not set?
    People did mention that JBoss loads snappy-java multiple times. But I cannot find a way
to solve that problem. 

Cheers  


On Jan 6, 2015, at 5:35 PM, Ted Yu <yuzhihong@gmail.com> wrote:

> Might be due to conflict between multiple snappy jars.
> 
> Can you check the classpath to see if there are more than one snappy jar ?
> 
> Cheers
> 
> On Tue, Jan 6, 2015 at 2:26 PM, Charles <charles.li@cenx.com> wrote:
> I get this exception(java.lang.UnsatisfiedLinkError) when the driver is
> running inside JBoss.
> 
> We are running with DataStax 4.6 version, which is using spark 1.1.0. The
> driver runs inside a wildfly container. The snappy-java version is 1.0.5.
> 
> 
> 2015-01-06 20:25:03,771 ERROR [akka.actor.ActorSystemImpl]
> (sparkDriver-akka.actor.default-dispatcher-22) Uncaught fatal error from
> thread [sparkDriver-akka.actor.default-dispatcher-3] shutting down
> ActorSystem [sparkDriver]: java.lang.UnsatisfiedLinkError:
> org.xerial.snappy.SnappyNative.maxCompressedLength(I)I
> at org.xerial.snappy.SnappyNative.maxCompressedLength(Native Method)
> [levski-0.5.0-SNAPSHOT-standalone.jar:]
> at org.xerial.snappy.Snappy.maxCompressedLength(Snappy.java:320)
> [levski-0.5.0-SNAPSHOT-standalone.jar:]
> at org.xerial.snappy.SnappyOutputStream.<init>(SnappyOutputStream.java:79)
> [levski-0.5.0-SNAPSHOT-standalone.jar:]
> at
> org.apache.spark.io.SnappyCompressionCodec.compressedOutputStream(CompressionCodec.scala:125)
> [levski-0.5.0-SNAPSHOT-standalone.jar:]
> at
> org.apache.spark.broadcast.TorrentBroadcast$.blockifyObject(TorrentBroadcast.scala:207)
> [levski-0.5.0-SNAPSHOT-standalone.jar:]
> at
> org.apache.spark.broadcast.TorrentBroadcast.writeBlocks(TorrentBroadcast.scala:83)
> [levski-0.5.0-SNAPSHOT-standalone.jar:]
> at
> org.apache.spark.broadcast.TorrentBroadcast.<init>(TorrentBroadcast.scala:68)
> [levski-0.5.0-SNAPSHOT-standalone.jar:]
> at
> org.apache.spark.broadcast.TorrentBroadcastFactory.newBroadcast(TorrentBroadcastFactory.scala:36)
> [levski-0.5.0-SNAPSHOT-standalone.jar:]
> at
> org.apache.spark.broadcast.TorrentBroadcastFactory.newBroadcast(TorrentBroadcastFactory.scala:29)
> [levski-0.5.0-SNAPSHOT-standalone.jar:]
> at
> org.apache.spark.broadcast.BroadcastManager.newBroadcast(BroadcastManager.scala:62)
> [levski-0.5.0-SNAPSHOT-standalone.jar:]
> at org.apache.spark.SparkContext.broadcast(SparkContext.scala:809)
> [levski-0.5.0-SNAPSHOT-standalone.jar:]
> at cenx.prometheus.spark.SparkContext.broadcast(Unknown Source)
> [levski-0.5.0-SNAPSHOT-standalone.jar:]
> at
> org.apache.spark.scheduler.DAGScheduler.org$apache$spark$scheduler$DAGScheduler$$submitMissingTasks(DAGScheduler.scala:829)
> [levski-0.5.0-SNAPSHOT-standalone.jar:]
> at
> org.apache.spark.scheduler.DAGScheduler.org$apache$spark$scheduler$DAGScheduler$$submitStage(DAGScheduler.scala:769)
> [levski-0.5.0-SNAPSHOT-standalone.jar:]
> at
> org.apache.spark.scheduler.DAGScheduler.handleJobSubmitted(DAGScheduler.scala:753)
> [levski-0.5.0-SNAPSHOT-standalone.jar:]
> at
> org.apache.spark.scheduler.DAGSchedulerEventProcessActor$$anonfun$receive$2.applyOrElse(DAGScheduler.scala:1360)
> [levski-0.5.0-SNAPSHOT-standalone.jar:]
> at akka.actor.ActorCell.receiveMessage(ActorCell.scala:498)
> [levski-0.5.0-SNAPSHOT-standalone.jar:]
> at akka.actor.ActorCell.invoke(ActorCell.scala:456)
> [levski-0.5.0-SNAPSHOT-standalone.jar:]
> at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:237)
> [levski-0.5.0-SNAPSHOT-standalone.jar:]
> at akka.dispatch.Mailbox.run(Mailbox.scala:219)
> [levski-0.5.0-SNAPSHOT-standalone.jar:]
> at
> akka.dispatch.ForkJoinExecutorConfigurator$AkkaForkJoinTask.exec(AbstractDispatcher.scala:386)
> [levski-0.5.0-SNAPSHOT-standalone.jar:]
> at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)
> [levski-0.5.0-SNAPSHOT-standalone.jar:]
> at
> scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)
> [levski-0.5.0-SNAPSHOT-standalone.jar:]
> at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)
> [levski-0.5.0-SNAPSHOT-standalone.jar:]
> at
> scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)
> [levski-0.5.0-SNAPSHOT-standalone.jar:]
> 
> 
> 
> --
> View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/Snappy-error-when-driver-is-running-in-JBoss-tp21004.html
> Sent from the Apache Spark User List mailing list archive at Nabble.com.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@spark.apache.org
> For additional commands, e-mail: user-help@spark.apache.org
> 
> 


Mime
View raw message