code: def put(self, src, dst):
          '''Upload a file to HDFS
  
          This will take a file from the ``testfiles_path`` supplied in the constuctor.
          '''
          src = "%s%s" % (self._testfiles_path, src)
          return self._getStdOutCmd([self._hadoop_cmd, 'fs', '-put', src, self._full_hdfs_path(dst)], Truef put(self, src, dst):
          '''Upload a file to HDFS
  
          This will take a file from the ``testfiles_path`` supplied in the constuctor.
          '''
          src = "%s%s" % (self._testfiles_path, src)
          return self._getStdOutCmd([self._hadoop_cmd, 'fs', '-put', src, self._full_hdfs_path(dst)], True)
docs: Upload a file to HDFS
  
          This will take a file from the ``testfiles_path`` supplied in the constuctor.