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 100FE200D1A for ; Mon, 9 Oct 2017 14:11:35 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 0AE2F1609E0; Mon, 9 Oct 2017 12:11:35 +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 50F251609BB for ; Mon, 9 Oct 2017 14:11:34 +0200 (CEST) Received: (qmail 71336 invoked by uid 500); 9 Oct 2017 12:11:33 -0000 Mailing-List: contact user-help@livy.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@livy.incubator.apache.org Delivered-To: mailing list user@livy.incubator.apache.org Received: (qmail 71316 invoked by uid 99); 9 Oct 2017 12:11:33 -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; Mon, 09 Oct 2017 12:11:33 +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 A76F7C2CAC for ; Mon, 9 Oct 2017 12:11:32 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.1 X-Spam-Level: X-Spam-Status: No, score=-0.1 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=2, KAM_TRACKIMAGE=0.2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-2.8, RCVD_IN_SORBS_SPAM=0.5] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=an10-io.20150623.gappssmtp.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id DrmnPSdHAa19 for ; Mon, 9 Oct 2017 12:11:30 +0000 (UTC) Received: from mail-io0-f171.google.com (mail-io0-f171.google.com [209.85.223.171]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 3519A5FBEC for ; Mon, 9 Oct 2017 12:11:30 +0000 (UTC) Received: by mail-io0-f171.google.com with SMTP id m16so12526519iod.1 for ; Mon, 09 Oct 2017 05:11:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=an10-io.20150623.gappssmtp.com; s=20150623; h=from:to:subject:message-id:date:mime-version; bh=I4ZAcAV69fDUOEx16Wu5b3uoVrNh/XRs5fzae/wq7+0=; b=OWon8Dz1/fImy6lI3jY0lq+zxky3GEy8h30R8X2mC+f457HXvofRjAEztTmfkHadLA g+WDsqUDjqCSFHt37c4ib1WP9Jh0SxDvthTlv8H0JUqvGQZM2mfrGY7CvR1ULTiaiK10 Lo1SIkbARUvlvxouz7qQrNdFo+Jko5hYQBDSdNYYozQ/P2cePSfg0RutxBp08DXwYuhA enpH6/5sMIljsGCeGjt7p4xEtNVEepNJWF5yKC5ZLDz1+YhGkk6qhZydtQWIYF5UglUo QuP4tGl5v1dw+3PMOtp7TfKpiHCHPlR3B+J1JfZmJVZdhdj3RxmPxvjxsHUdSDeO61S9 ceYw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:message-id:date:mime-version; bh=I4ZAcAV69fDUOEx16Wu5b3uoVrNh/XRs5fzae/wq7+0=; b=n8U7cmv6XLpnJdJbpCY6mO1liRuKe71V4KBathzc+LpOCjVl0fhXuQb66R66cy0om4 SvRXZBRXjACl5f5/+now0QKH0yIEKyXhpMZ1Tpw73BwPeIeT9tMJo+e4nBbiy+DSSoTJ fPHe7Q+HK5GADuZvF2+lMYoDLB/jpkkpTKrJpbTcXTUWuV0JutcCgHQJyW+0lEWPydJQ cCJjFUVoao3XAwXGifRVQ5mwiELAOC3vdX5V9r0mHeIcvGchZjrcCv4AhGsyQ9l8x4KJ 34ipgy2BGbOOAKQEBlL/U/MHEI5hrvPNWgtzQdJLDDQHcEoM7jicZlioymHNl7Gr6VlR w4Ow== X-Gm-Message-State: AMCzsaWniAUwSfWQCZeFWO/J4O7qKepxZw5Anv0QYs2TrTXRdH9DD3IK HeHKSYaM9yfAzvtywnxu6mLoCgnfFmk= X-Google-Smtp-Source: AOwi7QDXy/6rdFVQlxYHtHUAaUYupFQcUBZSOwaZgHFXAKgrEm2EiGs+eWeCLqvTqvLCwI6ihxpg7A== X-Received: by 10.107.188.199 with SMTP id m190mr13380307iof.255.1507551089393; Mon, 09 Oct 2017 05:11:29 -0700 (PDT) Received: from [127.0.0.1] (send-12.prod.mixmax-mailer.com. [52.200.39.124]) by smtp.gmail.com with ESMTPSA id m145sm3923607itg.39.2017.10.09.05.11.28 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 09 Oct 2017 05:11:28 -0700 (PDT) Content-Type: multipart/alternative; boundary="----sinikael-?=_1-15075510880290.7025099414745923" From: Junaid Nasir To: user@livy.incubator.apache.org Subject: Spark cassandra connector with livy Message-Id: Date: Mon, 09 Oct 2017 12:11:27 +0000 X-Mixmax-Message-Id: 9dznYnlhv2b3ad3kb X-Mailer: Mixmax (mixmax.com) MIME-Version: 1.0 archived-at: Mon, 09 Oct 2017 12:11:35 -0000 ------sinikael-?=_1-15075510880290.7025099414745923 Content-Type: text/plain; format=flowed Content-Transfer-Encoding: quoted-printable Hi, How can I include Cassandra-connect-package to Livy spark session? I use the following spark-submit command/spark-submit --master spark://10.128.1.1:7077 --packages datastax:spark-cassandra-connector:2.0.= 1-s_2.11 --conf spark.cassandra.connection.host=3D"10.128.1.1,10.128.1.2,10= .128.1.3" how can i translate it to livy's session request or add this to = livy conf file? Also how to provide list of string and Map of key=3Dval as = mentioned in livy's documentation Regards,Junaid Nasir ------sinikael-?=_1-15075510880290.7025099414745923 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable 96 =
=
Hi,

How can I include Cassandra-c= onnect-package to Livy spark session?

I use = the following spark-submit command=C2=A0
/spark-submit --master spark://10.128.1.= 1:7077 --packages datastax:spark-cassandra-connector:2.0.1-s_2.11 --conf = spark.cassandra.connection.host=3D"10.128.1.1,10.128.1.2,10.128.1.= 3"

how can i translate it to = livy's session request or add this to livy conf file?=

Also how to provide list of string and Map of = key=3Dval as mentioned in livy's documentation
<= br>
Regards,
Junaid Nasir
3D""
= =20 ------sinikael-?=_1-15075510880290.7025099414745923--