Return-Path: X-Original-To: apmail-hive-issues-archive@minotaur.apache.org Delivered-To: apmail-hive-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1A4EE1890B for ; Tue, 13 Oct 2015 19:10:06 +0000 (UTC) Received: (qmail 99182 invoked by uid 500); 13 Oct 2015 19:10:05 -0000 Delivered-To: apmail-hive-issues-archive@hive.apache.org Received: (qmail 98915 invoked by uid 500); 13 Oct 2015 19:10:05 -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 98808 invoked by uid 99); 13 Oct 2015 19:10:05 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Oct 2015 19:10:05 +0000 Date: Tue, 13 Oct 2015 19:10:05 +0000 (UTC) From: "Sergey Shelukhin (JIRA)" To: issues@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-12087) IMPORT TABLE fails MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HIVE-12087?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14955488#comment-14955488 ] Sergey Shelukhin commented on HIVE-12087: ----------------------------------------- Ah nm, I see it has been marked duplicate. > IMPORT TABLE fails > ------------------ > > Key: HIVE-12087 > URL: https://issues.apache.org/jira/browse/HIVE-12087 > Project: Hive > Issue Type: Bug > Components: Import/Export > Affects Versions: 1.2.1 > Environment: Hortonworks HDP 2.3 > Reporter: Willem van Asperen > Assignee: Willem van Asperen > Fix For: 2.0.0 > > Attachments: hive-shims23.patch > > > IMPORT TABLE fails for larger tables with: > {code} > 0: jdbc:hive2://hdpprdhiv01.prd.xxx:10001/> import from '/tmp/export/repository/res_sales_navigator'; > INFO : Copying data from hdfs://hdpprdmas01.prd.xxx:8020/tmp/export/repository/res_sales_navigator/valid_from=201508250000 to hdfs://hdpprdmas01.prd.xxx:8020/tmp/export/repository/res_sales_navigator/.hive-staging_hive_2015-10-07_20-55-37_456_5706704167497413401-2/-ext-10000 > INFO : Copying file: hdfs://hdpprdmas01.prd.xxx:8020/tmp/export/repository/res_sales_navigator/valid_from=201508250000/part-r-00000 > ERROR : Failed with exception Cannot get DistCp constructor: org.apache.hadoop.tools.DistCp.() > java.io.IOException: Cannot get DistCp constructor: org.apache.hadoop.tools.DistCp.() > at org.apache.hadoop.hive.shims.Hadoop23Shims.runDistCp(Hadoop23Shims.java:1160) > at org.apache.hadoop.hive.common.FileUtils.copy(FileUtils.java:553) > at org.apache.hadoop.hive.ql.exec.CopyTask.execute(CopyTask.java:82) > at org.apache.hadoop.hive.ql.exec.Task.executeTask(Task.java:160) > at org.apache.hadoop.hive.ql.exec.TaskRunner.runSequential(TaskRunner.java:88) > at org.apache.hadoop.hive.ql.Driver.launchTask(Driver.java:1653) > at org.apache.hadoop.hive.ql.Driver.execute(Driver.java:1412) > at org.apache.hadoop.hive.ql.Driver.runInternal(Driver.java:1195) > at org.apache.hadoop.hive.ql.Driver.run(Driver.java:1059) > at org.apache.hadoop.hive.ql.Driver.run(Driver.java:1054) > at org.apache.hive.service.cli.operation.SQLOperation.runQuery(SQLOperation.java:154) > at org.apache.hive.service.cli.operation.SQLOperation.access$100(SQLOperation.java:71) > at org.apache.hive.service.cli.operation.SQLOperation$1$1.run(SQLOperation.java:206) > at java.security.AccessController.doPrivileged(Native Method) > at javax.security.auth.Subject.doAs(Subject.java:422) > at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1657) > at org.apache.hive.service.cli.operation.SQLOperation$1.run(SQLOperation.java:218) > at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) > at java.util.concurrent.FutureTask.run(FutureTask.java:266) > at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) > at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) > at java.lang.Thread.run(Thread.java:745) > Error: Error while processing statement: FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.CopyTask (state=08S01,code=1) > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)