AbsaOSS / AbsaOSS/enceladus

Make integration tests runnable in distributed mode

Ouverte
#317 0 commentaires 0 réactions 1 personne assignée Réclamée par @yruslan Voir sur GitHub
Conformance feature priority: low Standardization
Langage dominant
Scala
Étoiles
33
Forks
16
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

## Background
Most of the unit tests can be ran in distributed mode on a Hadoop cluster already.

But some integration tests rely on input files located in a local file system to be available to a Spark application. Since cluster configuration uses HDFS instead of local filesystem for storing files, Standardization and Conformance jobs cannot find expected files and fail.

## Feature
Make Standardization and Conformance integration tests runnable in distributed mode on a cluster.

## Proposed Solution
Here is an idea for a possible solution.

In order for Conformance integration tests to work on a cluster:
* A path to a temporary HDFS folder should be provided in `application.conf`. The folder should have read/write access.
* Input tests data and mapping tables should be generated before any integration test is ran. The files should be put to the specified temporary folder.
* Integration tests should use the configured temporary path location in all dataset and mapping table definitions.

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.