Bug 1308662 - broken symlink
broken symlink
Status: NEW
Product: Fedora
Classification: Fedora
Component: hadoop (Show other bugs)
25
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Christopher Tubbs
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2016-02-15 12:13 EST by Igor Vlasenko
Modified: 2016-08-24 18:05 EDT (History)
5 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
proposed patch (602 bytes, patch)
2016-02-15 12:13 EST, Igor Vlasenko
no flags Details | Diff

  None (edit)
Description Igor Vlasenko 2016-02-15 12:13:09 EST
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 10:21:54 EST
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 15:42:20 EDT
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 17:27:01 EDT
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Note You need to log in before you can comment on or make changes to this bug.