[ https://issues.apache.org/jira/browse/HIVE-15361?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15726948#comment-15726948 ]
Hive QA commented on HIVE-15361: -------------------------------- Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12842019/HIVE-15361.3.patch {color:red}ERROR:{color} -1 due to build exiting with an error Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/2451/testReport Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/2451/console Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-2451/ Messages: {noformat} Executing org.apache.hive.ptest.execution.TestCheckPhase Executing org.apache.hive.ptest.execution.PrepPhase Tests exited with: NonZeroExitCodeException Command 'bash /data/hiveptest/working/scratch/source-prep.sh' failed with exit status 1 and output '+ date '+%Y-%m-%d %T.%3N' 2016-12-06 22:37:48.770 + [[ -n /usr/lib/jvm/java-8-openjdk-amd64 ]] + export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64 + JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64 + export PATH=/usr/lib/jvm/java-8-openjdk-amd64/bin/:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games + PATH=/usr/lib/jvm/java-8-openjdk-amd64/bin/:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games + export 'ANT_OPTS=-Xmx1g -XX:MaxPermSize=256m ' + ANT_OPTS='-Xmx1g -XX:MaxPermSize=256m ' + export 'MAVEN_OPTS=-Xmx1g ' + MAVEN_OPTS='-Xmx1g ' + cd /data/hiveptest/working/ + tee /data/hiveptest/logs/PreCommit-HIVE-Build-2451/source-prep.txt + [[ false == \t\r\u\e ]] + mkdir -p maven ivy + [[ git = \s\v\n ]] + [[ git = \g\i\t ]] + [[ -z master ]] + [[ -d apache-github-source-source ]] + [[ ! -d apache-github-source-source/.git ]] + [[ ! -d apache-github-source-source ]] + date '+%Y-%m-%d %T.%3N' 2016-12-06 22:37:48.773 + cd apache-github-source-source + git fetch origin >From https://github.com/apache/hive f317d73..c42bb86 master -> origin/master + git reset --hard HEAD HEAD is now at f317d73 HIVE-15363: Execute hive-blobstore tests using ProxyLocalFileSystem (Sergio Pena, reviewed by Mohit Sabharwal) + git clean -f -d + git checkout master Already on 'master' Your branch is behind 'origin/master' by 1 commit, and can be fast-forwarded. (use "git pull" to update your local branch) + git reset --hard origin/master HEAD is now at c42bb86 HIVE-15341: Get work path instead of attempted task path in HiveHFileOutputFormat (Chaoyu Tang, reviewed by Mohit Sabharwal) + git merge --ff-only origin/master Already up-to-date. + date '+%Y-%m-%d %T.%3N' 2016-12-06 22:37:50.085 + patchCommandPath=/data/hiveptest/working/scratch/smart-apply-patch.sh + patchFilePath=/data/hiveptest/working/scratch/build.patch + [[ -f /data/hiveptest/working/scratch/build.patch ]] + chmod +x /data/hiveptest/working/scratch/smart-apply-patch.sh + /data/hiveptest/working/scratch/smart-apply-patch.sh /data/hiveptest/working/scratch/build.patch error: a/itests/hive-blobstore/src/test/queries/clientpositive/insert_into_table.q: No such file or directory error: a/itests/hive-blobstore/src/test/queries/clientpositive/insert_overwrite_table.q: No such file or directory error: a/itests/hive-blobstore/src/test/results/clientpositive/insert_into_table.q.out: No such file or directory error: a/itests/hive-blobstore/src/test/results/clientpositive/insert_overwrite_directory.q.out: No such file or directory error: a/itests/hive-blobstore/src/test/results/clientpositive/insert_overwrite_table.q.out: No such file or directory error: a/ql/src/java/org/apache/hadoop/hive/ql/optimizer/GenMapRedUtils.java: No such file or directory error: a/ql/src/java/org/apache/hadoop/hive/ql/plan/LoadDesc.java: No such file or directory error: a/ql/src/java/org/apache/hadoop/hive/ql/plan/LoadFileDesc.java: No such file or directory error: a/ql/src/java/org/apache/hadoop/hive/ql/plan/LoadTableDesc.java: No such file or directory error: a/ql/src/java/org/apache/hadoop/hive/ql/plan/MoveWork.java: No such file or directory error: a/ql/src/test/org/apache/hadoop/hive/ql/optimizer/TestGenMapRedUtilsCreateConditionalTask.java: No such file or directory The patch does not appear to apply with p0, p1, or p2 + exit 1 ' {noformat} This message is automatically generated. ATTACHMENT ID: 12842019 - PreCommit-HIVE-Build > INSERT dynamic partition on S3 fails with a MoveTask failure > ------------------------------------------------------------ > > Key: HIVE-15361 > URL: https://issues.apache.org/jira/browse/HIVE-15361 > Project: Hive > Issue Type: Bug > Components: Hive > Affects Versions: 2.2.0 > Reporter: Sergio Peña > Assignee: Sergio Peña > Priority: Critical > Attachments: HIVE-15361.1.patch, HIVE-15361.2.patch, > HIVE-15361.3.patch > > > The following failure is due to the patch that merges two MoveTask found on > the ConditionalTask (See HIVE-15114) > {panel:title=Repro steps} > CREATE EXTERNAL TABLE external_1k0jU (name STRING, age INT) PARTITIONED BY > (country STRING, state STRING); > ALTER TABLE external_1k0jU ADD PARTITION (COUNTRY='USA', STATE='CA'); > INSERT INTO external_1k0jU PARTITION (country='USA', state='CA') values > ('John Doe', 23), ('Jane Doe', 22); > CREATE EXTERNAL TABLE external_P3kiT (name STRING, age INT) PARTITIONED BY > (country STRING, state STRING) location 's3a://hive-on-s3/foo/bar/'; > set hive.exec.dynamic.partition.mode=nonstrict; > INSERT INTO TABLE external_P3kiT PARTITION (country, state) SELECT * FROM > external_1k0jU; > {panel} > {panel:title=Error & stack trace} > ERROR : FAILED: Execution Error, return code 1 from > org.apache.hadoop.hive.ql.exec.MoveTask > INFO : MapReduce Jobs Launched: > INFO : Stage-Stage-1: Map: 1 Cumulative CPU: 3.64 sec HDFS Read: 3656 > HDFS Write: 99 SUCCESS > INFO : Total MapReduce CPU Time Spent: 3 seconds 640 msec > INFO : Completed executing > command(queryId=hive_20161201113939_d64df5d7-a4c4-4885-846f-10f0223fcf4c); > Time taken: 23.227 seconds > Error: Error while processing statement: FAILED: Execution Error, return code > 1 from org.apache.hadoop.hive.ql.exec.MoveTask (state=08S01,code=1) > INFO : Loading data to table default.external_p3kit partition (country=null, > state=null) from > s3a://hive-on-s3/foo/bar/.hive-staging_hive_2016-12-01_11-39-48_741_6724911837889341086-13/-ext-10002 > {code} > ERROR : Failed with exception MetaException(message:Invalid partition key & > values; keys [country, state, ], values []) > org.apache.hadoop.hive.ql.metadata.HiveException: > MetaException(message:Invalid partition key & values; keys [country, state, > ], values []) > at org.apache.hadoop.hive.ql.metadata.Hive.getPartition(Hive.java:1902) > at org.apache.hadoop.hive.ql.metadata.Hive.getPartition(Hive.java:1834) > at org.apache.hadoop.hive.ql.metadata.Hive.loadPartition(Hive.java:1428) > at org.apache.hadoop.hive.ql.metadata.Hive.loadPartition(Hive.java:1388) > at org.apache.hadoop.hive.ql.exec.MoveTask.execute(MoveTask.java:453) > at org.apache.hadoop.hive.ql.exec.Task.executeTask(Task.java:214) > at > org.apache.hadoop.hive.ql.exec.TaskRunner.runSequential(TaskRunner.java:100) > at org.apache.hadoop.hive.ql.Driver.launchTask(Driver.java:1976) > at org.apache.hadoop.hive.ql.Driver.execute(Driver.java:1689) > at org.apache.hadoop.hive.ql.Driver.runInternal(Driver.java:1421) > at org.apache.hadoop.hive.ql.Driver.run(Driver.java:1205) > at org.apache.hadoop.hive.ql.Driver.run(Driver.java:1200) > at > org.apache.hive.service.cli.operation.SQLOperation.runQuery(SQLOperation.java:237) > at > org.apache.hive.service.cli.operation.SQLOperation.access$300(SQLOperation.java:88) > at > org.apache.hive.service.cli.operation.SQLOperation$3$1.run(SQLOperation.java:293) > at java.security.AccessController.doPrivileged(Native Method) > at javax.security.auth.Subject.doAs(Subject.java:415) > at > org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1796) > at > org.apache.hive.service.cli.operation.SQLOperation$3.run(SQLOperation.java:306) > at > java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) > at java.util.concurrent.FutureTask.run(FutureTask.java:262) > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) > at java.lang.Thread.run(Thread.java:745) > Caused by: MetaException(message:Invalid partition key & values; keys > [country, state, ], values []) > at > org.apache.hadoop.hive.metastore.api.ThriftHiveMetastore$get_partition_with_auth_result$get_partition_with_auth_resultStandardScheme.read(ThriftHiveMetastore.java:65142) > at > org.apache.hadoop.hive.metastore.api.ThriftHiveMetastore$get_partition_with_auth_result$get_partition_with_auth_resultStandardScheme.read(ThriftHiveMetastore.java:65119) > at > org.apache.hadoop.hive.metastore.api.ThriftHiveMetastore$get_partition_with_auth_result.read(ThriftHiveMetastore.java:65050) > at org.apache.thrift.TServiceClient.receiveBase(TServiceClient.java:86) > at > org.apache.hadoop.hive.metastore.api.ThriftHiveMetastore$Client.recv_get_partition_with_auth(ThriftHiveMetastore.java:2007) > at > org.apache.hadoop.hive.metastore.api.ThriftHiveMetastore$Client.get_partition_with_auth(ThriftHiveMetastore.java:1990) > at > org.apache.hadoop.hive.metastore.HiveMetaStoreClient.getPartitionWithAuthInfo(HiveMetaStoreClient.java:1210) > at sun.reflect.GeneratedMethodAccessor53.invoke(Unknown Source) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:606) > at > org.apache.hadoop.hive.metastore.RetryingMetaStoreClient.invoke(RetryingMetaStoreClient.java:105) > at com.sun.proxy.$Proxy18.getPartitionWithAuthInfo(Unknown Source) > at sun.reflect.GeneratedMethodAccessor53.invoke(Unknown Source) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:606) > at > org.apache.hadoop.hive.metastore.HiveMetaStoreClient$SynchronizedHandler.invoke(HiveMetaStoreClient.java:2032) > at com.sun.proxy.$Proxy18.getPartitionWithAuthInfo(Unknown Source) > at org.apache.hadoop.hive.ql.metadata.Hive.getPartition(Hive.java:1893) > ... 23 more > {code} > {panel} -- This message was sent by Atlassian JIRA (v6.3.4#6332)