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 B5231200D18 for ; Wed, 27 Sep 2017 05:24:02 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id B3B891609EA; Wed, 27 Sep 2017 03:24:02 +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 04ED91609D7 for ; Wed, 27 Sep 2017 05:24:01 +0200 (CEST) Received: (qmail 66811 invoked by uid 500); 27 Sep 2017 03:24:00 -0000 Mailing-List: contact user-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hive.apache.org Delivered-To: mailing list user@hive.apache.org Received: (qmail 66787 invoked by uid 99); 27 Sep 2017 03:24:00 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Sep 2017 03:24:00 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id C0D3D182237 for ; Wed, 27 Sep 2017 03:23:59 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.379 X-Spam-Level: ** X-Spam-Status: No, score=2.379 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, 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: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id 4w16sZiSNZuc for ; Wed, 27 Sep 2017 03:23:58 +0000 (UTC) Received: from mail-wm0-f41.google.com (mail-wm0-f41.google.com [74.125.82.41]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 7A6DF5FDBC for ; Wed, 27 Sep 2017 03:23:58 +0000 (UTC) Received: by mail-wm0-f41.google.com with SMTP id b195so13453179wmb.5 for ; Tue, 26 Sep 2017 20:23:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=6fQ8jEHfiq51PWVklRHAHB2/SLFjcbhzRo3VgRtWDQg=; b=h7yh3HwEpcPyAsohgmiPy30tuQCS+0k3RUSO9TsXoqOFshfBYSeCL5xUcKCBbIqyw4 9TQjsSchlsbKvpZAiNFXRvvyIVoScNslkSCehs6FCiRq7MaTVnTkQqdS9pOi6z0OM9OE fSyrmnyjRw9lZ3kIAhxGmAznqLiFYsb3pUThsJzqie3vV+uHZk4MH75YvfTW+aUZpaZX zXFQl11aHqIc9tb+vzeF5PYajteXdETAxfBett7t3FdCtAJeRhbSoWZnnPRh5wf9n8oN ow/rlvpSY0hj2Ml6MCrfciy2NVhWFekA47q+y4JhXDG6r0Ev/VNfn6F2cbIKindnIGTG dzew== 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=6fQ8jEHfiq51PWVklRHAHB2/SLFjcbhzRo3VgRtWDQg=; b=oxq1En/2I+Cqyd3oSI4Cp0s5wuMoZ2EB+9pwUqJ7uFKeXqoblNFtYbezQLDwRXBzDl 1+A72la6SxxM7LbOnqZeN6a3QIHRZ8N6VrTMFxaxsBoe6hO/07Y55vStuWMdszhmY7PW EF5TncjKnfaEUxOpDrBxBo0eRdV/lGEymXqaRDKXTtYn068nXNv7vF2tqFKGn45Y+mz6 YS1wT+21WFW5LtyEfn3saeX9/3x7rLl6A7r/jnwXAVZI9Ah+OVxAQIAMSj6dImHWQxkl kjBWDJDf9oaJwVIPRRWJXPKp56SZZIWNVnj9pmHNy0Cp8a8Iv8zeoI95cGeNUqCNd0ao G/FQ== X-Gm-Message-State: AHPjjUisz/LlQqFrbPXxSf1UpQO5yzNjnAmuBydrhNbaou+iGlsGcmGJ 9kl7rVPtcSeqj0N2NVaGsh9/bx0E2Urr4vEgBK0= X-Google-Smtp-Source: AOwi7QDpIxVYTb1BC05hcmiCaHIQT0JlnB6OTojpNq1kllu0OYGeS4cQiwuLxEYzo0NT+9Y3mWHsBXGB870lVUCTxlA= X-Received: by 10.28.67.197 with SMTP id q188mr221016wma.41.1506482637064; Tue, 26 Sep 2017 20:23:57 -0700 (PDT) MIME-Version: 1.0 Received: by 10.28.184.19 with HTTP; Tue, 26 Sep 2017 20:23:36 -0700 (PDT) In-Reply-To: References: From: Stephen Sprague Date: Tue, 26 Sep 2017 20:23:36 -0700 Message-ID: Subject: Re: hive on spark - why is it so hard? To: "user@hive.apache.org" Content-Type: multipart/alternative; boundary="94eb2c0d4b667151fc055a2352ac" archived-at: Wed, 27 Sep 2017 03:24:02 -0000 --94eb2c0d4b667151fc055a2352ac Content-Type: text/plain; charset="UTF-8" oh. i missed Gopal's reply. oy... that sounds foreboding. I'll keep you posted on my progress. On Tue, Sep 26, 2017 at 4:40 PM, Gopal Vijayaraghavan wrote: > Hi, > > > org.apache.hadoop.hive.ql.parse.SemanticException: Failed to get a > spark session: org.apache.hadoop.hive.ql.metadata.HiveException: Failed > to create spark client. > > I get inexplicable errors with Hive-on-Spark unless I do a three step > build. > > Build Hive first, use that version to build Spark, use that Spark version > to rebuild Hive. > > I have to do this to make it work because Spark contains Hive jars and > Hive contains Spark jars in the class-path. > > And specifically I have to edit the pom.xml files, instead of passing in > params with -Dspark.version, because the installed pom files don't get > replacements from the build args. > > Cheers, > Gopal > > > --94eb2c0d4b667151fc055a2352ac Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
oh. i missed Gopal's reply. =C2=A0oy... that sounds fore= boding.=C2=A0 I'll keep you posted on my progress.

On Tue, Sep 26, 2017 at 4:= 40 PM, Gopal Vijayaraghavan <gopalv@apache.org> wrote:
Hi,

> org.apache.hadoop.hive.ql.parse.SemanticException: Failed to get = a spark session: org.apache.hadoop.hive.ql.metadata.HiveException: Fai= led to create spark client.

I get inexplicable errors with Hive-on-Spark unless I do a three ste= p build.

Build Hive first, use that version to build Spark, use that Spark version t= o rebuild Hive.

I have to do this to make it work because Spark contains Hive jars and Hive= contains Spark jars in the class-path.

And specifically I have to edit the pom.xml files, instead of passing in pa= rams with -Dspark.version, because the installed pom files don't get re= placements from the build args.

Cheers,
Gopal



--94eb2c0d4b667151fc055a2352ac--