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-11981) ORC Schema Evolution Issues (Vectorized, ACID, and Non-Vectorized)
Date Sat, 17 Oct 2015 16:12:05 GMT

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

Hive QA commented on HIVE-11981:
--------------------------------



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

{color:red}ERROR:{color} -1 due to build exiting with an error

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

Messages:
{noformat}
Executing org.apache.hive.ptest.execution.TestCheckPhase
Executing org.apache.hive.ptest.execution.PrepPhase
Tests exited with: NonZeroExitCodeException
Command 'bash /data/hive-ptest/working/scratch/source-prep.sh' failed with exit status 1 and
output '+ [[ -n /usr/java/jdk1.7.0_45-cloudera ]]
+ export JAVA_HOME=/usr/java/jdk1.7.0_45-cloudera
+ JAVA_HOME=/usr/java/jdk1.7.0_45-cloudera
+ export PATH=/usr/java/jdk1.7.0_45-cloudera/bin/:/usr/java/jdk1.7.0_45-cloudera/bin:/usr/local/apache-maven-3.0.5/bin:/usr/local/apache-maven-3.0.5/bin:/usr/java/jdk1.7.0_45-cloudera/bin:/usr/local/apache-ant-1.9.1/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/hiveptest/bin
+ PATH=/usr/java/jdk1.7.0_45-cloudera/bin/:/usr/java/jdk1.7.0_45-cloudera/bin:/usr/local/apache-maven-3.0.5/bin:/usr/local/apache-maven-3.0.5/bin:/usr/java/jdk1.7.0_45-cloudera/bin:/usr/local/apache-ant-1.9.1/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/hiveptest/bin
+ export 'ANT_OPTS=-Xmx1g -XX:MaxPermSize=256m '
+ ANT_OPTS='-Xmx1g -XX:MaxPermSize=256m '
+ export 'M2_OPTS=-Xmx1g -XX:MaxPermSize=256m -Dhttp.proxyHost=localhost -Dhttp.proxyPort=3128'
+ M2_OPTS='-Xmx1g -XX:MaxPermSize=256m -Dhttp.proxyHost=localhost -Dhttp.proxyPort=3128'
+ cd /data/hive-ptest/working/
+ tee /data/hive-ptest/logs/PreCommit-HIVE-TRUNK-Build-5691/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 ]]
+ cd apache-github-source-source
+ git fetch origin
+ git reset --hard HEAD
HEAD is now at ec07664 HIVE-12083 : HIVE-10965 introduces thrift error if partNames or colNames
are empty (Sushanth Sowmyan, reviewed by Thejas Nair)
+ git clean -f -d
+ git checkout master
Already on 'master'
+ git reset --hard origin/master
HEAD is now at ec07664 HIVE-12083 : HIVE-10965 introduces thrift error if partNames or colNames
are empty (Sushanth Sowmyan, reviewed by Thejas Nair)
+ git merge --ff-only origin/master
Already up-to-date.
+ git gc
+ patchCommandPath=/data/hive-ptest/working/scratch/smart-apply-patch.sh
+ patchFilePath=/data/hive-ptest/working/scratch/build.patch
+ [[ -f /data/hive-ptest/working/scratch/build.patch ]]
+ chmod +x /data/hive-ptest/working/scratch/smart-apply-patch.sh
+ /data/hive-ptest/working/scratch/smart-apply-patch.sh /data/hive-ptest/working/scratch/build.patch
Going to apply patch with: patch -p0
patching file common/src/java/org/apache/hadoop/hive/conf/HiveConf.java
patching file itests/src/test/resources/testconfiguration.properties
patching file llap-server/src/java/org/apache/hadoop/hive/llap/io/api/impl/LlapInputFormat.java
patching file ql/src/java/org/apache/hadoop/hive/ql/exec/FetchOperator.java
patching file ql/src/java/org/apache/hadoop/hive/ql/exec/MapOperator.java
patching file ql/src/java/org/apache/hadoop/hive/ql/exec/TableScanOperator.java
patching file ql/src/java/org/apache/hadoop/hive/ql/exec/Utilities.java
patching file ql/src/java/org/apache/hadoop/hive/ql/exec/spark/SparkReduceRecordHandler.java
patching file ql/src/java/org/apache/hadoop/hive/ql/exec/tez/ReduceRecordProcessor.java
patching file ql/src/java/org/apache/hadoop/hive/ql/exec/tez/ReduceRecordSource.java
patching file ql/src/java/org/apache/hadoop/hive/ql/exec/vector/VectorExtractRow.java
patching file ql/src/java/org/apache/hadoop/hive/ql/exec/vector/VectorGroupByOperator.java
patching file ql/src/java/org/apache/hadoop/hive/ql/exec/vector/VectorMapJoinBaseOperator.java
patching file ql/src/java/org/apache/hadoop/hive/ql/exec/vector/VectorSMBMapJoinOperator.java
patching file ql/src/java/org/apache/hadoop/hive/ql/exec/vector/VectorizationContext.java
Hunk #7 succeeded at 1043 (offset 1 line).
Hunk #8 succeeded at 2349 (offset 2 lines).
Hunk #9 succeeded at 2464 (offset 2 lines).
Hunk #10 succeeded at 2490 (offset 2 lines).
patching file ql/src/java/org/apache/hadoop/hive/ql/exec/vector/VectorizedBatchUtil.java
patching file ql/src/java/org/apache/hadoop/hive/ql/exec/vector/VectorizedRowBatchCtx.java
patching file ql/src/java/org/apache/hadoop/hive/ql/exec/vector/mapjoin/VectorMapJoinCommonOperator.java
patching file ql/src/java/org/apache/hadoop/hive/ql/io/AcidInputFormat.java
patching file ql/src/java/org/apache/hadoop/hive/ql/io/HiveInputFormat.java
patching file ql/src/java/org/apache/hadoop/hive/ql/io/IOConstants.java
patching file ql/src/java/org/apache/hadoop/hive/ql/io/VectorizedRCFileInputFormat.java
patching file ql/src/java/org/apache/hadoop/hive/ql/io/VectorizedRCFileRecordReader.java
patching file ql/src/java/org/apache/hadoop/hive/ql/io/orc/ConversionTreeReaderFactory.java
patching file ql/src/java/org/apache/hadoop/hive/ql/io/orc/OrcInputFormat.java
Hunk #1 succeeded at 1066 (offset 4 lines).
Hunk #2 succeeded at 1394 (offset 7 lines).
patching file ql/src/java/org/apache/hadoop/hive/ql/io/orc/OrcRawRecordMerger.java
patching file ql/src/java/org/apache/hadoop/hive/ql/io/orc/Reader.java
patching file ql/src/java/org/apache/hadoop/hive/ql/io/orc/ReaderImpl.java
patching file ql/src/java/org/apache/hadoop/hive/ql/io/orc/RecordReaderFactory.java
patching file ql/src/java/org/apache/hadoop/hive/ql/io/orc/RecordReaderImpl.java
patching file ql/src/java/org/apache/hadoop/hive/ql/io/orc/SchemaEvolution.java
patching file ql/src/java/org/apache/hadoop/hive/ql/io/orc/TreeReaderFactory.java
patching file ql/src/java/org/apache/hadoop/hive/ql/io/orc/VectorizedOrcAcidRowReader.java
patching file ql/src/java/org/apache/hadoop/hive/ql/io/orc/VectorizedOrcInputFormat.java
patching file ql/src/java/org/apache/hadoop/hive/ql/io/orc/encoded/ReaderImpl.java
patching file ql/src/java/org/apache/hadoop/hive/ql/io/parquet/VectorizedParquetInputFormat.java
patching file ql/src/java/org/apache/hadoop/hive/ql/optimizer/GenMapRedUtils.java
patching file ql/src/java/org/apache/hadoop/hive/ql/optimizer/SimpleFetchOptimizer.java
patching file ql/src/java/org/apache/hadoop/hive/ql/optimizer/physical/Vectorizer.java
Hunk #6 succeeded at 314 (offset 1 line).
Hunk #7 succeeded at 396 (offset 1 line).
Hunk #8 succeeded at 410 (offset 1 line).
Hunk #9 succeeded at 767 (offset 1 line).
Hunk #10 succeeded at 784 (offset 1 line).
Hunk #11 succeeded at 796 (offset 1 line).
Hunk #12 succeeded at 832 (offset 1 line).
Hunk #13 succeeded at 843 (offset 1 line).
Hunk #14 succeeded at 855 (offset 1 line).
Hunk #15 succeeded at 885 (offset 1 line).
Hunk #16 succeeded at 896 (offset 1 line).
Hunk #17 succeeded at 911 (offset 1 line).
Hunk #18 succeeded at 981 (offset 1 line).
Hunk #19 succeeded at 1054 (offset 1 line).
Hunk #20 succeeded at 1076 (offset 1 line).
Hunk #21 succeeded at 1117 (offset 1 line).
Hunk #22 succeeded at 1127 (offset 1 line).
Hunk #23 succeeded at 1147 (offset 1 line).
Hunk #24 succeeded at 1215 (offset 1 line).
Hunk #25 succeeded at 1769 (offset 1 line).
Hunk #26 succeeded at 2127 (offset 1 line).
patching file ql/src/java/org/apache/hadoop/hive/ql/optimizer/physical/Vectorizer.java.orig
Reversed (or previously applied) patch detected!  Assume -R? [n] 
Apply anyway? [n] 
Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file ql/src/java/org/apache/hadoop/hive/ql/optimizer/physical/Vectorizer.java.orig.rej
patching file ql/src/java/org/apache/hadoop/hive/ql/plan/BaseWork.java
patching file ql/src/java/org/apache/hadoop/hive/ql/plan/PartitionDesc.java
patching file ql/src/java/org/apache/hadoop/hive/ql/plan/VectorPartitionConversion.java
patching file ql/src/java/org/apache/hadoop/hive/ql/plan/VectorPartitionDesc.java
patching file ql/src/test/org/apache/hadoop/hive/ql/exec/vector/TestVectorRowObject.java
patching file ql/src/test/org/apache/hadoop/hive/ql/exec/vector/TestVectorSerDeRow.java
patching file ql/src/test/org/apache/hadoop/hive/ql/exec/vector/TestVectorizedRowBatchCtx.java
patching file ql/src/test/org/apache/hadoop/hive/ql/io/orc/TestInputOutputFormat.java
patching file ql/src/test/org/apache/hadoop/hive/ql/io/orc/TestOrcRawRecordMerger.java
patching file ql/src/test/queries/clientpositive/schema_evol_orc_acid_mapwork_part.q
patching file ql/src/test/queries/clientpositive/schema_evol_orc_nonvec_fetchwork_part.q
patching file ql/src/test/queries/clientpositive/schema_evol_orc_nonvec_fetchwork_table.q
patching file ql/src/test/queries/clientpositive/schema_evol_orc_nonvec_mapwork_part.q
patching file ql/src/test/queries/clientpositive/schema_evol_orc_nonvec_mapwork_table.q
patching file ql/src/test/queries/clientpositive/schema_evol_orc_vec_mapwork_part.q
patching file ql/src/test/queries/clientpositive/schema_evol_orc_vec_mapwork_table.q
patching file ql/src/test/queries/clientpositive/schema_evol_text_nonvec_fetchwork_part.q
patching file ql/src/test/queries/clientpositive/schema_evol_text_nonvec_fetchwork_table.q
patching file ql/src/test/queries/clientpositive/schema_evol_text_nonvec_mapwork_part.q
patching file ql/src/test/queries/clientpositive/schema_evol_text_nonvec_mapwork_table.q
patching file ql/src/test/results/clientpositive/schema_evol_orc_acid_mapwork_part.q.out
patching file ql/src/test/results/clientpositive/schema_evol_orc_nonvec_fetchwork_part.q.out
patching file ql/src/test/results/clientpositive/schema_evol_orc_nonvec_fetchwork_table.q.out
patching file ql/src/test/results/clientpositive/schema_evol_orc_nonvec_mapwork_part.q.out
patching file ql/src/test/results/clientpositive/schema_evol_orc_nonvec_mapwork_table.q.out
patching file ql/src/test/results/clientpositive/schema_evol_orc_vec_mapwork_part.q.out
patching file ql/src/test/results/clientpositive/schema_evol_orc_vec_mapwork_table.q.out
patching file ql/src/test/results/clientpositive/schema_evol_text_nonvec_fetchwork_part.q.out
patching file ql/src/test/results/clientpositive/schema_evol_text_nonvec_fetchwork_table.q.out
patching file ql/src/test/results/clientpositive/schema_evol_text_nonvec_mapwork_part.q.out
patching file ql/src/test/results/clientpositive/schema_evol_text_nonvec_mapwork_table.q.out
patching file ql/src/test/results/clientpositive/stats_ppr_all.q.out
patching file ql/src/test/results/clientpositive/tez/schema_evol_orc_acid_mapwork_part.q.out
patching file ql/src/test/results/clientpositive/tez/schema_evol_orc_nonvec_fetchwork_part.q.out
patching file ql/src/test/results/clientpositive/tez/schema_evol_orc_nonvec_fetchwork_table.q.out
patching file ql/src/test/results/clientpositive/tez/schema_evol_orc_nonvec_mapwork_part.q.out
patching file ql/src/test/results/clientpositive/tez/schema_evol_orc_nonvec_mapwork_table.q.out
patching file ql/src/test/results/clientpositive/tez/schema_evol_orc_vec_mapwork_part.q.out
patching file ql/src/test/results/clientpositive/tez/schema_evol_orc_vec_mapwork_table.q.out
patching file ql/src/test/results/clientpositive/tez/schema_evol_text_nonvec_fetchwork_part.q.out
patching file ql/src/test/results/clientpositive/tez/schema_evol_text_nonvec_fetchwork_table.q.out
patching file ql/src/test/results/clientpositive/tez/schema_evol_text_nonvec_mapwork_part.q.out
patching file ql/src/test/results/clientpositive/tez/schema_evol_text_nonvec_mapwork_table.q.out
patching file storage-api/src/java/org/apache/hadoop/hive/ql/exec/vector/VectorizedRowBatch.java
+ exit 1
'
{noformat}

This message is automatically generated.

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

> ORC Schema Evolution Issues (Vectorized, ACID, and Non-Vectorized)
> ------------------------------------------------------------------
>
>                 Key: HIVE-11981
>                 URL: https://issues.apache.org/jira/browse/HIVE-11981
>             Project: Hive
>          Issue Type: Bug
>          Components: Hive, Transactions
>            Reporter: Matt McCline
>            Assignee: Matt McCline
>            Priority: Critical
>         Attachments: HIVE-11981.01.patch, HIVE-11981.02.patch, HIVE-11981.03.patch, HIVE-11981.05.patch,
HIVE-11981.06.patch, ORC Schema Evolution Issues.docx
>
>
> High priority issues with schema evolution for the ORC file format.
> Schema evolution here is limited to adding new columns and a few cases of column type-widening
(e.g. int to bigint).
> Renaming columns, deleting column, moving columns and other schema evolution were not
pursued due to lack of importance and lack of time.  Also, it appears a much more sophisticated
metadata would be needed to support them.
> The biggest issues for users have been adding new columns for ACID table (HIVE-11421
Support Schema evolution for ACID tables) and vectorization (HIVE-10598 Vectorization borks
when column is added to table).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message