If you want to use a graphical interface to manage files in HDFS, you can use Hue. This topic describes how to view and manage files and directories in HDFS on the Hue web UI. In this topic, an E-MapReduce (EMR) V4.9.0 cluster is used.
Prerequisites
- A security group rule is configured. For more information, see Security groups.
Notice When you configure the authorization object in the security group rule, enter only the CIDR blocks or IP addresses that need to access Hue. Do not enter the CIDR block 0.0.0.0/0.
- Port 8888 is enabled. For more information, see Access the web UIs of open source components.
Considerations
For a Hadoop cluster of EMR V3.35.0 or a later minor version, or EMR V4.9.0 or a later minor version, you must delete filebrowser from the value of the app_blacklist parameter on the Configure tab of the Hue service page.
Go to the File Browser page
Manage directories or files
Upload files
- On the File Browser page, click Upload in the upper-right corner.
- In the dialog box that appears, click Select files.
- Select the files that you want to upload and click Open.
Create a file and a directory
- Create a file
- On the File Browser page, choose in the upper-right corner.
- In the Create File dialog box, specify File Name.
- Click Create.
- Create a directory
- On the File Browser page, choose .
- In the Create Directory dialog box, specify Directory Name.
- Click Create.