Bug 1308662

Summary: broken symlink
Product: [Fedora] Fedora Reporter: Igor Vlasenko <viy>
Component: hadoopAssignee: Christopher Tubbs <ctubbsii>
Status: CLOSED WORKSFORME QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 25CC: besser82, coolsvap, matt, moceap, rrati
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-11-16 20:54:31 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:
Attachments:
Description Flags
proposed patch none

Description Igor Vlasenko 2016-02-15 17:13:09 UTC
Created attachment 1127361 [details]
proposed patch

Description of problem:
in hadoop-hdfs
%{_datadir}/%{name}/hdfs/lib/%{name}-hdfs-bkjournal.jar
points to
/usr/share/java/hadoop/hadoop-hdfs-bkjournal.jar
resulting in broken symlink.
It should point to 
/usr/lib/java/hadoop/hadoop-hdfs-bkjournal.jar.

Version-Release number of selected component (if applicable):
hadoop-2.4.1-14.fc24.src.rpm
hadoop-hdfs-2.4.1-14


How reproducible:
readlink /usr/share/java/hadoop/hadoop-hdfs-bkjournal.jar

Actual results:
/usr/share/java/hadoop/hadoop-hdfs-bkjournal.jar

Expected results:
/usr/lib/java/hadoop/hadoop-hdfs-bkjournal.jar.


Additional info:
proposed patch:
--- hadoop.spec~        2016-02-13 19:52:20.000000000 +0200
+++ hadoop.spec 2016-02-14 00:55:55.162574760 +0200
@@ -774,7 +774,7 @@
 # hdfs jar dependencies
 copy_dep_jars $basedir/share/%{name}/hdfs/lib %{buildroot}/%{_datadir}/%{name}/hdfs/lib
 %{_bindir}/xmvn-subst %{buildroot}/%{_datadir}/%{name}/hdfs/lib
-%{__ln_s} %{_javadir}/%{name}/%{name}-hdfs-bkjournal.jar %{buildroot}/%{_datadir}/%{name}/hdfs/lib
+%{__ln_s} %{_jnidir}/%{name}/%{name}-hdfs-bkjournal.jar %{buildroot}/%{_datadir}/%{name}/hdfs/lib
 pushd $basedir/share/%{name}/hdfs
   link_hadoop_jars %{buildroot}/%{_datadir}/%{name}/hdfs
 popd

Comment 1 Jan Kurik 2016-02-24 15:21:54 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 24 development cycle.
Changing version to '24'.

More information and reason for this action is here:
https://fedoraproject.org/wiki/Fedora_Program_Management/HouseKeeping/Fedora24#Rawhide_Rebase

Comment 2 Fedora Admin XMLRPC Client 2016-06-01 19:42:20 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 3 Fedora Admin XMLRPC Client 2016-06-08 21:27:01 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 4 Fedora End Of Life 2017-11-16 18:43:41 UTC
This message is a reminder that Fedora 25 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 25. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '25'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not
able to fix it before Fedora 25 is end of life. If you would still like
to see this bug fixed and are able to reproduce it against a later version
of Fedora, you are encouraged  change the 'version' to a later Fedora
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

Comment 5 Christopher Tubbs 2017-11-16 20:54:31 UTC
Looks like this was fixed at some point.