private void checkUserFileBufferBytes ( ) { if ( ! isSet ( PropertyKey . USER_FILE_BUFFER_BYTES ) ) { // load from hadoop conf return ; } long usrFileBufferBytes = getBytes ( PropertyKey . USER_FILE_BUFFER_BYTES ) ; Preconditions . checkState ( ( usrFileBufferBytes & Integer . MAX_VALUE ) == usrFileBufferBytes , PreconditionMessage . INVALID_USER_FILE_BUFFER_BYTES . toString ( ) , PropertyKey . Name . USER_FILE_BUFFER_BYTES , usrFileBufferBytes ) ; }
Validates the user file buffer size is a non - negative number .