Details
-
Bug
-
Status: Resolved
-
Critical
-
Resolution: Fixed
-
None
-
None
-
Reviewed
Description
yarn logs command fails with below error message. Found LogAggregationIndexedFileController uses read() to read the contents of remoteLog into byte array which sometimes does not read full contents and so actual bytes read is not same as offset leading to IOException. readFully() can be used.
WARN ifile.LogAggregationIndexedFileController: Can not get log meta from the log Error on loading log meta from if (actual != offset) { throw new IOException("Error on loading log meta from " + remoteLogPath); }