Using Ambari Views
Also available as:

Upload files from a local system

You can upload a file from your local file system to your HDFS file system.

Ensure that you have the necessary permissions to upload files to your HDFS file system.
  1. In the Ambari dashboard, browse to Views > Files View.
  2. Click Upload.file view upload
    The Upload file to window appears.
  3. Drag a file into the Upload file to window to upload, or click to browse to the file location.
    You can upload only one file at a time. You cannot upload a directory.