hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Takahiko Saito (JIRA)" <>
Subject [jira] [Created] (HIVE-11820) export tables with size of >32MB throws "java.lang.IllegalArgumentException: Skip CRC is valid only with update options"
Date Mon, 14 Sep 2015 22:20:46 GMT
Takahiko Saito created HIVE-11820:

             Summary: export tables with size of >32MB throws "java.lang.IllegalArgumentException:
Skip CRC is valid only with update options"
                 Key: HIVE-11820
             Project: Hive
          Issue Type: Bug
          Components: Hive
    Affects Versions: 1.2.1
            Reporter: Takahiko Saito
            Assignee: Takahiko Saito
             Fix For: 1.2.1

Tested a patch of HIVE-11607 and seeing the following exception:

2015-09-14 21:44:16,817 ERROR [main]: exec.Task ( - 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.hive.shims.Hadoop23Shims.runDistCp(
        at org.apache.hadoop.hive.common.FileUtils.copy(
        at org.apache.hadoop.hive.ql.exec.CopyTask.execute(
        at org.apache.hadoop.hive.ql.exec.Task.executeTask(
        at org.apache.hadoop.hive.ql.exec.TaskRunner.runSequential(
        at org.apache.hadoop.hive.ql.Driver.launchTask(
        at org.apache.hadoop.hive.ql.Driver.execute(
        at org.apache.hadoop.hive.ql.Driver.runInternal(
        at org.apache.hadoop.hive.cli.CliDriver.processLocalCmd(
        at org.apache.hadoop.hive.cli.CliDriver.processCmd(
        at org.apache.hadoop.hive.cli.CliDriver.processLine(
        at org.apache.hadoop.hive.cli.CliDriver.executeDriver(
        at org.apache.hadoop.hive.cli.CliDriver.main(
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(
        at java.lang.reflect.Method.invoke(
        at org.apache.hadoop.util.RunJar.main(

A possible resolution is to reverse the order of the following two lines from a patch of HIVE-11607:
+    options.setSkipCRC(true);
+    options.setSyncFolder(true);

This message was sent by Atlassian JIRA

View raw message