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 70E32200C23 for ; Wed, 22 Feb 2017 09:42:08 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 6F856160B67; Wed, 22 Feb 2017 08:42:08 +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 B5976160B49 for ; Wed, 22 Feb 2017 09:42:07 +0100 (CET) Received: (qmail 86191 invoked by uid 500); 22 Feb 2017 08:42:06 -0000 Mailing-List: contact user-help@orc.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@orc.apache.org Delivered-To: mailing list user@orc.apache.org Received: (qmail 86181 invoked by uid 99); 22 Feb 2017 08:42:06 -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; Wed, 22 Feb 2017 08:42:06 +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 6C213C05B0 for ; Wed, 22 Feb 2017 08:42:06 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3.439 X-Spam-Level: *** X-Spam-Status: No, score=3.439 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_FONT_LOW_CONTRAST=0.001, HTML_IMAGE_ONLY_16=1.048, 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, T_REMOTE_IMAGE=0.01, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd4-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 (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id WTyulsEsnr0G for ; Wed, 22 Feb 2017 08:42:05 +0000 (UTC) Received: from mail-vk0-f45.google.com (mail-vk0-f45.google.com [209.85.213.45]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 3DA4C5FAD4 for ; Wed, 22 Feb 2017 08:42:05 +0000 (UTC) Received: by mail-vk0-f45.google.com with SMTP id k127so2425436vke.0 for ; Wed, 22 Feb 2017 00:42:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=0LjDD4YKSGWHXTsnIViPokmbhJoOg/jWgM7/6bwTHsI=; b=Jiu0RQFaCDs5GtJiaPcsgwS1/7uyHLnZzNVpPr84l2xghrGwz6R4vMW7qlkHlQiaOa dmSWitpvHc+PU5EgDscSD7b7cXIFZFlLmaR1vsUnlpsqwazLFAZQrpQooWL/UEIWyAa4 5P91jCGEAQXBuuQtkX+omBrECcyLFLQML/UsnuEEB2isSk7Dc+tsbvziCpcMPUgqacx0 2bj11Mr+lfl0POBjHGUuaHaxGoTcsQpcsg8eULnWkRl8McwBDH02g5dpnBb3gKmkP+0e Pbv/S4G2Rfqik7dwW5uDnMNFf1p6yOthNP/c4lrMWQA9jlqHAf3b+REgfcI0Dmg5V75l JXYw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=0LjDD4YKSGWHXTsnIViPokmbhJoOg/jWgM7/6bwTHsI=; b=e6f+ZDOzbkwrKT731spSuIkEUtT9p9u/XwRTcHfP4MkrYdOeAbIJpJoUKkIX3DF9YW 0InM9+qr+pPu56AMTim19DbT/7pgLP0XEFW0Ud62SAFP61+tU1X5NySOpFuqfeX0Sjye tyKJDGznuzaEPapYSzUZd7blApRYeIIGTwojjDviZgRhld8NzgkR8gdCYwZ3WTV4KUEi HINZ5+9BvP2hM2Kl9oWC6nGz5iwMUfpqMI10JzP+6RGYL0wBYq4w/nmXZ0e8v6KLj+Ey dLlNSuKWgH7JNdCpa8E/XTh8bg3Vb44PAsMSxQVzTBX+D7fZYOLrvyiItelaf28gxC40 4FYg== X-Gm-Message-State: AMke39na48WvEWlncoBOqZ+jRoo/8hte1zqkFPGsic8Lxc4u9l56Sm7NJS/w9OQJ08Zw4O5x6YBLufssgRS01g== X-Received: by 10.31.66.139 with SMTP id p133mr15744014vka.20.1487752918838; Wed, 22 Feb 2017 00:41:58 -0800 (PST) MIME-Version: 1.0 Received: by 10.103.50.78 with HTTP; Wed, 22 Feb 2017 00:41:58 -0800 (PST) From: =?UTF-8?Q?Istv=C3=A1n?= Date: Wed, 22 Feb 2017 09:41:58 +0100 Message-ID: Subject: ORC without Hadoop To: user@orc.apache.org Content-Type: multipart/alternative; boundary=001a11446e283db8ec05491a780f archived-at: Wed, 22 Feb 2017 08:42:08 -0000 --001a11446e283db8ec05491a780f Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi, I was wondering how hard it would be to drop Hadoop as a dependency from ORC. The reason why I am curious is because I have the following code: import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.fs.Path; import org.apache.orc.OrcFile; import org.apache.orc.TypeDescription; import org.apache.orc.Writer; Configuration conf =3D new Configuration(); TypeDescription schema1 =3D TypeDescription.fromString("struct= "); Writer writer =3D OrcFile.createWriter(new Path("/data/test3.java.orc"), OrcFile.writerOptions(conf).setSchema(schema1)); I need Hadoop because I would like to set a path (not on HDFS) for the ORC file and OrcFile requires and empty Hadoop config. If I am not mistaken these could be achieved not using the Hadoop libraries. Does anybody has a solution to avoiding Hadoop libraries for a ORC project? Thank you in advance, Istvan --=20 the sun shines for all =E1=90=A7 --001a11446e283db8ec05491a780f Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi,

I was wondering how hard it would b= e to drop Hadoop as a dependency from ORC. The reason why I am curious is b= ecause I have the following code:

import org.= apache.hadoop.conf.Configuration;
import org.apache.hadoop.fs.Pat= h;
import org.apache.orc.OrcFile;
import org.apache.orc= .TypeDescription;
import org.apache.orc.Writer;

Configuration conf =3D new Configuration();
TypeDescripti= on schema1 =3D TypeDescription.fromString("struct<x:int,y:int>&q= uot;);
Writer writer =3D OrcFile.createWriter(new Path("/dat= a/test3.java.orc"), OrcFile.writerOptions(conf).setSchema(schema1));

I need Hadoop because I would like to set a path (n= ot on HDFS) for the ORC file and OrcFile requires and empty Hadoop config. = If I am not mistaken these could be achieved not using the Hadoop libraries= .

Does anybody has a solution to avoiding Hadoop l= ibraries for a ORC project?

Thank you in advance,<= /div>
Istvan

--
= the sun shines for all


=E1=90=A7
--001a11446e283db8ec05491a780f--