How to create a simple spark graphframe using java?

后端 未结 4 1558
你的背包
你的背包 2021-01-01 06:35

Basically I am a java developer & now I got a chance to work on Spark & I gone through basics of the Spark api like what is SparkConfig, SparkContaxt, RDD, SQLContax

4条回答
  •  温柔的废话
    2021-01-01 07:07

    I don't know whether you are able to solve your problem or not. I have just seen your problem. I think for getting Exception in thread "main" java.lang.NoClassDefFoundError: com/typesafe/scalalogging/slf4j/LazyLogging, you need to put the following jar in your pom.xml

             
                com.typesafe.scala-logging
                 scala-logging-slf4j_2.10
                2.1.2
            
    

    I have encountered the same issue and by adding this jar , I was able to resolve that issue.

提交回复
热议问题