code: def put(local_path, hdfs_path):
      
      cmd = "hadoop fs -put %s %s" % (local_path, hdfs_path)
      rcode, stdout, stderr = _checked_hadoop_fs_command(cmd)
docs: Put a file on hdfs
  
      :param local_path: Source (str)
      :param hdfs_path: Destination (str)
      :raises: IOError: If unsuccessful