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?