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 6995A200C16 for ; Thu, 9 Feb 2017 21:36:47 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 680ED160B50; Thu, 9 Feb 2017 20:36:47 +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 B2F45160B4B for ; Thu, 9 Feb 2017 21:36:46 +0100 (CET) Received: (qmail 6611 invoked by uid 500); 9 Feb 2017 20:36:45 -0000 Mailing-List: contact issues-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hive.apache.org Delivered-To: mailing list issues@hive.apache.org Received: (qmail 6601 invoked by uid 99); 9 Feb 2017 20:36:45 -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; Thu, 09 Feb 2017 20:36:45 +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 86962C3269 for ; Thu, 9 Feb 2017 20:36:45 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -1.199 X-Spam-Level: X-Spam-Status: No, score=-1.199 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_LAZY_DOMAIN_SECURITY=1, RP_MATCHES_RCVD=-2.999] autolearn=disabled Received: from mx1-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 Ta0ygjhUAyUP for ; Thu, 9 Feb 2017 20:36:44 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id C66CF5FCB6 for ; Thu, 9 Feb 2017 20:36:43 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id C019AE0156 for ; Thu, 9 Feb 2017 20:36:42 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 0A77B21D6A for ; Thu, 9 Feb 2017 20:36:42 +0000 (UTC) Date: Thu, 9 Feb 2017 20:36:42 +0000 (UTC) From: "Sahil Takiar (JIRA)" To: issues@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Comment Edited] (HIVE-15856) Hive export/import (hive.exim.uri.scheme.whitelist) to support s3a MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 09 Feb 2017 20:36:47 -0000 [ https://issues.apache.org/jira/browse/HIVE-15856?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15860153#comment-15860153 ] Sahil Takiar edited comment on HIVE-15856 at 2/9/17 8:36 PM: ------------------------------------------------------------- [~zyork] it seems that HIVE-13463 fixes issues when trying to import across filesystems, but in order for an export / import command to run against a filesystem, the scheme of the filesystem uri must be in the list {{hive.exim.uri.scheme.whitelist}} - currently there are no S3 schemes in that list. At least, the following query fails: {code} export table src to '${hiveconf:test.blobstore.path.unique}/exim/src'; {code} with the following exception: {code} org.apache.hadoop.hive.ql.parse.SemanticException: Invalid path only the following file systems accepted for export/import : hdfs,pfile,file at org.apache.hadoop.hive.ql.parse.EximUtil.getValidatedURI(EximUtil.java:187) at org.apache.hadoop.hive.ql.parse.ExportSemanticAnalyzer.analyzeInternal(ExportSemanticAnalyzer.java:73) at org.apache.hadoop.hive.ql.parse.BaseSemanticAnalyzer.analyze(BaseSemanticAnalyzer.java:258) at org.apache.hadoop.hive.ql.Driver.compile(Driver.java:514) at org.apache.hadoop.hive.ql.Driver.compileInternal(Driver.java:1319) at org.apache.hadoop.hive.ql.Driver.runInternal(Driver.java:1459) at org.apache.hadoop.hive.ql.Driver.run(Driver.java:1239) at org.apache.hadoop.hive.ql.Driver.run(Driver.java:1229) at org.apache.hadoop.hive.cli.CliDriver.processLocalCmd(CliDriver.java:233) at org.apache.hadoop.hive.cli.CliDriver.processCmd(CliDriver.java:184) at org.apache.hadoop.hive.cli.CliDriver.processLine(CliDriver.java:403) at org.apache.hadoop.hive.cli.CliDriver.processLine(CliDriver.java:336) ... {code} was (Author: stakiar): [~zyork] it seems that HIVE-13463 fixes issues when trying to import across filesystems, but in order for an export / import command to run against a filesystem, the scheme of the filesystem uri must be in the list {{hive.exim.uri.scheme.whitelist}} - currently there are no S3 schemes in that list. At least, the following query fails: {quote} export table src to '${hiveconf:test.blobstore.path.unique}/exim/src'; {quote} with the following exception: {quote} org.apache.hadoop.hive.ql.parse.SemanticException: Invalid path only the following file systems accepted for export/import : hdfs,pfile,file at org.apache.hadoop.hive.ql.parse.EximUtil.getValidatedURI(EximUtil.java:187) at org.apache.hadoop.hive.ql.parse.ExportSemanticAnalyzer.analyzeInternal(ExportSemanticAnalyzer.java:73) at org.apache.hadoop.hive.ql.parse.BaseSemanticAnalyzer.analyze(BaseSemanticAnalyzer.java:258) at org.apache.hadoop.hive.ql.Driver.compile(Driver.java:514) at org.apache.hadoop.hive.ql.Driver.compileInternal(Driver.java:1319) at org.apache.hadoop.hive.ql.Driver.runInternal(Driver.java:1459) at org.apache.hadoop.hive.ql.Driver.run(Driver.java:1239) at org.apache.hadoop.hive.ql.Driver.run(Driver.java:1229) at org.apache.hadoop.hive.cli.CliDriver.processLocalCmd(CliDriver.java:233) at org.apache.hadoop.hive.cli.CliDriver.processCmd(CliDriver.java:184) at org.apache.hadoop.hive.cli.CliDriver.processLine(CliDriver.java:403) at org.apache.hadoop.hive.cli.CliDriver.processLine(CliDriver.java:336) ... {quote} > Hive export/import (hive.exim.uri.scheme.whitelist) to support s3a > ------------------------------------------------------------------ > > Key: HIVE-15856 > URL: https://issues.apache.org/jira/browse/HIVE-15856 > Project: Hive > Issue Type: Bug > Components: Hive > Reporter: Sahil Takiar > Assignee: Sahil Takiar > > Add support for export / import operations on S3. -- This message was sent by Atlassian JIRA (v6.3.15#6346)