Need tips on how to (ideally) integrate Spark on a local Hadoop cluster

Education

Hi.

I am an Engineering student and am currently working on a Big Data project. I am doing the project one of the Computer Labs in my College (5 PCs - 1 Master, 4 Slaves - Ubuntu 18.04 - Hadoop 2.7.7).

For the first part of the project, I successfully configured the Multinode cluster and carried out the required tasks (Analyzing a data set using a K-Nearest Neighbor Alogrithm in Java).

For this I used this blog as a reference. (Additionally, if you think this isn't an ideal configuration, I would love to get some tips and feedback so that my Hadoop cluster works better).

​

Now, I plan to carry out the same analysis but with Spark on the same Hadoop Cluster. I tried to follow this guide to set it up (Note: I used the appropriate spark version) and it kind of worked. Spark does seem to start but there are numerous errors.

I am a beginner with very basic knowledge in this. It took me about 2-3 weeks to fully understand, configure and run my Hadoop cluster.

I would really appreciate if you could:

  1. Help point out the issues with the resources I linked and how can I rectify them.
  2. If you have any better tutorials, blogs or guides that I can read/watch and understand this better please share the links.
  3. Am I even doing this right? I have had no actual courses on these topics in College and I am just doing this because the field of Big Data, Machine Learning, etc interest me.
  4. How does Cloudera,, Hortonworks etc actually work? I have full systems with ubuntu and not VMs and I have been unable to find a guide or blog that could help me setup either of those services for my cluster of 5 Computers. If these are any good, I would really appreciate it if you could explain it a little and/or link some blogs, guides or tutorials I could refer to.

I have been stuck on this for a few weeks now. Trying to figure out how to run it. Haven't had a lot of success. Any help would be really appreciated!

​

Thanks. :)

Posted Dec 9, 2018, 2:22 PM UTC

1423
Loading comments…