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

Hive QA commented on HIVE-20225:
--------------------------------



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

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

Test results: 
https://builds.apache.org/job/PreCommit-HIVE-Build/13113/testReport
Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/13113/console
Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-13113/

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'
2018-08-09 03:45:03.922
+ [[ -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-13113/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'
2018-08-09 03:45:03.927
+ cd apache-github-source-source
+ git fetch origin
>From https://github.com/apache/hive
   3a649b6..873d31f  master     -> origin/master
   18b5c8b..946a390  branch-3   -> origin/branch-3
+ git reset --hard HEAD
HEAD is now at 3a649b6 HIVE-20337: CachedStore: getPartitionsByExpr is not 
populating the partition list correctly (Vaibhav Gumashta, reviewed by Daniel 
Dai)
+ git clean -f -d
Removing standalone-metastore/metastore-server/src/gen/
+ 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 873d31f HIVE-20336: Masking and filtering policies for 
materialized views (Jesus Camacho Rodriguez, reviewed by Ashutosh Chauhan)
+ git merge --ff-only origin/master
Already up-to-date.
+ date '+%Y-%m-%d %T.%3N'
2018-08-09 03:45:05.410
+ rm -rf ../yetus_PreCommit-HIVE-Build-13113
+ mkdir ../yetus_PreCommit-HIVE-Build-13113
+ git gc
+ cp -R . ../yetus_PreCommit-HIVE-Build-13113
+ mkdir /data/hiveptest/logs/PreCommit-HIVE-Build-13113/yetus
+ 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: cannot apply binary patch to 
'data/files/teradata_binary_file/teradata_binary_table.deflate' without full 
index line
Falling back to three-way merge...
error: cannot apply binary patch to 
'data/files/teradata_binary_file/teradata_binary_table.deflate' without full 
index line
error: data/files/teradata_binary_file/teradata_binary_table.deflate: patch 
does not apply
error: cannot apply binary patch to 
'files/teradata_binary_file/teradata_binary_table.deflate' without full index 
line
Falling back to three-way merge...
error: cannot apply binary patch to 
'files/teradata_binary_file/teradata_binary_table.deflate' without full index 
line
error: files/teradata_binary_file/teradata_binary_table.deflate: patch does not 
apply
error: cannot apply binary patch to 
'teradata_binary_file/teradata_binary_table.deflate' without full index line
Falling back to three-way merge...
error: cannot apply binary patch to 
'teradata_binary_file/teradata_binary_table.deflate' without full index line
error: teradata_binary_file/teradata_binary_table.deflate: patch does not apply
The patch does not appear to apply with p0, p1, or p2
+ result=1
+ '[' 1 -ne 0 ']'
+ rm -rf yetus_PreCommit-HIVE-Build-13113
+ exit 1
'
{noformat}

This message is automatically generated.

ATTACHMENT ID: 12934888 - PreCommit-HIVE-Build

> SerDe to support Teradata Binary Format
> ---------------------------------------
>
>                 Key: HIVE-20225
>                 URL: https://issues.apache.org/jira/browse/HIVE-20225
>             Project: Hive
>          Issue Type: New Feature
>          Components: Serializers/Deserializers
>            Reporter: Lu Li
>            Assignee: Lu Li
>            Priority: Major
>         Attachments: HIVE-20225.1.patch, HIVE-20225.2.patch, 
> HIVE-20225.3.patch, HIVE-20225.4.patch, HIVE-20225.5-branch-2.patch, 
> HIVE-20225.6.patch, HIVE-20225.7.patch, HIVE-20225.8.patch, HIVE-20225.9.patch
>
>
> When using TPT/BTEQ to export/import Data from Teradata, Teradata will 
> generate/require binary files based on the schema.
> A Customized SerDe is needed in order to directly read these files from Hive 
> or write these files in order to load back to TD.
> {code:java}
> CREATE EXTERNAL TABLE `TABLE1`(
> ...)
> PARTITIONED BY (
> ...)
> ROW FORMAT SERDE
>   'org.apache.hadoop.hive.contrib.serde2.TeradataBinarySerde'
> STORED AS INPUTFORMAT
>  
> 'org.apache.hadoop.hive.contrib.fileformat.teradata.TeradataBinaryFileInputFormat'
> OUTPUTFORMAT
>  
> 'org.apache.hadoop.hive.contrib.fileformat.teradata.TeradataBinaryFileOutputFormat'
> LOCATION ...;
> SELECT * FROM `TABLE1`;{code}
> Problem Statement:
> Right now the fast way to export/import data from Teradata is using TPT. 
> However, the Hive could not directly utilize/generate these binary format 
> because it doesn't have a SerDe for these files.
> Result:
> Provided with the SerDe, Hive can operate upon/generate the exported Teradata 
> Binary Format file transparently



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to