diff --git a/.gitignore b/.gitignore
index feebd031432b..58b9cd558ff9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -40,3 +40,4 @@ dependency-reduced-pom.xml
**/hs_err_pid*.log
+data-node/bin/*
diff --git a/data-node-distribution/src/main/assembly/datanode.xml b/data-node-distribution/src/main/assembly/datanode.xml
index 6452ceed9f65..e91dc4238c2d 100644
--- a/data-node-distribution/src/main/assembly/datanode.xml
+++ b/data-node-distribution/src/main/assembly/datanode.xml
@@ -24,6 +24,9 @@
*/**
+
+ download/*
+
${project.basedir}/../data-node/target/lib