uploading a file to HDFS through node.js and hdfs module
I feel stupid now, but I ll keep this up here should anyone bump into the same issue one day.
The problem was the node installation. I installed it through the git repo, installing the latest stable version from the official website fixed the problem.