when you get the contents of hadoop files in spirng controller, the hadoop service reports errors in batches
FSDataInputStream fsDataInputStream = fileSystem.open(new Path("/1.mp4"));
byte [] a = new byte[20];
fsDataInputStream.read(a);
fsDataInputStream.close();
controller code will not report an error, I have tried breakpoint debugging, debugging is slow, will not report an error. Debugging quickly (skipping the spring framework code) will lead to errors.
I have written that the separate main method has also been tried, and no matter how much it is read and closed, it will not report an error. Is there something wrong with the spring framework?