hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hive QA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-11820) export tables with size of >32MB throws "java.lang.IllegalArgumentException: Skip CRC is valid only with update options"
Date Fri, 18 Sep 2015 00:41:04 GMT

    [ https://issues.apache.org/jira/browse/HIVE-11820?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14804758#comment-14804758
] 

Hive QA commented on HIVE-11820:
--------------------------------



{color:red}Overall{color}: -1 no tests executed

Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12756371/HIVE-11820.patch

Test results: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/5317/testReport
Console output: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/5317/console
Test logs: http://ec2-174-129-184-35.compute-1.amazonaws.com/logs/PreCommit-HIVE-TRUNK-Build-5317/

Messages:
{noformat}
**** This message was trimmed, see log for full details ****
[INFO] Hive HCatalog Streaming
[INFO] Hive HPL/SQL
[INFO] Hive HWI
[INFO] Hive ODBC
[INFO] Hive Shims Aggregator
[INFO] Hive TestUtils
[INFO] Hive Packaging
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Hive 2.0.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ hive ---
[INFO] Deleting /data/hive-ptest/working/apache-github-source-source/target
[INFO] Deleting /data/hive-ptest/working/apache-github-source-source (includes = [datanucleus.log,
derby.log], excludes = [])
[INFO] 
[INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-no-snapshots) @ hive ---
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (default) @ hive ---
[INFO] 
[INFO] --- maven-antrun-plugin:1.7:run (define-classpath) @ hive ---
[INFO] Executing tasks

main:
[INFO] Executed tasks
[INFO] 
[INFO] --- maven-antrun-plugin:1.7:run (setup-test-dirs) @ hive ---
[INFO] Executing tasks

main:
    [mkdir] Created dir: /data/hive-ptest/working/apache-github-source-source/target/tmp
    [mkdir] Created dir: /data/hive-ptest/working/apache-github-source-source/target/warehouse
    [mkdir] Created dir: /data/hive-ptest/working/apache-github-source-source/target/tmp/conf
     [copy] Copying 10 files to /data/hive-ptest/working/apache-github-source-source/target/tmp/conf
[INFO] Executed tasks
[INFO] 
[INFO] --- maven-site-plugin:3.3:attach-descriptor (attach-descriptor) @ hive ---
[INFO] 
[INFO] --- maven-install-plugin:2.4:install (default-install) @ hive ---
[INFO] Installing /data/hive-ptest/working/apache-github-source-source/pom.xml to /home/hiveptest/.m2/repository/org/apache/hive/hive/2.0.0-SNAPSHOT/hive-2.0.0-SNAPSHOT.pom
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Hive Shims Common 2.0.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ hive-shims-common ---
[INFO] Deleting /data/hive-ptest/working/apache-github-source-source/shims/common/target
[INFO] Deleting /data/hive-ptest/working/apache-github-source-source/shims/common (includes
= [datanucleus.log, derby.log], excludes = [])
[INFO] 
[INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-no-snapshots) @ hive-shims-common
---
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (default) @ hive-shims-common ---
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ hive-shims-common ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /data/hive-ptest/working/apache-github-source-source/shims/common/src/main/resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-antrun-plugin:1.7:run (define-classpath) @ hive-shims-common ---
[INFO] Executing tasks

main:
[INFO] Executed tasks
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ hive-shims-common ---
[INFO] Compiling 28 source files to /data/hive-ptest/working/apache-github-source-source/shims/common/target/classes
[WARNING] /data/hive-ptest/working/apache-github-source-source/shims/common/src/main/java/org/apache/hadoop/fs/ProxyFileSystem.java:
/data/hive-ptest/working/apache-github-source-source/shims/common/src/main/java/org/apache/hadoop/fs/ProxyFileSystem.java
uses or overrides a deprecated API.
[WARNING] /data/hive-ptest/working/apache-github-source-source/shims/common/src/main/java/org/apache/hadoop/fs/ProxyFileSystem.java:
Recompile with -Xlint:deprecation for details.
[WARNING] /data/hive-ptest/working/apache-github-source-source/shims/common/src/main/java/org/apache/hadoop/hive/shims/HadoopShimsSecure.java:
Some input files use unchecked or unsafe operations.
[WARNING] /data/hive-ptest/working/apache-github-source-source/shims/common/src/main/java/org/apache/hadoop/hive/shims/HadoopShimsSecure.java:
Recompile with -Xlint:unchecked for details.
[INFO] 
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ hive-shims-common
---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /data/hive-ptest/working/apache-github-source-source/shims/common/src/test/resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-antrun-plugin:1.7:run (setup-test-dirs) @ hive-shims-common ---
[INFO] Executing tasks

main:
    [mkdir] Created dir: /data/hive-ptest/working/apache-github-source-source/shims/common/target/tmp
    [mkdir] Created dir: /data/hive-ptest/working/apache-github-source-source/shims/common/target/warehouse
    [mkdir] Created dir: /data/hive-ptest/working/apache-github-source-source/shims/common/target/tmp/conf
     [copy] Copying 10 files to /data/hive-ptest/working/apache-github-source-source/shims/common/target/tmp/conf
[INFO] Executed tasks
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ hive-shims-common
---
[INFO] No sources to compile
[INFO] 
[INFO] --- maven-surefire-plugin:2.16:test (default-test) @ hive-shims-common ---
[INFO] Tests are skipped.
[INFO] 
[INFO] --- maven-jar-plugin:2.2:jar (default-jar) @ hive-shims-common ---
[INFO] Building jar: /data/hive-ptest/working/apache-github-source-source/shims/common/target/hive-shims-common-2.0.0-SNAPSHOT.jar
[INFO] 
[INFO] --- maven-site-plugin:3.3:attach-descriptor (attach-descriptor) @ hive-shims-common
---
[INFO] 
[INFO] --- maven-install-plugin:2.4:install (default-install) @ hive-shims-common ---
[INFO] Installing /data/hive-ptest/working/apache-github-source-source/shims/common/target/hive-shims-common-2.0.0-SNAPSHOT.jar
to /home/hiveptest/.m2/repository/org/apache/hive/shims/hive-shims-common/2.0.0-SNAPSHOT/hive-shims-common-2.0.0-SNAPSHOT.jar
[INFO] Installing /data/hive-ptest/working/apache-github-source-source/shims/common/pom.xml
to /home/hiveptest/.m2/repository/org/apache/hive/shims/hive-shims-common/2.0.0-SNAPSHOT/hive-shims-common-2.0.0-SNAPSHOT.pom
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Hive Shims 0.20S 2.0.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ hive-shims-0.20S ---
[INFO] Deleting /data/hive-ptest/working/apache-github-source-source/shims/0.20S/target
[INFO] Deleting /data/hive-ptest/working/apache-github-source-source/shims/0.20S (includes
= [datanucleus.log, derby.log], excludes = [])
[INFO] 
[INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-no-snapshots) @ hive-shims-0.20S ---
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (default) @ hive-shims-0.20S ---
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ hive-shims-0.20S ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /data/hive-ptest/working/apache-github-source-source/shims/0.20S/src/main/resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-antrun-plugin:1.7:run (define-classpath) @ hive-shims-0.20S ---
[INFO] Executing tasks

main:
[INFO] Executed tasks
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ hive-shims-0.20S ---
[INFO] Compiling 3 source files to /data/hive-ptest/working/apache-github-source-source/shims/0.20S/target/classes
[INFO] -------------------------------------------------------------
[WARNING] COMPILATION WARNING : 
[INFO] -------------------------------------------------------------
[WARNING] /data/hive-ptest/working/apache-github-source-source/shims/0.20S/src/main/java/org/apache/hadoop/hive/shims/Hadoop20SShims.java:
/data/hive-ptest/working/apache-github-source-source/shims/0.20S/src/main/java/org/apache/hadoop/hive/shims/Hadoop20SShims.java
uses or overrides a deprecated API.
[WARNING] /data/hive-ptest/working/apache-github-source-source/shims/0.20S/src/main/java/org/apache/hadoop/hive/shims/Hadoop20SShims.java:
Recompile with -Xlint:deprecation for details.
[INFO] 2 warnings 
[INFO] -------------------------------------------------------------
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] /data/hive-ptest/working/apache-github-source-source/shims/0.20S/src/main/java/org/apache/hadoop/hive/shims/Hadoop20SShims.java:[677,22]
cannot find symbol
  symbol:   variable FileAttribute
  location: class org.apache.hadoop.hive.shims.Hadoop20SShims
[INFO] 1 error
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Hive .............................................. SUCCESS [13.454s]
[INFO] Hive Shims Common ................................. SUCCESS [15.447s]
[INFO] Hive Shims 0.20S .................................. FAILURE [4.323s]
[INFO] Hive Shims 0.23 ................................... SKIPPED
[INFO] Hive Shims Scheduler .............................. SKIPPED
[INFO] Hive Shims ........................................ SKIPPED
[INFO] Hive Storage API .................................. SKIPPED
[INFO] Hive Common ....................................... SKIPPED
[INFO] Hive Serde ........................................ SKIPPED
[INFO] Hive Metastore .................................... SKIPPED
[INFO] Hive Ant Utilities ................................ SKIPPED
[INFO] Spark Remote Client ............................... SKIPPED
[INFO] Hive Query Language ............................... SKIPPED
[INFO] Hive Service ...................................... SKIPPED
[INFO] Hive Accumulo Handler ............................. SKIPPED
[INFO] Hive JDBC ......................................... SKIPPED
[INFO] Hive Beeline ...................................... SKIPPED
[INFO] Hive CLI .......................................... SKIPPED
[INFO] Hive Contrib ...................................... SKIPPED
[INFO] Hive HBase Handler ................................ SKIPPED
[INFO] Hive HCatalog ..................................... SKIPPED
[INFO] Hive HCatalog Core ................................ SKIPPED
[INFO] Hive HCatalog Pig Adapter ......................... SKIPPED
[INFO] Hive HCatalog Server Extensions ................... SKIPPED
[INFO] Hive HCatalog Webhcat Java Client ................. SKIPPED
[INFO] Hive HCatalog Webhcat ............................. SKIPPED
[INFO] Hive HCatalog Streaming ........................... SKIPPED
[INFO] Hive HPL/SQL ...................................... SKIPPED
[INFO] Hive HWI .......................................... SKIPPED
[INFO] Hive ODBC ......................................... SKIPPED
[INFO] Hive Shims Aggregator ............................. SKIPPED
[INFO] Hive TestUtils .................................... SKIPPED
[INFO] Hive Packaging .................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 38.295s
[INFO] Finished at: Thu Sep 17 20:40:39 EDT 2015
[INFO] Final Memory: 33M/86M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile
(default-compile) on project hive-shims-0.20S: Compilation failure
[ERROR] /data/hive-ptest/working/apache-github-source-source/shims/0.20S/src/main/java/org/apache/hadoop/hive/shims/Hadoop20SShims.java:[677,22]
cannot find symbol
[ERROR] symbol:   variable FileAttribute
[ERROR] location: class org.apache.hadoop.hive.shims.Hadoop20SShims
[ERROR] -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following
articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :hive-shims-0.20S
+ exit 1
'
{noformat}

This message is automatically generated.

ATTACHMENT ID: 12756371 - PreCommit-HIVE-TRUNK-Build

> 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)

Mime
View raw message