fix wrong file FSPermissionChecker.java and Hive 0.10 API to Hive 0.12 API