[
https://issues.apache.org/jira/browse/HIVE-25435?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ayush Saxena resolved HIVE-25435.
---------------------------------
Fix Version/s: Not Applicable
Resolution: Cannot Reproduce
Build is working fine, we have daily builds and each PR runs it, reach out to
the dev mailing list for help
> build fail from master branch
> -----------------------------
>
> Key: HIVE-25435
> URL: https://issues.apache.org/jira/browse/HIVE-25435
> Project: Hive
> Issue Type: Bug
> Environment: operator system: unbuntu for windows10 wsl
> mvn: 3.2.5 version
> java: 1.8
> Reporter: yandufeng
> Priority: Critical
> Fix For: Not Applicable
>
>
> when i use mvn clean install -DskipTests for build hive in master
> branch,following error appear:
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile
> (default-compile) on project hive-kryo-registrator: Compilation failure:
> Compilation failure:
> [ERROR]
> /mnt/d/programs/github/hive/kryo-registrator/src/main/java/org/apache/hive/spark/HiveKryoRegistrator.java:[41,18]
> org.apache.hive.spark.HiveKryoRegistrator.HiveKeySerializer is not abstract
> and does not override abstract method
> read(com.esotericsoftware.kryo.Kryo,com.esotericsoftware.kryo.io.Input,java.lang.Class<org.apache.hadoop.hive.ql.io.HiveKey>)
> in com.esotericsoftware.kryo.Serializer
> [ERROR]
> /mnt/d/programs/github/hive/kryo-registrator/src/main/java/org/apache/hive/spark/HiveKryoRegistrator.java:[49,20]
> name clash:
> read(com.esotericsoftware.kryo.Kryo,com.esotericsoftware.kryo.io.Input,java.lang.Class<?
> extends org.apache.hadoop.hive.ql.io.HiveKey>) in
> org.apache.hive.spark.HiveKryoRegistrator.HiveKeySerializer and
> read(com.esotericsoftware.kryo.Kryo,com.esotericsoftware.kryo.io.Input,java.lang.Class<T>)
> in com.esotericsoftware.kryo.Serializer have the same erasure, yet neither
> overrides the other
> [ERROR]
> /mnt/d/programs/github/hive/kryo-registrator/src/main/java/org/apache/hive/spark/HiveKryoRegistrator.java:[57,10]
> org.apache.hive.spark.HiveKryoRegistrator.BytesWritableSerializer is not
> abstract and does not override abstract method
> read(com.esotericsoftware.kryo.Kryo,com.esotericsoftware.kryo.io.Input,java.lang.Class<org.apache.hadoop.io.BytesWritable>)
> in com.esotericsoftware.kryo.Serializer
> [ERROR]
> /mnt/d/programs/github/hive/kryo-registrator/src/main/java/org/apache/hive/spark/HiveKryoRegistrator.java:[64,26]
> name clash:
> read(com.esotericsoftware.kryo.Kryo,com.esotericsoftware.kryo.io.Input,java.lang.Class<?
> extends org.apache.hadoop.io.BytesWritable>) in
> org.apache.hive.spark.HiveKryoRegistrator.BytesWritableSerializer and
> read(com.esotericsoftware.kryo.Kryo,com.esotericsoftware.kryo.io.Input,java.lang.Class<T>)
> in com.esotericsoftware.kryo.Serializer have the same erasure, yet neither
> overrides the other
> [ERROR]
> /mnt/d/programs/github/hive/kryo-registrator/src/main/java/org/apache/hive/spark/NoHashCodeKryoSerializer.java:[51,18]
> org.apache.hive.spark.NoHashCodeKryoSerializer.HiveKeySerializer is not
> abstract and does not override abstract method
> read(com.esotericsoftware.kryo.Kryo,com.esotericsoftware.kryo.io.Input,java.lang.Class<org.apache.hadoop.hive.ql.io.HiveKey>)
> in com.esotericsoftware.kryo.Serializer
> [ERROR] /mnt/d/programs/github/hive/kryo-
> registrator/src/main/java/org/apache/hive/spark/NoHashCodeKryoSerializer.java:[58,20]
> name clash:
> read(com.esotericsoftware.kryo.Kryo,com.esotericsoftware.kryo.io.Input,java.lang.Class<?
> extends org.apache.hadoop.hive.ql.io.HiveKey>) in
> org.apache.hive.spark.NoHashCodeKryoSerializer.HiveKeySerializer and
> read(com.esotericsoftware.kryo.Kryo,com.esotericsoftware.kryo.io.Input,java.lang.Class<T>)
> in com.esotericsoftware.kryo.Serializer have the same erasure, yet neither
> overrides the other
> [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-kryo-registrator
--
This message was sent by Atlassian Jira
(v8.20.10#820010)