[ https://issues.apache.org/jira/browse/HIVE-16184?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16838333#comment-16838333 ]
Hive QA commented on HIVE-16184: -------------------------------- Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12858530/HIVE-16184.patch {color:red}ERROR:{color} -1 due to build exiting with an error Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/17193/testReport Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/17193/console Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-17193/ 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' 2019-05-13 07:33:44.110 + [[ -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-17193/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' 2019-05-13 07:33:44.114 + cd apache-github-source-source + git fetch origin >From https://github.com/apache/hive ab86fc2..5c425dc master -> origin/master + git reset --hard HEAD HEAD is now at ab86fc2 HIVE-21681: Describe formatted shows incorrect information for multiple primary keys (Adam Szita, reviewed by Jesus Camacho Rodriguez) + git clean -f -d Removing ${project.basedir}/ Removing itests/${project.basedir}/ Removing standalone-metastore/metastore-server/src/gen/ + git checkout master Already on 'master' Your branch is behind 'origin/master' by 2 commits, and can be fast-forwarded. (use "git pull" to update your local branch) + git reset --hard origin/master HEAD is now at 5c425dc HIVE-21717 : Rename is failing for directory in move task. (Mahesh Kumar Behera reviewed by Sankar Hariappan + git merge --ff-only origin/master Already up-to-date. + date '+%Y-%m-%d %T.%3N' 2019-05-13 07:33:45.137 + rm -rf ../yetus_PreCommit-HIVE-Build-17193 + mkdir ../yetus_PreCommit-HIVE-Build-17193 + git gc + cp -R . ../yetus_PreCommit-HIVE-Build-17193 + mkdir /data/hiveptest/logs/PreCommit-HIVE-Build-17193/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: a/service-rpc/if/TCLIService.thrift: does not exist in index error: patch failed: service-rpc/if/TCLIService.thrift:1209 Falling back to three-way merge... Applied patch to 'service-rpc/if/TCLIService.thrift' with conflicts. Going to apply patch with: git apply -p1 error: patch failed: service-rpc/if/TCLIService.thrift:1209 Falling back to three-way merge... Applied patch to 'service-rpc/if/TCLIService.thrift' with conflicts. U service-rpc/if/TCLIService.thrift + result=1 + '[' 1 -ne 0 ']' + rm -rf yetus_PreCommit-HIVE-Build-17193 + exit 1 ' {noformat} This message is automatically generated. ATTACHMENT ID: 12858530 - PreCommit-HIVE-Build > Remove use of optionals in union; declare TProgressUpdateResp before its usage > ------------------------------------------------------------------------------ > > Key: HIVE-16184 > URL: https://issues.apache.org/jira/browse/HIVE-16184 > Project: Hive > Issue Type: Bug > Components: Thrift API > Reporter: Ian Macalinao > Assignee: Ian Macalinao > Priority: Minor > Labels: pull-request-available > Attachments: HIVE-16184.patch > > Time Spent: 10m > Remaining Estimate: 0h > > A Scala Thrift generator (https://github.com/twitter/scrooge) does not like > the Thrift file. I have removed some bad Thrift practices (i.e. optionals in > union, dependent types declared after their usage) and replaced them with > things that work in Scrooge. > See https://github.com/apache/hive/pull/157 -- This message was sent by Atlassian JIRA (v7.6.3#76005)