Bug 1552964

Summary: FTBFS: Hadoop fails to build with Guava 24
Product: [Fedora] Fedora Reporter: Christopher Tubbs <ctubbsii>
Component: hadoopAssignee: Mike Miller <milleruntime>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 28CC: ctubbsii, denis.arnaud_fedora, milleruntime
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: hadoop-2.7.6-4.fc28 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-07-15 03:32:36 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Christopher Tubbs 2018-03-08 00:22:10 UTC
This appears to be related to the update to Guava 24. The likely culprit is Hadoop using Guava items marked @Beta again, which were later deprecated and changed or removed, but it could be something else.


[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile (default-compile) on project hadoop-hdfs: Compilation failure: Compilation failure: 
[ERROR] /builddir/build/BUILD/hadoop-2.7.3-src/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/DataStorage.java:[1163,14] cannot find symbol
[ERROR]   symbol:   method get(java.util.concurrent.Future<java.lang.Void>,java.lang.Class<java.io.IOException>)
[ERROR]   location: class com.google.common.util.concurrent.Futures
[ERROR] /builddir/build/BUILD/hadoop-2.7.3-src/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/DFSInotifyEventInputStream.java:[80,24] <T>emptyIterator() is not public in com.google.common.collect.Iterators; cannot be accessed from outside package

Comment 1 Fedora Update System 2018-07-02 15:41:18 UTC
hadoop-2.7.6-2.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-06b0fdb46d

Comment 2 Fedora Update System 2018-07-03 17:54:22 UTC
hadoop-2.7.6-2.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-06b0fdb46d

Comment 3 Fedora Update System 2018-07-06 04:39:12 UTC
hadoop-2.7.6-4.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-e5a8b72d0d

Comment 4 Fedora Update System 2018-07-06 17:53:36 UTC
hadoop-2.7.6-4.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-e5a8b72d0d

Comment 5 Fedora Update System 2018-07-15 03:32:36 UTC
hadoop-2.7.6-4.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report.