title: Spark Standalone Mode: Worker not starting properly in cloudera
body: <p>I am new to the spark, After installing the spark using parcels available in the cloudera manager.</p>
  
  <p>I have configured the files as shown in the below link from cloudera enterprise:</p>
  
  <p><a href="http://www.cloudera.com/content/cloudera-content/cloudera-docs/CM4Ent/4.8.1/Cloudera-Manager-Installation-Guide/cmig_spark_installation_standalone.html" rel="nofollow">http://www.cloudera.com/content/cloudera-content/cloudera-docs/CM4Ent/4.8.1/Cloudera-Manager-Installation-Guide/cmig_spark_installation_standalone.html</a></p>
  
  <p>After this setup, I have started all the nodes in the spark by running /opt/cloudera/parcels/SPARK/lib/spark/sbin/start-all.sh. But I couldn't run the worker nodes as I got the specified error below.</p>
  
  <pre><code>[root@localhost sbin]# sh start-all.sh
  org.apache.spark.deploy.master.Master running as process 32405. Stop it first.
  root@localhost.localdomain's password: 
  localhost.localdomain: starting org.apache.spark.deploy.worker.Worker, logging to /var/log/spark/spark-root-org.apache.spark.deploy.worker.Worker-1-localhost.localdomain.out
  localhost.localdomain: failed to launch org.apache.spark.deploy.worker.Worker:
  localhost.localdomain:      at java.lang.ClassLoader.loadClass(libgcj.so.10)
  localhost.localdomain:      at gnu.java.lang.MainThread.run(libgcj.so.10)
  localhost.localdomain: full log in /var/log/spark/spark-root-org.apache.spark.deploy.worker.Worker-1-localhost.localdomain.out
  localhost.localdomain:starting org.apac
  </code></pre>
  
  <p>When I run jps command, I got:</p>
  
  <pre><code>23367 Jps
  28053 QuorumPeerMain
  28218 SecondaryNameNode
  32405 Master
  28148 DataNode
  7852 Main
  28159 NameNode
  </code></pre>
  
  <p>I couldn't run the worker node properly. Actually I thought to install a standalone spark where the master and worker work on a single machine. In slaves file of spark directory, I given the address as "localhost.localdomin" which is my host name. I am not aware of this settings file. Please any one cloud help me out with this installation process. Actually I couldn't run the worker nodes. But I can start the master node.</p>
  
  <p>Thanks &amp; Regards,
   bips </p>