[hive] Skip warehouse path config check when no FS configured
@@ -67,6 +67,7 @@ def config_validator(user):
from desktop.lib.fsmanager import get_filesystem
warehouse = beeswax.hive_site.get_metastore_warehouse_dir()
fs = get_filesystem()
+ if fs:
fs.do_as_superuser(fs.stats, warehouse)
except Exception:
msg = 'Failed to access Hive warehouse: %s'
