Skip to content
This repository was archived by the owner on Jan 10, 2025. It is now read-only.

edersoncorbari/scala-lab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Synopsis

Tests using Scala and Spark for Big Data projects.

An article was published explaining:

Provided Mechanisms

  • The template of a project using SBT;
  • A top-down graph to find a company's employee hierarchy;
  • Parsing XML file: FsImage (HDFS).

Emacs

Build and Running

To compile the project, you must have the following tools installed:

Now run the commands below to compile the project:

$ git clone https://github.com/edersoncorbari/scala-lab.git
$ cd scala-lab
$ sbt update compile run

If you receive an error of type: "Caused by: java.net.UnknownHostException: your-host: localhost: Name or service not known", your hostname is not configured in the /etc/hosts please add and run again.

Testing

To perform all the tests please run the command:

$ sbt test

To run a specific test run the command:

$ sbt

Within the SBT console perform a specific test:

> testOnly io.github.edersoncorbari.graph.HierarchyEmployeeTest
> testOnly io.github.edersoncorbari.hdfs.FsImageTest

About

Test projects for BigData using Scala and Spark.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors