mnpoonia opened a new pull request, #8580:
URL: https://github.com/apache/hbase/pull/8580

   … RegionServer
   
   FSHLog#getPipeline() delegated directly to Hadoop's 
DFSOutputStream#getPipeline(), which can legitimately return null (streamer 
closed, or no block pipeline currently established between blocks). The debug 
logging added in HBASE-28775 replaced the null-tolerant Arrays.toString(...) 
with Arrays.stream(...), which throws NPE on null, turning a benign transient 
HDFS state into a RegionServer self-abort during WAL rolling -- even though the 
roll itself had already succeeded.
   
   Normalize FSHLog#getPipeline() to never return null (an empty array 
instead), matching the contract AsyncFSWAL#getPipeline() already honors.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to