Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.10.0
    • Component/s: None
    • Labels:
      None

      Description

      This is not a critial issue, but each Tajo components internally use ipv4 address. Without this option, JVM will try to load ipv6 stacks on jvm processes and bind itself with ipv6 addresses. It could waste JVM resources and could be decreased network performance. If we don't have a plan to support ipv6 address, it could be better to turn off ipv6 support.

        Activity

        Hide
        githubbot ASF GitHub Bot added a comment -

        GitHub user ykrips opened a pull request:

        https://github.com/apache/tajo/pull/291

        TAJO-1230: Disable ipv6 support on JVM

        Before applying this option, it would be shown like following line.
        ```
        tcp 0 0 127.0.0.1:26001 0.0.0.0:* LISTEN 4494/java
        tcp 0 0 127.0.0.1:26002 0.0.0.0:* LISTEN 4494/java
        tcp 0 0 127.0.0.1:26003 0.0.0.0:* LISTEN 4494/java
        tcp 0 0 127.0.0.1:26005 0.0.0.0:* LISTEN 4494/java
        tcp 0 0 0.0.0.0:26080 0.0.0.0:* LISTEN 4494/java
        tcp 0 0 :::28091 :::* LISTEN 4692/java
        tcp 0 0 :::28092 :::* LISTEN 4692/java
        tcp 0 0 :::28093 :::* LISTEN 4692/java
        tcp 0 0 :::38818 :::* LISTEN 4595/java
        tcp 0 0 ::ffff:192.168.122.18:28080 :::* LISTEN 4692/java
        ```

        With this disable IPv6 option, it will be disable the ipv6 capability on servers.
        ```
        tcp 0 0 127.0.0.1:26001 0.0.0.0:* LISTEN 3796/java
        tcp 0 0 127.0.0.1:26002 0.0.0.0:* LISTEN 3796/java
        tcp 0 0 127.0.0.1:26003 0.0.0.0:* LISTEN 3796/java
        tcp 0 0 127.0.0.1:26005 0.0.0.0:* LISTEN 3796/java
        tcp 0 0 0.0.0.0:28091 0.0.0.0:* LISTEN 3995/java
        tcp 0 0 0.0.0.0:28092 0.0.0.0:* LISTEN 3995/java
        tcp 0 0 0.0.0.0:28093 0.0.0.0:* LISTEN 3995/java
        tcp 0 0 0.0.0.0:26080 0.0.0.0:* LISTEN 3796/java
        tcp 0 0 192.168.122.185:28080 0.0.0.0:* LISTEN 3995/java
        tcp 0 0 0.0.0.0:11728 0.0.0.0:* LISTEN 3897/java
        ```

        You can merge this pull request into a Git repository by running:

        $ git pull https://github.com/ykrips/tajo TAJO-1230

        Alternatively you can review and apply these changes as the patch at:

        https://github.com/apache/tajo/pull/291.patch

        To close this pull request, make a commit to your master/trunk branch
        with (at least) the following in the commit message:

        This closes #291


        commit eefe43d742804db604a89ffddd2aa3f473eb5926
        Author: Jihun Kang <ykrips@gmail.com>
        Date: 2014-12-08T02:56:21Z

        TAJO-1230: Disable ipv6 support on JVM


        Show
        githubbot ASF GitHub Bot added a comment - GitHub user ykrips opened a pull request: https://github.com/apache/tajo/pull/291 TAJO-1230 : Disable ipv6 support on JVM Before applying this option, it would be shown like following line. ``` tcp 0 0 127.0.0.1:26001 0.0.0.0:* LISTEN 4494/java tcp 0 0 127.0.0.1:26002 0.0.0.0:* LISTEN 4494/java tcp 0 0 127.0.0.1:26003 0.0.0.0:* LISTEN 4494/java tcp 0 0 127.0.0.1:26005 0.0.0.0:* LISTEN 4494/java tcp 0 0 0.0.0.0:26080 0.0.0.0:* LISTEN 4494/java tcp 0 0 :::28091 :::* LISTEN 4692/java tcp 0 0 :::28092 :::* LISTEN 4692/java tcp 0 0 :::28093 :::* LISTEN 4692/java tcp 0 0 :::38818 :::* LISTEN 4595/java tcp 0 0 ::ffff:192.168.122.18:28080 :::* LISTEN 4692/java ``` With this disable IPv6 option, it will be disable the ipv6 capability on servers. ``` tcp 0 0 127.0.0.1:26001 0.0.0.0:* LISTEN 3796/java tcp 0 0 127.0.0.1:26002 0.0.0.0:* LISTEN 3796/java tcp 0 0 127.0.0.1:26003 0.0.0.0:* LISTEN 3796/java tcp 0 0 127.0.0.1:26005 0.0.0.0:* LISTEN 3796/java tcp 0 0 0.0.0.0:28091 0.0.0.0:* LISTEN 3995/java tcp 0 0 0.0.0.0:28092 0.0.0.0:* LISTEN 3995/java tcp 0 0 0.0.0.0:28093 0.0.0.0:* LISTEN 3995/java tcp 0 0 0.0.0.0:26080 0.0.0.0:* LISTEN 3796/java tcp 0 0 192.168.122.185:28080 0.0.0.0:* LISTEN 3995/java tcp 0 0 0.0.0.0:11728 0.0.0.0:* LISTEN 3897/java ``` You can merge this pull request into a Git repository by running: $ git pull https://github.com/ykrips/tajo TAJO-1230 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/tajo/pull/291.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #291 commit eefe43d742804db604a89ffddd2aa3f473eb5926 Author: Jihun Kang <ykrips@gmail.com> Date: 2014-12-08T02:56:21Z TAJO-1230 : Disable ipv6 support on JVM
        Hide
        githubbot ASF GitHub Bot added a comment -

        Github user hyunsik commented on the pull request:

        https://github.com/apache/tajo/pull/291#issuecomment-66039504

        +1

        The patch looks straightforward. This patch does not affect any tests. The unit test was failed due to time zone issue (TAJO-1234). I'll commit it shortly.

        Show
        githubbot ASF GitHub Bot added a comment - Github user hyunsik commented on the pull request: https://github.com/apache/tajo/pull/291#issuecomment-66039504 +1 The patch looks straightforward. This patch does not affect any tests. The unit test was failed due to time zone issue ( TAJO-1234 ). I'll commit it shortly.
        Hide
        githubbot ASF GitHub Bot added a comment -

        Github user asfgit closed the pull request at:

        https://github.com/apache/tajo/pull/291

        Show
        githubbot ASF GitHub Bot added a comment - Github user asfgit closed the pull request at: https://github.com/apache/tajo/pull/291
        Hide
        hyunsik Hyunsik Choi added a comment -

        committed. Thank you Jihun!

        Show
        hyunsik Hyunsik Choi added a comment - committed. Thank you Jihun!
        Hide
        hudson Hudson added a comment -

        FAILURE: Integrated in Tajo-master-CODEGEN-build #128 (See https://builds.apache.org/job/Tajo-master-CODEGEN-build/128/)
        TAJO-1230: Disable ipv6 support on JVM. (Jihun Kang via hyunsik) (hyunsik: rev 88e5c9e9a5cc067f7cc95899cd21394f2a2243c9)

        • tajo-dist/src/main/bin/tajo
        • CHANGES
        Show
        hudson Hudson added a comment - FAILURE: Integrated in Tajo-master-CODEGEN-build #128 (See https://builds.apache.org/job/Tajo-master-CODEGEN-build/128/ ) TAJO-1230 : Disable ipv6 support on JVM. (Jihun Kang via hyunsik) (hyunsik: rev 88e5c9e9a5cc067f7cc95899cd21394f2a2243c9) tajo-dist/src/main/bin/tajo CHANGES
        Hide
        hudson Hudson added a comment -

        SUCCESS: Integrated in Tajo-master-build #487 (See https://builds.apache.org/job/Tajo-master-build/487/)
        TAJO-1230: Disable ipv6 support on JVM. (Jihun Kang via hyunsik) (hyunsik: rev 88e5c9e9a5cc067f7cc95899cd21394f2a2243c9)

        • CHANGES
        • tajo-dist/src/main/bin/tajo
        Show
        hudson Hudson added a comment - SUCCESS: Integrated in Tajo-master-build #487 (See https://builds.apache.org/job/Tajo-master-build/487/ ) TAJO-1230 : Disable ipv6 support on JVM. (Jihun Kang via hyunsik) (hyunsik: rev 88e5c9e9a5cc067f7cc95899cd21394f2a2243c9) CHANGES tajo-dist/src/main/bin/tajo

          People

          • Assignee:
            ykrips Jihun Kang
            Reporter:
            ykrips Jihun Kang
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development