You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tajo.apache.org by ji...@apache.org on 2014/12/09 02:56:29 UTC
[08/10] tajo git commit: TAJO-1230: Disable ipv6 support on JVM.
(Jihun Kang via hyunsik)
TAJO-1230: Disable ipv6 support on JVM. (Jihun Kang via hyunsik)
Closes #291
Project: http://git-wip-us.apache.org/repos/asf/tajo/repo
Commit: http://git-wip-us.apache.org/repos/asf/tajo/commit/88e5c9e9
Tree: http://git-wip-us.apache.org/repos/asf/tajo/tree/88e5c9e9
Diff: http://git-wip-us.apache.org/repos/asf/tajo/diff/88e5c9e9
Branch: refs/heads/index_support
Commit: 88e5c9e9a5cc067f7cc95899cd21394f2a2243c9
Parents: b5aa780
Author: Hyunsik Choi <hy...@apache.org>
Authored: Mon Dec 8 18:15:37 2014 +0900
Committer: Hyunsik Choi <hy...@apache.org>
Committed: Mon Dec 8 18:15:37 2014 +0900
----------------------------------------------------------------------
CHANGES | 2 ++
tajo-dist/src/main/bin/tajo | 3 +++
2 files changed, 5 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/tajo/blob/88e5c9e9/CHANGES
----------------------------------------------------------------------
diff --git a/CHANGES b/CHANGES
index c84992b..581c997 100644
--- a/CHANGES
+++ b/CHANGES
@@ -18,6 +18,8 @@ Release 0.9.1 - unreleased
IMPROVEMENT
+ TAJO-1230: Disable ipv6 support on JVM. (Jihun Kang via hyunsik)
+
TAJO-1213: Implement CatalogStore::updateTableStats. (jaehwa)
TAJO-1165: Needs to show error messages on query_executor.jsp.
http://git-wip-us.apache.org/repos/asf/tajo/blob/88e5c9e9/tajo-dist/src/main/bin/tajo
----------------------------------------------------------------------
diff --git a/tajo-dist/src/main/bin/tajo b/tajo-dist/src/main/bin/tajo
index d4e99f9..6e054f3 100755
--- a/tajo-dist/src/main/bin/tajo
+++ b/tajo-dist/src/main/bin/tajo
@@ -334,6 +334,9 @@ if [ "$TAJO_POLICYFILE" = "" ]; then
TAJO_POLICYFILE="tajo-policy.xml"
fi
+# Disable IPv6 Support for network performance
+TAJO_OPTS="$TAJO_OPTS -Djava.net.preferIPv4Stack=true"
+
# figure out which class to run
if [ "$COMMAND" = "classpath" ] ; then
if $cygwin; then