Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 85A64200CD9 for ; Thu, 20 Jul 2017 02:14:45 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 8255516A404; Thu, 20 Jul 2017 00:14:45 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 798C516A3FF for ; Thu, 20 Jul 2017 02:14:44 +0200 (CEST) Received: (qmail 13904 invoked by uid 500); 20 Jul 2017 00:14:43 -0000 Mailing-List: contact dev-help@impala.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@impala.incubator.apache.org Delivered-To: mailing list dev@impala.incubator.apache.org Received: (qmail 13892 invoked by uid 99); 20 Jul 2017 00:14:43 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Jul 2017 00:14:43 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id D3400C0326 for ; Thu, 20 Jul 2017 00:14:42 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.629 X-Spam-Level: ** X-Spam-Status: No, score=2.629 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, KAM_LOTSOFHASH=0.25, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=cloudera.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id UH8nVqUbf9H7 for ; Thu, 20 Jul 2017 00:14:38 +0000 (UTC) Received: from mail-ua0-f169.google.com (mail-ua0-f169.google.com [209.85.217.169]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 1B22B5F5B3 for ; Thu, 20 Jul 2017 00:14:38 +0000 (UTC) Received: by mail-ua0-f169.google.com with SMTP id 80so11729389uas.0 for ; Wed, 19 Jul 2017 17:14:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cloudera.com; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=+yZ8lbdESokYHRTHruM3FxcL722h0ue3vqYZD57EWKY=; b=Y3emGgj+0MzjWkDrKYJsyM3E8NGkn7gl/T4A5z8dRSdecURXNLbK45zH/U9D79I2Pf aPmisIWUR1fuogp2dwDFXkiHm+vyXMWnftdnq4bdwt+dGnhvGz88QAd5aNQWnoUnYi5e zVUHsQSxMD6KMP09w9SbDG+OhpNFBYEmkhri5PA8QLB4EUMb/jV8ScIpYVV2eiC43oEF PsNK34kXAN7v2iV9xhMpmxIMR20ldkkfIQpJKoDBJYi/VfAOYq7BzTEmH7alU/UpaGo1 nm71F1CUOnRJH8oDlAMSNHmt9GL+BrlvsM/AszwWELsf0ljKfOQfTmB6SJ7MzLnuXm4a bK3A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=+yZ8lbdESokYHRTHruM3FxcL722h0ue3vqYZD57EWKY=; b=Vw8mnAoEVkiDYUUv9O62GoA+K8AqF9VF5MJlQqB2XwdSxLSzs0ULL6sShPL/9SWLut iu1gVegF5GgyzmhdkWP/TDrw03c0zG4kivYfJzmjsU4LKnlBHEZ2OwsbMM23f3hZhxR0 kvgGAnmH0GPtKVPt7pUtHIhixwCY35nvhyuuRV7B1HfGBQOF4CJvDXlCtFr9TuQ50Uq9 4SLXHHtmPlnf0IIRC2SpS1TlDNZtwMXPiR6LsxEzKAtCJhFm1sIIOOs41GvO/PAqLl+z 3mbTS0zJObsM/It6CNq2KQYQKY/iAQ6jwJb7FCGlYgViWg8a85tDE+9LVpbssippROOI 3fxQ== X-Gm-Message-State: AIVw113tp1wTnxAk8DerGeHNuApVjfXYnN9KvWvEgEtWkIAGNM1vFEHK GZ9owLeLFr8dgWM2ZJ+ToTtseq2/PqDVJXo= X-Received: by 10.31.212.5 with SMTP id l5mr1076294vkg.73.1500509677221; Wed, 19 Jul 2017 17:14:37 -0700 (PDT) MIME-Version: 1.0 Received: by 10.176.2.113 with HTTP; Wed, 19 Jul 2017 17:14:06 -0700 (PDT) In-Reply-To: References: From: Bikramjeet Vig Date: Wed, 19 Jul 2017 17:14:06 -0700 Message-ID: Subject: Re: Problem running Impala built with dynamic linking To: dev@impala.incubator.apache.org Content-Type: multipart/alternative; boundary="001a114eea8e4b22270554b4a26e" archived-at: Thu, 20 Jul 2017 00:14:45 -0000 --001a114eea8e4b22270554b4a26e Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Didn't work, heres the output of rm CMakeCache.txt && cmake . -- Setup toolchain link flags -Wl,-rpath,/home/bikram/dev/Impala/toolchain/gcc-4.9.2/lib64 -L/home/bikram/dev/Impala/toolchain/gcc-4.9.2/lib64 -- Build type is DEBUG -- ENABLE_CODE_COVERAGE: false -- Boost version: 1.57.0 -- Found the following Boost libraries: -- thread -- regex -- filesystem -- system -- date_time -- Boost include dir: /home/bikram/dev/Impala/toolchain/boost-1.57.0-p3/include -- Boost libraries: /home/bikram/dev/Impala/toolchain/boost-1.57.0-p3/lib/libboost_thread.a/hom= e/bikram/dev/Impala/toolchain/boost-1.57.0-p3/lib/libboost_regex.a/home/bik= ram/dev/Impala/toolchain/boost-1.57.0-p3/lib/libboost_filesystem.a/home/bik= ram/dev/Impala/toolchain/boost-1.57.0-p3/lib/libboost_system.a/home/bikram/= dev/Impala/toolchain/boost-1.57.0-p3/lib/libboost_date_time.a -- Found OpenSSL: /usr/lib/x86_64-linux-gnu/libssl.so;/usr/lib/x86_64-linux-gnu/libcrypto.so (found version "1.0.2g") -- ----------> Adding thirdparty library openssl_ssl. <---------- -- Header files: /usr/include -- Added shared library dependency openssl_ssl: /usr/lib/x86_64-linux-gnu/libssl.so -- ----------> Adding thirdparty library openssl_crypto. <---------- -- Added shared library dependency openssl_crypto: /usr/lib/x86_64-linux-gnu/libcrypto.so -- Bzip2: /home/bikram/dev/Impala/toolchain/bzip2-1.0.6-p2/include -- ----------> Adding thirdparty library bzip2. <---------- -- Header files: /home/bikram/dev/Impala/toolchain/bzip2-1.0.6-p2/include -- Added static library dependency bzip2: /home/bikram/dev/Impala/toolchain/bzip2-1.0.6-p2/lib/libbz2.a -- Zlib: /home/bikram/dev/Impala/toolchain/zlib-1.2.8/include -- ----------> Adding thirdparty library zlib. <---------- -- Header files: /home/bikram/dev/Impala/toolchain/zlib-1.2.8/include -- Added static library dependency zlib: /home/bikram/dev/Impala/toolchain/zlib-1.2.8/lib/libz.a -- ----------> Adding thirdparty library hdfs. <---------- -- Header files: /home/bikram/dev/Impala/toolchain/cdh_components/hadoop-2.6.0-cdh5.13.0-SNA= PSHOT/include -- Added static library dependency hdfs: /home/bikram/dev/Impala/toolchain/cdh_components/hadoop-2.6.0-cdh5.13.0-SNA= PSHOT/lib/native/libhdfs.a -- ----------> Adding thirdparty library glog. <---------- -- Header files: /home/bikram/dev/Impala/toolchain/glog-0.3.4-p2/include -- Added static library dependency glog: /home/bikram/dev/Impala/toolchain/glog-0.3.4-p2/lib/libglog.a -- ----------> Adding thirdparty library gflags. <---------- -- Header files: /home/bikram/dev/Impala/toolchain/gflags-2.2.0-p1/include -- Added static library dependency gflags: /home/bikram/dev/Impala/toolchain/gflags-2.2.0-p1/lib/libgflags.a -- ----------> Adding thirdparty library pprof. <---------- -- Header files: /home/bikram/dev/Impala/toolchain/gperftools-2.5/include -- Added static library dependency pprof: /home/bikram/dev/Impala/toolchain/gperftools-2.5/lib/libprofiler.a -- ----------> Adding thirdparty library gtest. <---------- -- Header files: /home/bikram/dev/Impala/toolchain/gtest-1.6.0/include -- Added static library dependency gtest: /home/bikram/dev/Impala/toolchain/gtest-1.6.0/lib/libgtest.a -- LLVM llvm-config found at: /home/bikram/dev/Impala/toolchain/llvm-3.8.0-p1/bin/llvm-config -- LLVM clang++ found at: /home/bikram/dev/Impala/toolchain/llvm-3.8.0-p1/bin/clang++ -- LLVM opt found at: /home/bikram/dev/Impala/toolchain/llvm-3.8.0-p1/bin/opt -- LLVM_ROOT: /home/bikram/dev/Impala/toolchain/llvm-3.8.0-asserts-p1 -- LLVM llvm-config found at: /home/bikram/dev/Impala/toolchain/llvm-3.8.0-asserts-p1/bin/llvm-config -- LLVM include dir: /home/bikram/dev/Impala/toolchain/llvm-3.8.0-asserts-p1/include -- LLVM lib dir: /home/bikram/dev/Impala/toolchain/llvm-3.8.0-asserts-p1/li= b -- ----------> Adding thirdparty library cyrus_sasl. <---------- -- Header files: /usr/include -- Added shared library dependency cyrus_sasl: /usr/lib/x86_64-linux-gnu/libsasl2.so -- ----------> Adding thirdparty library ldap. <---------- -- Header files: /home/bikram/dev/Impala/toolchain/openldap-2.4.25/include -- Added static library dependency ldap: /home/bikram/dev/Impala/toolchain/openldap-2.4.25/lib/libldap.a -- ----------> Adding thirdparty library lber. <---------- -- Added static library dependency lber: /home/bikram/dev/Impala/toolchain/openldap-2.4.25/lib/liblber.a -- ----------> Adding thirdparty library thrift. <---------- -- Header files: /home/bikram/dev/Impala/toolchain/thrift-0.9.0-p9/include -- Added static library dependency thrift: /home/bikram/dev/Impala/toolchain/thrift-0.9.0-p9/lib/libthrift.a -- Thrift version: Thrift version 0.9.0 -- Thrift contrib dir: /home/bikram/dev/Impala/toolchain/thrift-0.9.0-p9 -- Thrift compiler: /home/bikram/dev/Impala/toolchain/thrift-0.9.0-p9/bin/thrift -- Found FLATBUFFERS: /home/bikram/dev/Impala/toolchain/flatbuffers-1.6.0/include -- ----------> Adding thirdparty library flatbuffers. <---------- -- Header files: /home/bikram/dev/Impala/toolchain/flatbuffers-1.6.0/includ= e -- Added static library dependency flatbuffers: /home/bikram/dev/Impala/toolchain/flatbuffers-1.6.0/lib/libflatbuffers.a -- FlatBuffers compiler: /home/bikram/dev/Impala/toolchain/flatbuffers-1.6.0/bin/flatc -- ----------> Adding thirdparty library snappy. <---------- -- Header files: /home/bikram/dev/Impala/toolchain/snappy-1.1.4/include -- Added static library dependency snappy: /home/bikram/dev/Impala/toolchain/snappy-1.1.4/lib/libsnappy.a -- ----------> Adding thirdparty library lz4. <---------- -- Header files: /home/bikram/dev/Impala/toolchain/lz4-1.7.5/include -- Added static library dependency lz4: /home/bikram/dev/Impala/toolchain/lz4-1.7.5/lib/liblz4.a -- /home/bikram/dev/Impala/toolchain/re2-20130115-p1/include -- ----------> Adding thirdparty library re2. <---------- -- Header files: /home/bikram/dev/Impala/toolchain/re2-20130115-p1/include -- Added static library dependency re2: /home/bikram/dev/Impala/toolchain/re2-20130115-p1/lib/libre2.a -- RapidJson include dir: /home/bikram/dev/Impala/toolchain/rapidjson-0.11/include -- ----------> Adding thirdparty library avro. <---------- -- Header files: /home/bikram/dev/Impala/toolchain/avro-1.7.4-p4/include -- Added static library dependency avro: /home/bikram/dev/Impala/toolchain/avro-1.7.4-p4/lib/libavro.a -- Found PROTOBUF: /home/bikram/dev/Impala/toolchain/protobuf-2.6.1/lib/libprotobuf.so -- ----------> Adding thirdparty library protobuf. <---------- -- Header files: /home/bikram/dev/Impala/toolchain/protobuf-2.6.1/include -- Added static library dependency protobuf: /home/bikram/dev/Impala/toolchain/protobuf-2.6.1/lib/libprotobuf.a -- ----------> Adding thirdparty library protoc. <---------- -- Header files: /home/bikram/dev/Impala/toolchain/protobuf-2.6.1/include -- Added static library dependency protoc: /home/bikram/dev/Impala/toolchain/protobuf-2.6.1/lib/libprotoc.a -- Found LIBEV: /home/bikram/dev/Impala/toolchain/libev-4.20/lib/libev.so -- ----------> Adding thirdparty library libev. <---------- -- Header files: /home/bikram/dev/Impala/toolchain/libev-4.20/include -- Added static library dependency libev: /home/bikram/dev/Impala/toolchain/libev-4.20/lib/libev.a -- Found CRCUTIL: /home/bikram/dev/Impala/toolchain/crcutil-440ba7babeff77ffad992df3a10c767f1= 84e946e-p1/lib/libcrcutil.so -- ----------> Adding thirdparty library crcutil. <---------- -- Header files: /home/bikram/dev/Impala/toolchain/crcutil-440ba7babeff77ffad992df3a10c767f1= 84e946e-p1/include -- Added static library dependency crcutil: /home/bikram/dev/Impala/toolchain/crcutil-440ba7babeff77ffad992df3a10c767f1= 84e946e-p1/lib/libcrcutil.a -- Found JNI: /usr/lib/jvm/jdk1.7.0_80/jre/lib/amd64/libjawt.so;/usr/lib/jvm/jdk1.7.0_80/= jre/lib/amd64/libjsig.so;/usr/lib/jvm/jdk1.7.0_80/jre/lib/amd64/server/libj= vm.so -- ----------> Adding thirdparty library java_jvm. <---------- -- Header files: /usr/lib/jvm/jdk1.7.0_80/include;/usr/lib/jvm/jdk1.7.0_80/include/linux;/us= r/lib/jvm/jdk1.7.0_80/include -- Added static library dependency java_jvm: /usr/lib/jvm/jdk1.7.0_80/jre/lib/amd64/server/libjvm.so -- ----------> Adding thirdparty library breakpad. <---------- -- Header files: /home/bikram/dev/Impala/toolchain/breakpad-ffe3e478657dc7126fca6329dfcedc49= f4c726d9-p2/include/breakpad -- Added static library dependency breakpad: /home/bikram/dev/Impala/toolchain/breakpad-ffe3e478657dc7126fca6329dfcedc49= f4c726d9-p2/lib/libbreakpad_client.a -- Added shared library dependency rt: /usr/lib/x86_64-linux-gnu/librt.so -- Added shared library dependency dl: /usr/lib/x86_64-linux-gnu/libdl.so Using Thrift compiler: /home/bikram/dev/Impala/toolchain/thrift-0.9.0-p9/bin/thrift Found output dir: /home/bikram/dev/Impala/shell/ Using FlatBuffers compiler: /home/bikram/dev/Impala/toolchain/flatbuffers-1.6.0/bin/flatc --java-o/home/bikram/dev/Impala/fe/generated-sources/gen-java-b --cpp-o/home/bikram/dev/Impala/be/generated-sources/gen-cpp-b -- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) -- WARNING: Doxygen not found - Docs will not be created -- Looking for sched_getcpu -- Looking for sched_getcpu - found -- Compiler Flags: -Wall -Wno-sign-compare -Wno-unknown-pragmas -pthread -fno-strict-aliasing -std=3Dc++14 -Wno-deprecated -Wno-vla -DBOOST_DATE_TIME_POSIX_TIME_STD_CONFIG -DBOOST_SYSTEM_NO_DEPRECATED -B /home/bikram/dev/Impala/toolchain/binutils-2.26.1/bin/ -fuse-ld=3Dgold -g -Wno-unused-local-typedefs -ggdb -gdwarf-2 -Werror -fverbose-asm -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -- Common /home/bikram/dev/Impala/be/build/debug/ -- Configuring done -- Generating done -- Build files have been written to: /home/bikram/dev/Impala On Wed, Jul 19, 2017 at 5:09 PM, Bikramjeet Vig wrote: > Thanks, lemme try it real quick and I'll get back to you > > On Wed, Jul 19, 2017 at 5:04 PM, Henry Robinson wrote: > >> Can you try: >> >> cd $IMPALA_HOME >> rm CMakeCache.txt >> cmake . >> >> >> If that doesn't work, can you send me the output of rm CMakeCache.txt && >> cmake . from IMPALA_HOME? >> >> Thanks, >> Henry >> >> On 19 July 2017 at 17:03, Henry Robinson wrote: >> >> > Sorry, I read too quickly - you've done that already! Let me take a >> look. >> > >> > On 19 July 2017 at 17:01, Henry Robinson wrote: >> > >> >> Yep, you need to remove the downloaded version of gflags and replace = it >> >> with a recent toolchain version. See my mail from yesterday for >> >> instructions: https://lists.apache.org/api/source.lua/a154f4 >> >> 3ef76e3da1271efed2740d447bbaeca09509156c7b728f2dd0@%3Cdev. >> >> impala.apache.org%3E >> >> >> >> On 19 July 2017 at 16:56, Bikramjeet Vig >> >> wrote: >> >> >> >>> After fetching latest from asf-gerrit (that has the toolchain commit >> >>> related to gflags) and doing a manual toolchain refresh, I am unable >> to >> >>> run >> >>> impala when I build with "make_debug" or "buildall -so", both >> statestore >> >>> and catalogd show the following error: >> >>> >> >>> ERROR: something wrong with flag 'flagfile' in file >> >>> '/data/jenkins/workspace/verify-impala-toolchain-package-bui >> >>> ld/label/ec2-package-ubuntu-16-04/toolchain/source/gflags/ >> >>> gflags-2.2.0-p1/src/gflags.cc'. >> >>> One possibility: file >> >>> '/data/jenkins/workspace/verify-impala-toolchain-package-bui >> >>> ld/label/ec2-package-ubuntu-16-04/toolchain/source/gflags/ >> >>> gflags-2.2.0-p1/src/gflags.cc' >> >>> is being linked both statically and dynamically into this executable= . >> >>> >> >>> I am only able to make it work if I go with static linking by >> building it >> >>> with "buildall" without the "-so" >> >>> >> >>> Anyone facing the same issue? >> >>> >> >> >> >> >> > >> > >> > -- >> > Henry Robinson >> > Software Engineer >> > Cloudera >> > 415-994-6679 <(415)%20994-6679> >> > >> > > --001a114eea8e4b22270554b4a26e--