public static boolean isFuseInstalled ( ) { try { if ( OSUtils . isLinux ( ) ) { String result = ShellUtils . execCommand ( "fusermount" , "-V" ) ; return ! result . isEmpty ( ) ; } else if ( OSUtils . isMacOS ( ) ) { String result = ShellUtils . execCommand ( "bash" , "-c" , "mount | grep FUSE" ) ; return ! result . isEmpty ( ) ; } } catch ( Exception e ) { return false ; } return false ; }
Checks whether fuse is installed in local file system . Alluxio - Fuse only support mac and linux .