[
https://issues.apache.org/jira/browse/HIVE-15161?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15855607#comment-15855607
]
Hive QA commented on HIVE-15161:
--------------------------------
Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12851321/HIVE-15161.5.patch
{color:red}ERROR:{color} -1 due to build exiting with an error
Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/3412/testReport
Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/3412/console
Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-3412/
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'
2017-02-07 09:08:27.220
+ [[ -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-3412/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'
2017-02-07 09:08:27.223
+ cd apache-github-source-source
+ git fetch origin
+ git reset --hard HEAD
HEAD is now at 95d0ce7 HIVE-15827: LLAP: status tool breaks out of watch mode
when live instances is 0 (Prasanth Jayachandran reviewed by Sergey Shelukhin,
Siddharth Seth)
+ git clean -f -d
Removing beeline/src/java/org/apache/hive/beeline/logs/
Removing common/pom.xml.orig
Removing common/src/java/org/apache/hadoop/hive/common/log/
Removing common/src/java/org/apache/hadoop/hive/conf/HiveConf.java.orig
Removing jdbc/src/java/org/apache/hive/jdbc/logs/
Removing ql/src/java/org/apache/hadoop/hive/ql/exec/tez/monitoring/
Removing ql/src/test/org/apache/hadoop/hive/ql/exec/tez/monitoring/
Removing
service-rpc/src/gen/thrift/gen-javabean/org/apache/hive/service/rpc/thrift/TJobExecutionStatus.java
Removing
service-rpc/src/gen/thrift/gen-javabean/org/apache/hive/service/rpc/thrift/TProgressUpdateResp.java
Removing service/src/java/org/apache/hive/service/cli/JobProgressUpdate.java
Removing
service/src/java/org/apache/hive/service/cli/ProgressMonitorStatusMapper.java
Removing
service/src/java/org/apache/hive/service/cli/TezProgressMonitorStatusMapper.java
+ git checkout master
Already on 'master'
Your branch is up-to-date with 'origin/master'.
+ git reset --hard origin/master
HEAD is now at 95d0ce7 HIVE-15827: LLAP: status tool breaks out of watch mode
when live instances is 0 (Prasanth Jayachandran reviewed by Sergey Shelukhin,
Siddharth Seth)
+ git merge --ff-only origin/master
Already up-to-date.
+ date '+%Y-%m-%d %T.%3N'
2017-02-07 09:08:28.159
+ 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
Going to apply patch with: patch -p0
patching file common/src/java/org/apache/hadoop/hive/common/StatsSetupConst.java
Hunk #4 succeeded at 301 (offset 24 lines).
patching file
common/src/test/org/apache/hadoop/hive/common/TestStatsSetupConst.java
+ [[ maven == \m\a\v\e\n ]]
+ rm -rf /data/hiveptest/working/maven/org/apache/hive
+ mvn -B clean install -DskipTests -T 4 -q
-Dmaven.repo.local=/data/hiveptest/working/maven
[ERROR] COMPILATION ERROR :
[ERROR]
/data/hiveptest/working/apache-github-source-source/common/src/java/org/apache/hadoop/hive/common/StatsSetupConst.java:[275,7]
cannot find symbol
symbol: class JSONObject
location: class org.apache.hadoop.hive.common.StatsSetupConst
[ERROR]
/data/hiveptest/working/apache-github-source-source/common/src/java/org/apache/hadoop/hive/common/StatsSetupConst.java:[277,9]
cannot find symbol
symbol: class JSONObject
location: class org.apache.hadoop.hive.common.StatsSetupConst
[ERROR]
/data/hiveptest/working/apache-github-source-source/common/src/java/org/apache/hadoop/hive/common/StatsSetupConst.java:[289,16]
cannot find symbol
symbol: class JSONException
location: class org.apache.hadoop.hive.common.StatsSetupConst
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on
project hive-common: Compilation failure: Compilation failure:
[ERROR]
/data/hiveptest/working/apache-github-source-source/common/src/java/org/apache/hadoop/hive/common/StatsSetupConst.java:[275,7]
cannot find symbol
[ERROR] symbol: class JSONObject
[ERROR] location: class org.apache.hadoop.hive.common.StatsSetupConst
[ERROR]
/data/hiveptest/working/apache-github-source-source/common/src/java/org/apache/hadoop/hive/common/StatsSetupConst.java:[277,9]
cannot find symbol
[ERROR] symbol: class JSONObject
[ERROR] location: class org.apache.hadoop.hive.common.StatsSetupConst
[ERROR]
/data/hiveptest/working/apache-github-source-source/common/src/java/org/apache/hadoop/hive/common/StatsSetupConst.java:[289,16]
cannot find symbol
[ERROR] symbol: class JSONException
[ERROR] location: class org.apache.hadoop.hive.common.StatsSetupConst
[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-common
+ exit 1
'
{noformat}
This message is automatically generated.
ATTACHMENT ID: 12851321 - PreCommit-HIVE-Build
> migrate ColumnStats to use jackson
> ----------------------------------
>
> Key: HIVE-15161
> URL: https://issues.apache.org/jira/browse/HIVE-15161
> Project: Hive
> Issue Type: Sub-task
> Reporter: Zoltan Haindrich
> Assignee: Zoltan Haindrich
> Fix For: 2.2.0
>
> Attachments: HIVE-15161.1.patch, HIVE-15161.2.patch,
> HIVE-15161.3.patch, HIVE-15161.4.patch, HIVE-15161.4.patch,
> HIVE-15161.5.patch, HIVE-15161.5.patch
>
>
> * json.org has license issues
> * jackson can provide a fully compatible alternative to it
> * there are a few flakiness issues caused by the order of the map entries of
> the columns...this cat be addressed, org.json api was unfriendly in this
> manner ;)
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)