Fixed classpath issues
This commit is contained in:
parent
fe5fa11d25
commit
1591fbab46
|
@ -0,0 +1,12 @@
|
||||||
|
diff --git a/hadoop-common-project/hadoop-common/src/main/conf/hadoop-env.sh b/hadoop-common-project/hadoop-common/src/main/conf/hadoop-env.sh
|
||||||
|
index b82267d..9d1ad5e 100644
|
||||||
|
--- a/hadoop-common-project/hadoop-common/src/main/conf/hadoop-env.sh
|
||||||
|
+++ b/hadoop-common-project/hadoop-common/src/main/conf/hadoop-env.sh
|
||||||
|
@@ -40,6 +40,7 @@ for f in $HADOOP_HOME/contrib/capacity-scheduler/*.jar; do
|
||||||
|
export HADOOP_CLASSPATH=$f
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
+export HADOOP_CLASSPATH=$HADOOP_CLASSPATH:/usr/share/java/netty/netty-common.jar:/usr/share/java/netty/netty-transport.jar:/usr/share/java/jctools/jctools-core.jar:/usr/share/java/netty/netty-buffer.jar
|
||||||
|
|
||||||
|
# The maximum amount of heap to use, in MB. Default is 1000.
|
||||||
|
#export HADOOP_HEAPSIZE=
|
|
@ -11,7 +11,7 @@
|
||||||
|
|
||||||
Name: hadoop
|
Name: hadoop
|
||||||
Version: 2.7.3
|
Version: 2.7.3
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: A software platform for processing vast amounts of data
|
Summary: A software platform for processing vast amounts of data
|
||||||
# The BSD license file is missing
|
# The BSD license file is missing
|
||||||
# https://issues.apache.org/jira/browse/HADOOP-9849
|
# https://issues.apache.org/jira/browse/HADOOP-9849
|
||||||
|
@ -66,6 +66,8 @@ Patch19: protobuf3.patch
|
||||||
Patch21: %{name}-openssl.patch
|
Patch21: %{name}-openssl.patch
|
||||||
# fix exception no longer thrown in aws
|
# fix exception no longer thrown in aws
|
||||||
Patch22: %{name}-aws.patch
|
Patch22: %{name}-aws.patch
|
||||||
|
# fix classpath issues
|
||||||
|
Patch23: classpath.patch
|
||||||
|
|
||||||
# This is not a real BR, but is here because of rawhide shift to eclipse
|
# This is not a real BR, but is here because of rawhide shift to eclipse
|
||||||
# aether packages which caused a dependency of a dependency to not get
|
# aether packages which caused a dependency of a dependency to not get
|
||||||
|
@ -1136,6 +1138,9 @@ fi
|
||||||
%attr(6050,root,yarn) %{_bindir}/container-executor
|
%attr(6050,root,yarn) %{_bindir}/container-executor
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Mar 17 2017 Mike Miller <mmiller@apache.org> - 2.7.3-2
|
||||||
|
- Fix classpath issues
|
||||||
|
|
||||||
* Thu Mar 02 2017 Mike Miller <mmiller@apache.org> - 2.7.3-1
|
* Thu Mar 02 2017 Mike Miller <mmiller@apache.org> - 2.7.3-1
|
||||||
- Update to 2.7.3
|
- Update to 2.7.3
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue