You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@impala.apache.org by Marcel Kornacker <ma...@cloudera.com> on 2016/03/17 01:30:31 UTC

Re: error starting up statestored

On Wed, Mar 16, 2016 at 5:24 PM, Tim Armstrong <ta...@cloudera.com> wrote:
> It should be set by impala-config.sh:
>
> if [[ -n "$IMPALA_TOOLCHAIN" ]]; then
>
> LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:${IMPALA_TOOLCHAIN}/gcc-${IMPALA_GCC_VERSION}/lib64"
> fi

The problem with that is that my ld_library_path started with
/usr/lib/x86_64-linux-gnu, which contains libstdc++, so it never
bothered to look in toolchain/gcc-4.9.2/lib64.

I set it manually and now it works.

>
>
>
> On Wed, Mar 16, 2016 at 5:22 PM, Henry Robinson <he...@cloudera.com> wrote:
>>
>> I solved this by updating my LD_LIBRARY_PATH:
>>
>>
>> LD_LIBRARY_PATH=/home/henry/src/cloudera/impala-toolchain/gcc-4.9.2/lib64/:$LD_LIBRARY_PATH
>>
>> Not sure why this isn't taken care of by the toolchain.
>>
>> (Please consider posting these questions on the
>> dev@impala.incubator.apache.org mailing list so the answers are available to
>> everyeone).
>>
>> On 16 March 2016 at 17:19, Marcel Kornacker <ma...@cloudera.com> wrote:
>>>
>>> I'm getting this after a buildall, has anyone else seen that? (Or know
>>> what setup problem this indicates?)
>>>
>>> /home/marcel/impala/be/build/latest/statestore/statestored:
>>> /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `CXXABI_1.3.8' not
>>> found (required by
>>> /home/marcel/impala/be/build/latest/statestore/statestored)
>>> /home/marcel/impala/be/build/latest/statestore/statestored:
>>> /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.20' not
>>> found (required by
>>> /home/marcel/impala/be/build/latest/statestore/statestored)
>>
>>
>>
>>
>> --
>> Henry Robinson
>> Software Engineer
>> Cloudera
>> 415-994-6679
>
>

Re: error starting up statestored

Posted by Juan Yu <jy...@cloudera.com>.
Iirc, start a new shell should fix this as well.
On Mar 16, 2016 5:30 PM, "Marcel Kornacker" <ma...@cloudera.com> wrote:

> On Wed, Mar 16, 2016 at 5:24 PM, Tim Armstrong <ta...@cloudera.com>
> wrote:
> > It should be set by impala-config.sh:
> >
> > if [[ -n "$IMPALA_TOOLCHAIN" ]]; then
> >
> >
> LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:${IMPALA_TOOLCHAIN}/gcc-${IMPALA_GCC_VERSION}/lib64"
> > fi
>
> The problem with that is that my ld_library_path started with
> /usr/lib/x86_64-linux-gnu, which contains libstdc++, so it never
> bothered to look in toolchain/gcc-4.9.2/lib64.
>
> I set it manually and now it works.
>
> >
> >
> >
> > On Wed, Mar 16, 2016 at 5:22 PM, Henry Robinson <he...@cloudera.com>
> wrote:
> >>
> >> I solved this by updating my LD_LIBRARY_PATH:
> >>
> >>
> >>
> LD_LIBRARY_PATH=/home/henry/src/cloudera/impala-toolchain/gcc-4.9.2/lib64/:$LD_LIBRARY_PATH
> >>
> >> Not sure why this isn't taken care of by the toolchain.
> >>
> >> (Please consider posting these questions on the
> >> dev@impala.incubator.apache.org mailing list so the answers are
> available to
> >> everyeone).
> >>
> >> On 16 March 2016 at 17:19, Marcel Kornacker <ma...@cloudera.com>
> wrote:
> >>>
> >>> I'm getting this after a buildall, has anyone else seen that? (Or know
> >>> what setup problem this indicates?)
> >>>
> >>> /home/marcel/impala/be/build/latest/statestore/statestored:
> >>> /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `CXXABI_1.3.8' not
> >>> found (required by
> >>> /home/marcel/impala/be/build/latest/statestore/statestored)
> >>> /home/marcel/impala/be/build/latest/statestore/statestored:
> >>> /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.20' not
> >>> found (required by
> >>> /home/marcel/impala/be/build/latest/statestore/statestored)
> >>
> >>
> >>
> >>
> >> --
> >> Henry Robinson
> >> Software Engineer
> >> Cloudera
> >> 415-994-6679
> >
> >
>