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

Web UI doesn't show a login page

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      I am attempting to setup user authentication for apache drill via the web ui. This is for a cluster install in which there are three nodes running on CentOS 6.6. I have successfully install jpam and user authentication is forced when attempting to connect using the drill-conf shell, however when using a browser to access one of the nodes on 8047, instead of the expected login page the page showing the number of drill bits, the hostnames for each drillbit, and the ports associated is presented.

      I've added the -Djava.library.path=/opt/pam to the drill-env.sh file as that is where I installed jpam, and the drill-override.conf has the following subsections:

      drill.exec: {
        cluster-id: "clusterid",
        zk.connect: "node01:2181,node02:2181,node03:2181"
        security.user.auth {
          enabled: true,
          packages += "org.apache.drill.exec.rpc.user.security",
          impl: "pam",
          pam_profiles: [ "sudo", "login" ]
        }
        http: {
          enabled: true,
          ssl_enabled: true,
          port: 8047
        },
      }
      

      Is there anything obvious I'm missing?

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              karak2112 Tony Alfaro
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: