Closed axemaster closed 1 year ago
I am using the built single jar (by SBT) : spark-assembly-1.6.1-hadoop2.6.0.jar, which compiles and runs.
When I examine the source code for ClientArguments in NetBeans IDE, I see the following:
package org.apache.spark.deploy.yarn;
import org.apache.spark.SparkConf; import scala.collection.Seq; import scala.collection.immutable.List; import scala.collection.mutable.ArrayBuffer; import scala.reflect.ScalaSignature;
@ScalaSignature(bytes = "...") public class ClientArguments { ... public ClientArguments(String[] args, SparkConf sparkConf) { ... } }
Classes ClientArguments and Client in org.apache.spark.deploy.yarn are private and therefore not visible to user code. How are you getting this code to work outside of the yarn package?