About the problem of file access in hdfs?

use hdfs to store pictures for the first time, and use java in the background to display pictures on the page. What are the specific solutions?

1. Tried using webhdfs , but redirected to datanode when accessing namenode , so cancel this scheme,

2. Later, I tried to use httpfs , but found that the display speed of the picture on the page was very slow.

so what else can be done?

Apr.12,2022
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e46828-43699.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e46828-43699.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?