Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-4028

When the path to sentry-site.xml contains spaces, impalad and catalogd start up failed

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • Impala 2.5.0
    • Impala 2.8.0
    • Frontend
    • 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.

      Attachments

        Activity

          People

            davidxdh Davy Xu
            davidxdh Davy Xu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: