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 B989B200AE3 for ; Wed, 4 May 2016 09:28:24 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id B7BE91609FD; Wed, 4 May 2016 09:28:24 +0200 (CEST) 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 0D30A1609F1 for ; Wed, 4 May 2016 09:28:23 +0200 (CEST) Received: (qmail 48918 invoked by uid 500); 4 May 2016 07:28:22 -0000 Mailing-List: contact user-help@spark.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list user@spark.apache.org Received: (qmail 48908 invoked by uid 99); 4 May 2016 07:28:22 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 May 2016 07:28:22 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id BCA3ECA38E for ; Wed, 4 May 2016 07:28:21 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.18 X-Spam-Level: * X-Spam-Status: No, score=1.18 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, MIME_QP_LONG_LINE=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx2-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id 0KoBrgLp45_l for ; Wed, 4 May 2016 07:28:21 +0000 (UTC) Received: from mail-wm0-f49.google.com (mail-wm0-f49.google.com [74.125.82.49]) by mx2-lw-eu.apache.org (ASF Mail Server at mx2-lw-eu.apache.org) with ESMTPS id 623AB5F24A for ; Wed, 4 May 2016 07:28:20 +0000 (UTC) Received: by mail-wm0-f49.google.com with SMTP id n129so175783057wmn.1 for ; Wed, 04 May 2016 00:28:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-transfer-encoding:from:mime-version:subject:date:message-id :references:cc:in-reply-to:to; bh=AkRO6/VLntuY3fT73kS465YuL17GwGhpRyuuJ6qE8ZY=; b=MZGouW4BqA6PWMpiqPNg6GFCQY/ZLgV2RRnKmObhU7hGUMUU5+zKF6NKTyMRmQhayI dvgEVB8GZ7ZId7OfXoBxqN+v8xMYYUqlHxkNI320uRst5evk0mCGXzzx7f7dP9hrNa3Z IKXKyJF6wMn1JAIDAIwKGx/xOifisdy77wgwTjl8FSHNGEHNemEgmxAQ2cdmlOszAm6H okO6PMMQ8I9kjKLPIkScdRP4cVEndcKMiYM/5yBmmRHEyVSHTY3jOGnyfnF28U9U55Rb WunkKH22kRws8Z+Rh7T8b6+a0s0FJbz5eSUsPEEVA4VEkw2cRRr7tq4fIp+U/j8CEbMO sKfA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:content-transfer-encoding:from:mime-version :subject:date:message-id:references:cc:in-reply-to:to; bh=AkRO6/VLntuY3fT73kS465YuL17GwGhpRyuuJ6qE8ZY=; b=AI0QgIORlj6TSXBZUKBV0f0IaxZ18x4bnk0VadGQ/XysFfAyN30VKNXd+RWM0FB9yO A87+k5WZ7fP08KoS+Hsw536faJIxr6/Vne8K5FEQnH1OEbBk//OMDlhJOPzroybbwEv3 G7YRdtnDKyGoA7/sS/xIN21G2sH2EKwnSBlh9JT/KgPCjQIzNGLdHvVwTV8HYFFquSNo u8SQmzNm00pgBGx88vyxwVoZhmZAJUap5Vj+f4O8WUnQjoIt2lYKDroFn0ftfgTcDg8C 5eoGDtrDcmF/2dfUaMy0iNBPDllS7/UrmZ0aiTdWVIcHpExrMuMeWIhPNt1J10UrQVea pNeQ== X-Gm-Message-State: AOPr4FXEcEe8UxrAmTAp7u77GejFO/94g//Cr6pgtNrAwrFelEzhG0L6RuNBXSjISrip2A== X-Received: by 10.194.11.36 with SMTP id n4mr7485123wjb.10.1462346900123; Wed, 04 May 2016 00:28:20 -0700 (PDT) Received: from [10.130.233.85] ([176.3.29.233]) by smtp.gmail.com with ESMTPSA id b15sm3310151wmd.1.2016.05.04.00.28.16 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 04 May 2016 00:28:18 -0700 (PDT) Content-Type: multipart/alternative; boundary=Apple-Mail-C0E8202F-DA03-4FBF-BAA6-3E2C51234441 Content-Transfer-Encoding: 7bit From: =?utf-8?Q?J=C3=B6rn_Franke?= Mime-Version: 1.0 (1.0) Subject: Re: migration from Teradata to Spark SQL Date: Wed, 4 May 2016 09:22:12 +0200 Message-Id: <3DAB59E5-F6CD-4DF3-8F92-3737D9213266@gmail.com> References: Cc: user@spark.apache.org In-Reply-To: To: Tapan Upadhyay X-Mailer: iPhone Mail (13E238) archived-at: Wed, 04 May 2016 07:28:24 -0000 --Apple-Mail-C0E8202F-DA03-4FBF-BAA6-3E2C51234441 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Look at lambda architecture. What is the motivation of your migration? > On 04 May 2016, at 03:29, Tapan Upadhyay wrote: >=20 > Hi, >=20 > We are planning to move our adhoc queries from teradata to spark. We have h= uge volume of queries during the day. What is best way to go about it -=20 >=20 > 1) Read data directly from teradata db using spark jdbc >=20 > 2) Import data using sqoop by EOD jobs into hive tables stored as parquet a= nd then run queries on hive tables using spark sql or spark hive context. >=20 > any other ways through which we can do it in a better/efficiently? >=20 > Please guide. >=20 > Regards, > Tapan >=20 --Apple-Mail-C0E8202F-DA03-4FBF-BAA6-3E2C51234441 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
Look at lambda architecture.

What is t= he motivation of your migration?

On 04 May 2016, at 03:29, Tap= an Upadhyay <tapanu@gmail.com>= wrote:

Hi,
We are planning to move our adhoc queries from teradata to s= park. We have huge volume of queries during the day. What is best way to go a= bout it - 

1) Read data directly from teradata= db using spark jdbc

2) Import data using sqoop by E= OD jobs into hive tables stored as parquet and then run queries on hive tabl= es using spark sql or spark hive context.

any other= ways through which we can do it in a better/efficiently?

Please guide.

Regar= ds,
Tapan

= --Apple-Mail-C0E8202F-DA03-4FBF-BAA6-3E2C51234441--