Uploaded image for project: 'Apache Drill'
  1. Apache Drill
  2. DRILL-4523

Disallow using loopback address in distributed mode

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.6.0
    • Fix Version/s: 1.7.0
    • Component/s: Server
    • Labels:
      None

      Description

      If we enable debug for org.apache.drill.exec.coord.zk in logback.xml, we only get the hostname and ports information. For example:

      2015-11-04 19:47:02,927 [ServiceCache-0] DEBUG o.a.d.e.c.zk.ZKClusterCoordinator - Cache changed, updating.
      2015-11-04 19:47:02,932 [ServiceCache-0] DEBUG o.a.d.e.c.zk.ZKClusterCoordinator - Active drillbit set changed.  Now includes 2 total bits.  New active drillbits:
       h3.poc.com:31010:31011:31012
       h2.poc.com:31010:31011:31012
      

      We need to know the IP address of each hostname to do further troubleshooting.

      Imagine if any drillbit registers itself as "localhost.localdomain" in zookeeper, we will never know where it comes from. Enabling IP address tracking can help this case.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                arina Arina Ielchiieva
                Reporter:
                arina Arina Ielchiieva
                Reviewer:
                Krystal
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: