score:0
Accepted answer
You are passing a wrong name for the main class, that is why it can't find it. It should be Tutorial1
instead of just 1
. You can see the error in the stack trace:
Exception in thread "main" java.lang.ClassNotFoundException: 1
There is no class called 1
. Try:
$ yarn jar target/scala-2.9.3/scalding-assembly-0.10.0.jar Tutorial1 --local
EDIT: it works just fine to me with this command:
$ yarn jar target/scalding-tutorial-0.8.11.jar Tutorial1 --local
Source: stackoverflow.com
Related Query
- Java and Scala ClassNotFoundException after upgrading to IntelliJ 14
- Akka actor tutorial in Scala to multithreading in Java
- Scalding Tutorial with HDFS: Data is missing from one or more paths in: List(tutorial/data/hello.txt)
- Scala SBT - Java ClassNotFoundException when running simple command
- Java ClassNotFoundException for scala import in Java
- Scala equivalent of Java java.lang.Class<T> Object
- What's the standard way to work with dates and times in Scala? Should I use Java types or there are native Scala alternatives?
- How to get Scala List from Java List?
- Wrapping null-returning method in Java with Option in Scala?
- Iterating over Java collections in Scala
- What are the relationships between Any, AnyVal, AnyRef, Object and how do they map when used in Java code?
- Java compile speed vs Scala compile speed
- Samples of Scala and Java code where Scala code looks simpler/has fewer lines?
- Converting a Java collection into a Scala collection
- Is there an equivalent of Scala's Either in Java 8?
- What are the differences and similarties between Scala traits vs. Java 8 interfaces?
- On Performance and Java Interoperability: Clojure vs. Scala
- Enforcing Java version for Scala project in sbt?
- Scala 2.8 collections design tutorial
- Using Scala traits with implemented methods in Java
- Building a scala app with maven (that has java source mixed in)
- What is the Scala equivalent to a Java builder pattern?
- In Scala, how can I subclass a Java class with multiple constructors?
- How can I convert a Java Iterable to a Scala Iterable?
- Converting Java to Scala durations
- Convert Java Map to Scala Map
- How are Java threads heavy compared to Scala / Akka actors?
- How are Scala traits compiled into Java bytecode?
- Running Java gives "Error: could not open `C:\Program Files\Java\jre6\lib\amd64\jvm.cfg'"
- Base 64 encoding with Scala or Java
More Query from same tag
- Create Bulk XML from template for POST request using gatling/scala
- Exit scala function with Failure
- Akka-Http how to deal with special characters in the URL (like %)
- Access parent scope variable in ScalaTest
- How to retrieve the value of header object in Scala
- Can sample weight be used in Spark MLlib Random Forest training?
- playframework owasp top 10
- Create a single collection from multiple collections in a way that maximises distance between elements of the same initial collection
- How to take advantage of Cassandra partitioner using DataFrames?
- Play 2 postgres driver not found
- error: not found: value assemblyJarName in assembly
- converting a specific string into a list of a class object
- Play framework: Server monitoring and performance admin page
- Header written multiple times while combining csv files using scala and spark
- Why `Numeric` in the Scala standard library does not have a `maxValue`?
- Using play framework and scala how to display image path from database
- Dataframes to EdgeRDD (GraphX) using Scala api to Spark
- How to efficient search elements
- ParTraverse Not a Value of NonEmptyList
- Explaining a currying implementation in Haskell
- Bounded generic type as case class parameter
- How store methods vals without recreating them every method call
- Scala Interpreter: anyway to get the line of a compile error?
- Polyglot persistence for startup app
- How to handle missing columns in spark sql
- Master must start with yarn,spark
- How to get the Spark scala correlation output as a dataframe?
- Scala pattern match with type parameter of type class
- What does the `-jvm-debug 5005` change in the JVM exactly?
- How to apply regex pattern on a dataframe in scala?