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 CB57818F6F for ; Wed, 16 Sep 2015 22:39:46 +0000 (UTC) Received: (qmail 70657 invoked by uid 500); 16 Sep 2015 22:39:46 -0000 Delivered-To: apmail-hive-issues-archive@hive.apache.org Received: (qmail 70630 invoked by uid 500); 16 Sep 2015 22:39:46 -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 70620 invoked by uid 99); 16 Sep 2015 22:39:46 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Sep 2015 22:39:46 +0000 Date: Wed, 16 Sep 2015 22:39:46 +0000 (UTC) From: "Takahiko Saito (JIRA)" To: issues@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HIVE-11820) export tables with size of >32MB throws "java.lang.IllegalArgumentException: Skip CRC is valid only with update options" 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-11820?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Takahiko Saito updated HIVE-11820: ---------------------------------- Affects Version/s: (was: 1.2.1) > export tables with size of >32MB throws "java.lang.IllegalArgumentException: Skip CRC is valid only with update options" > ------------------------------------------------------------------------------------------------------------------------ > > Key: HIVE-11820 > URL: https://issues.apache.org/jira/browse/HIVE-11820 > Project: Hive > Issue Type: Bug > Components: Hive > Reporter: Takahiko Saito > Assignee: Takahiko Saito > Attachments: HIVE-11820.patch > > > Tested a patch of HIVE-11607 and seeing the following exception: > {noformat} > 2015-09-14 21:44:16,817 ERROR [main]: exec.Task (SessionState.java:printError(960)) - Failed with exception Skip CRC is valid only with update options > java.lang.IllegalArgumentException: Skip CRC is valid only with update options > at org.apache.hadoop.tools.DistCpOptions.validate(DistCpOptions.java:556) > at org.apache.hadoop.tools.DistCpOptions.setSkipCRC(DistCpOptions.java:311) > at org.apache.hadoop.hive.shims.Hadoop23Shims.runDistCp(Hadoop23Shims.java:1147) > 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:89) > at org.apache.hadoop.hive.ql.Driver.launchTask(Driver.java:1655) > at org.apache.hadoop.hive.ql.Driver.execute(Driver.java:1414) > 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:1049) > at org.apache.hadoop.hive.cli.CliDriver.processLocalCmd(CliDriver.java:213) > at org.apache.hadoop.hive.cli.CliDriver.processCmd(CliDriver.java:165) > at org.apache.hadoop.hive.cli.CliDriver.processLine(CliDriver.java:376) > at org.apache.hadoop.hive.cli.CliDriver.executeDriver(CliDriver.java:736) > at org.apache.hadoop.hive.cli.CliDriver.run(CliDriver.java:681) > at org.apache.hadoop.hive.cli.CliDriver.main(CliDriver.java:621) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:497) > at org.apache.hadoop.util.RunJar.run(RunJar.java:221) > at org.apache.hadoop.util.RunJar.main(RunJar.java:136) > {noformat} > A possible resolution is to reverse the order of the following two lines from a patch of HIVE-11607: > {noformat} > + options.setSkipCRC(true); > + options.setSyncFolder(true); > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)