rclone/fstest/testserver/images/test-hdfs
Yury Stankevich 71edc75ca6 HDFS (Hadoop Distributed File System) implementation - #42
This includes an HDFS docker image to use with the integration tests.

Co-authored-by: Ivan Andreev <ivandeex@gmail.com>
Co-authored-by: Nick Craig-Wood <nick@craig-wood.com>
2021-01-07 09:48:51 +00:00
..
core-site.xml HDFS (Hadoop Distributed File System) implementation - #42 2021-01-07 09:48:51 +00:00
Dockerfile HDFS (Hadoop Distributed File System) implementation - #42 2021-01-07 09:48:51 +00:00
hdfs-site.xml HDFS (Hadoop Distributed File System) implementation - #42 2021-01-07 09:48:51 +00:00
httpfs-site.xml HDFS (Hadoop Distributed File System) implementation - #42 2021-01-07 09:48:51 +00:00
kms-site.xml HDFS (Hadoop Distributed File System) implementation - #42 2021-01-07 09:48:51 +00:00
mapred-site.xml HDFS (Hadoop Distributed File System) implementation - #42 2021-01-07 09:48:51 +00:00
README.md HDFS (Hadoop Distributed File System) implementation - #42 2021-01-07 09:48:51 +00:00
run.sh HDFS (Hadoop Distributed File System) implementation - #42 2021-01-07 09:48:51 +00:00
yarn-site.xml HDFS (Hadoop Distributed File System) implementation - #42 2021-01-07 09:48:51 +00:00

Test HDFS

This is a docker image for rclone's integration tests which runs an hdfs filesystem in a docker image.

Build

docker build --rm -t rclone/test-hdfs .
docker push rclone/test-hdfs

Test

configure remote:

[TestHdfs]
type = hdfs
namenode = 127.0.0.1:8020
username = root

run tests

cd backend/hdfs
GO111MODULE=on go test -v

stop docker image:

docker kill rclone-hdfs