hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Allen Wittenauer (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (HADOOP-9644) Hadoop 1.2 RPM build missing task-log4j.properties
Date Thu, 17 Mar 2016 16:53:33 GMT

     [ https://issues.apache.org/jira/browse/HADOOP-9644?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Allen Wittenauer resolved HADOOP-9644.
--------------------------------------
    Resolution: Won't Fix

closing as stale, as branch-1 is effectively EOLed.


> Hadoop 1.2 RPM build missing task-log4j.properties
> --------------------------------------------------
>
>                 Key: HADOOP-9644
>                 URL: https://issues.apache.org/jira/browse/HADOOP-9644
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 1.2.0
>         Environment: CentOS 5.9 64-bit, updated version of libtool
>            Reporter: Blake Williams
>            Priority: Trivial
>
> When running ant rpm, I receive the following error:
> {noformat} 
>       [rpm] + '[' /tmp/hadoop_package_build_root/BUILD/etc/hadoop '!=' /tmp/hadoop_package_build_root/BUILD//usr/conf
']'
>       [rpm] + rm -rf /tmp/hadoop_package_build_root/BUILD//usr/etc
>       [rpm] + /usr/lib/rpm/redhat/brp-compress
>       [rpm] + /usr/lib/rpm/redhat/brp-strip /usr/bin/strip
>       [rpm] + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip
>       [rpm] + /usr/lib/rpm/redhat/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump
>       [rpm] + /usr/lib/rpm/brp-python-bytecompile
>       [rpm] Processing files: hadoop-1.2.0-1
>       [rpm] warning: File listed twice: /usr/libexec
>       [rpm] warning: File listed twice: /usr/libexec/hadoop-config.sh
>       [rpm] warning: File listed twice: /usr/libexec/jsvc.amd64
>       [rpm] Checking for unpackaged file(s): /usr/lib/rpm/check-files /tmp/hadoop_package_build_root/BUILD
>       [rpm] error: Installed (but unpackaged) file(s) found:
>       [rpm]    /etc/hadoop/task-log4j.properties
>       [rpm]     File listed twice: /usr/libexec
>       [rpm]     File listed twice: /usr/libexec/hadoop-config.sh
>       [rpm]     File listed twice: /usr/libexec/jsvc.amd64
>       [rpm]     Installed (but unpackaged) file(s) found:
>       [rpm]    /etc/hadoop/task-log4j.properties
>       [rpm] 
>       [rpm] 
>       [rpm] RPM build errors:
> BUILD FAILED
> /root/hadoop-1.2.0/build.xml:1887: '/usr/bin/rpmbuild' failed with exit code 1
> {noformat}
> The following patch fixes the issue:
> {noformat}
> *** /dev/null        2013-06-14 15:27:11.000000000 +1000
> --- src/packages/rpm/spec/hadoop.spec   2013-06-14 15:31:46.000000000 +1000
> ***************
> *** 194,199 ****
> --- 194,200 ----
>   %config(noreplace) %{_conf_dir}/ssl-server.xml.example
>   %config(noreplace) %{_conf_dir}/taskcontroller.cfg
>   %config(noreplace) %{_conf_dir}/fair-scheduler.xml
> + %config(noreplace) %{_conf_dir}/task-log4j.properties
>   %{_prefix}
>   %attr(0755,root,root) %{_prefix}/libexec
>   %attr(0755,root,root) /etc/rc.d/init.d
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message