Details
-
Type:
Bug
-
Status: Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: Impala 2.5.0
-
Fix Version/s: Impala 2.8.0
-
Component/s: Frontend
-
Labels:None
Description
When the path to sentry-site.xml contains spaces, impalad and catalogd start up failed.
The error information is as follows:
2016-08-26 12:22:45,454373 ERROR impala: java.lang.RuntimeException: Sentry configuration file does not exist: /home/mr/impala/conf/sentry-site.xml
at com.cloudera.impala.authorization.SentryConfig.loadConfig(SentryConfig.java:51)
at com.cloudera.impala.authorization.AuthorizationConfig.validateConfig(AuthorizationConfig.java:81)
at com.cloudera.impala.service.JniFrontend.<init>(JniFrontend.java:122)
2016-08-26 12:22:45,454373 ERROR impala: java.lang.RuntimeException: Sentry configuration file does not exist: /home/mr/impala/conf/sentry-site.xml
at com.cloudera.impala.authorization.SentryConfig.loadConfig(SentryConfig.java:51)
at com.cloudera.impala.authorization.AuthorizationConfig.validateConfig(AuthorizationConfig.java:81)
at com.cloudera.impala.service.JniFrontend.<init>(JniFrontend.java:122)
After checking the configuration of impalad and catalogd, found the reason is that the absolute path to the sentry-site.xml which set in sentry_config contains spaces.
The solution is to remove the spaces from the path to the sentry-site.xml when impalad and catalogd reading configuration in process of startup.