Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

When I am running spark scal wordcount program om scala ide I am getting error

Highlighted

When I am running spark scal wordcount program om scala ide I am getting error

New Contributor

Exception in thread "main" java.lang.RuntimeException: java.io.FileNotFoundException: C:\Users\M45900\workspace\cig\hConf.xml (The system cannot find the file specified) at org.apache.hadoop.conf.Configuration.loadResource(Configuration.java:2319) at org.apache.hadoop.conf.Configuration.loadResources(Configuration.java:2182) at org.apache.hadoop.conf.Configuration.getProps(Configuration.java:2089) at org.apache.hadoop.conf.Configuration.get(Configuration.java:838) at org.apache.hadoop.conf.Configuration.getTrimmed(Configuration.java:857) at org.apache.hadoop.conf.Configuration.getBoolean(Configuration.java:1255) at co.cask.cdap.app.runtime.spark.SparkRuntimeContextConfig.isLocal(SparkRuntimeContextConfig.java:63) at co.cask.cdap.app.runtime.spark.SparkRuntimeContextConfig.isLocal(SparkRuntimeContextConfig.java:84) at co.cask.cdap.app.runtime.spark.SparkRuntimeContextProvider.createIfNotExists(SparkRuntimeContextProvider.java:155) at co.cask.cdap.app.runtime.spark.SparkRuntimeContextProvider.get(SparkRuntimeContextProvider.java:136) at co.cask.cdap.app.runtime.spark.SparkClassLoader.create(SparkClassLoader.java:61) at org.apache.spark.util.MutableURLClassLoader.createParent(MutableURLClassLoader.java:60) at org.apache.spark.util.MutableURLClassLoader.<init>(MutableURLClassLoader.java:39) at org.apache.spark.executor.Executor.createClassLoader(Executor.scala:352) at org.apache.spark.executor.Executor.<init>(Executor.scala:94) at org.apache.spark.scheduler.local.LocalEndpoint.<init>(LocalBackend.scala:58) at org.apache.spark.scheduler.local.LocalBackend.start(LocalBackend.scala:125) at org.apache.spark.scheduler.TaskSchedulerImpl.start(TaskSchedulerImpl.scala:144) at org.apache.spark.SparkContext.<init>(SparkContext.scala:530) at com.sobi.cig.SparkWordCount$.main(SparkWordCount.scala:11) at com.sobi.cig.SparkWordCount.main(SparkWordCount.scala) Caused by: java.io.FileNotFoundException: C:\Users\M45900\workspace\cig\hConf.xml (The system cannot find the file specified)

1 REPLY 1

Re: When I am running spark scal wordcount program om scala ide I am getting error

New Contributor

Please some one help me.