mercredi 18 avril 2018

Hadoop Mini Cluster Mock (MiniDFSCluster)

I need your help about hadoop-minicluster

I'm working with scala (with sbt) and I try to Mock calls of HDFS. I sow hadoop-minicluster for deploying a little cluster and test on it.

However, when I add the sbt dependency :

libraryDependencies += "org.apache.hadoop" % "hadoop-minicluster" % "3.1.0" % Test

The sources are not added and I can't import the package org.apache.hadoop.hdfs.MiniDFSCluster

Do you know how I can solve the problem ?

Thank you for yours answers

Aucun commentaire:

Enregistrer un commentaire