@ Override public int truncate ( String path , long size ) { LOG . error ( "Truncate is not supported {}" , path ) ; return - ErrorCodes . EOPNOTSUPP ( ) ; }
Changes the size of a file . This operation would not succeed because of Alluxio s write - once model .