You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "Vincent Tran (Jira)" <ji...@apache.org> on 2020/10/06 15:38:00 UTC

[jira] [Commented] (IMPALA-532) Impala should tolerate bad locale settings.

    [ https://issues.apache.org/jira/browse/IMPALA-532?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17208847#comment-17208847 ] 

Vincent Tran commented on IMPALA-532:
-------------------------------------

This still occurs on Impala 3.1.0 by the way. Has boost not been upgraded since?

 
{noformat}
0 libc-2.22.so + 0x34fd7
 1 libc-2.22.so + 0x363aa
 2 ld-2.22.so + 0x14f60
 3 libstdc++.so.6 + 0x78110
 4 libstdc++.so.6!_fini + 0x2510
 5 libstdc++.so.6!_fini + 0x2d5b
 6 libc-2.22.so + 0x75cc7
 7 libc-2.22.so + 0x75cc7
 8 libstdc++.so.6!__gnu_cxx::__verbose_terminate_handler() [vterminate.cc : 95 + 0x5]
 9 libstdc++.so.6!__cxxabiv1::__terminate(void (*)()) [eh_terminate.cc : 47 + 0x2]
10 libstdc++.so.6!std::terminate() [eh_terminate.cc : 57 + 0xd]
11 libstdc++.so.6!__cxxabiv1::__cxa_throw [eh_throw.cc : 87 + 0x5]
12 libstdc++.so.6!std::__throw_runtime_error(char const*) [functexcept.cc : 107 + 0x16]
13 libstdc++.so.6!std::locale::facet::_S_create_c_locale(__locale_struct*&, char const*, __locale_struct*) [c++locale.cc : 137 + 0xc]
14 libstdc++.so.6!std::locale::_Impl::_Impl(char const*, unsigned long) [localename.cc : 182 + 0xa]
15 libstdc++.so.6!std::locale::locale(char const*) [localename.cc : 128 + 0x18]
16 impalad!boost::filesystem::path::codecvt() + 0x53
17 impalad!impala::HdfsScanNodeBase::Prepare(impala::RuntimeState*) [hdfs-scan-node-base.cc : 209 + 0x5]
18 impalad!impala::HdfsScanNode::Prepare(impala::RuntimeState*) [hdfs-scan-node.cc : 159 + 0x15]
19 impalad!impala::FragmentInstanceState::Prepare() [fragment-instance-state.cc : 207 + 0x18]
20 impalad!impala::FragmentInstanceState::Exec() [fragment-instance-state.cc : 75 + 0x5]
21 impalad!impala::QueryState::ExecFInstance(impala::FragmentInstanceState*) [query-state.cc : 478 + 0xf]
22 impalad!impala::Thread::SuperviseThread(std::string const&, std::string const&, boost::function<void ()>, impala::ThreadDebugInfo const*, impala::Promise<long, (impala::PromiseMode)0>*) [function_template.hpp : 767 + 0x7]
23 impalad!boost::detail::thread_data<boost::_bi::bind_t<void, void (*)(std::string const&, std::string const&, boost::function<void ()>, impala::ThreadDebugInfo const*, impala::Promise<long, (impala::PromiseMode)0>*), boost::_bi::list5<boost::_bi::value<std::string>, boost::_bi::value<std::string>, boost::_bi::value<boost::function<void ()> >, boost::_bi::value<impala::ThreadDebugInfo*>, boost::_bi::value<impala::Promise<long, (impala::PromiseMode)0>*> > > >::run() [bind.hpp : 525 + 0x6]
24 impalad!thread_proxy + 0xda
25 libpthread-2.22.so + 0x874a
26 libc-2.22.so + 0xecf6d{noformat}

> Impala should tolerate bad locale settings.
> -------------------------------------------
>
>                 Key: IMPALA-532
>                 URL: https://issues.apache.org/jira/browse/IMPALA-532
>             Project: IMPALA
>          Issue Type: Bug
>          Components: Backend
>    Affects Versions: Impala 1.1
>            Reporter: Ishaan Joshi
>            Priority: Minor
>
> Currently, the Statestore does not tolerate a bad locale setting and crashes while starting up.
> {code}
>  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
> {code}
> It should fall back to the standard locale ("C"), if the user's locale is messed up.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org