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

Impala should tolerate bad locale settings.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: Impala 1.1
    • Fix Version/s: None
    • Component/s: Backend
    • Labels:
      None

      Description

      Currently, the Statestore does not tolerate a bad locale setting and crashes while starting up.

       USE_DEBUG_BUILD=false
      + perl -pi -e 's#{{CMF_CONF_DIR}}#/var/run/cloudera-scm-agent/process/2469-impala-STATESTORE#g' /var/run/cloudera-scm-agent/process/2469-impala-STATESTORE/impala-conf/state_store_flags
      perl: warning: Setting locale failed.
      perl: warning: Please check that your locale settings:
          LANGUAGE = (unset),
          LC_ALL = (unset),
          LANG = "fr_FR.UTF-8"
          are supported and installed on your system.
      perl: warning: Falling back to the standard locale ("C").
      + '[' -f /var/run/cloudera-scm-agent/process/2469-impala-STATESTORE/impala-conf/.htpasswd ']'
      + chmod 600 /var/run/cloudera-scm-agent/process/2469-impala-STATESTORE/impala-conf/.htpasswd
      + false
      + export IMPALA_BIN=/opt/cloudera/parcels/IMPALA-1.1-1.p0.8/lib/impala/sbin-retail
      + IMPALA_BIN=/opt/cloudera/parcels/IMPALA-1.1-1.p0.8/lib/impala/sbin-retail
      + '[' impalad = statestore ']'
      + '[' statestore = statestore ']'
      + exec /opt/cloudera/parcels/IMPALA-1.1-1.p0.8/lib/impala/../../bin/statestored --flagfile=/var/run/cloudera-scm-agent/process/2469-impala-STATESTORE/impala-conf/state_store_flags
      terminate called after throwing an instance of 'std::runtime_error'
        what():  locale::facet::_S_create_c_locale name not valid
      

      It should fall back to the standard locale ("C"), if the user's locale is messed up.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                ishaan Ishaan Joshi
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated: