There is a lot of confusion here. I'll try to clear it up a little bit: - Apache Drill 1.2 does not support web authentication. The Apache Drill docs incorrectly state that it does. (it sounds like maybe Kristine is saying these will be fixed shortly) - MapR has released their own version of Drill that does include web authentication.
-- Jacques Nadeau CTO and Co-Founder, Dremio On Thu, Nov 12, 2015 at 10:27 AM, Kristine Hahn <[email protected]> wrote: > The doc link Andries mentioned is an obsolete cached version that should > have been (and will be) removed. Please see the recently clarified (thanks > Andries!) MapR docs for Web Console security info: > > http://doc.mapr.com/display/MapR/Starting+the+Web+Console > > http://doc.mapr.com/display/MapR/Configuring+Web+Console+and+REST+API+Security > > Kristine Hahn > Sr. Technical Writer > 415-497-8107 @krishahn skype:krishahn > > > On Thu, Nov 12, 2015 at 8:06 AM, Andries Engelbrecht < > [email protected]> wrote: > > > Try looking at this page > > https://drill.apache.org/docs/configuring-web-ui-and-rest-api-security/ > < > > https://drill.apache.org/docs/configuring-web-ui-and-rest-api-security/> > > > > I didn't set the http settings you list in drill-override.conf, instead i > > added this to drill-env.sh > > export DRILL_JAVA_OPTS="$DRILL_JAVA_OPTS > > -Ddrill.exec.http.ssl_enabled=true" > > > > Also make sure to add some admin users and groups. > > 1. alter system set `security.admin.users`='admin1,admin2,...'; > > 2. alter system set `security.admin.user_groups`='admingroup'; and add > > users to the group. > > > > > > --Andries > > > > > > > On Nov 12, 2015, at 7:44 AM, Alfaro, Tony <[email protected]> > > wrote: > > > > > > I've done as the documentation said and installed jpam, user auth works > > with the command line access tools (bin/drill-conf -n user -p pass), but > > the webui's don't show a login page, only the data for number of drill > > bits, the hostnames for each bit, the port addresses, and direct memory > > numbers. The drill-env.sh file contains the path declaration for jpam as > > /opt/pam/ (where it was installed) and the drill-override.conf has the > > following drill.exec section: > > > > > > 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 something obvious I'm missing to get the user login page to > > show? > > > > > > Jose A. "Tony" Alfaro // Application Systems Administrator > > > ViaSat, Inc. > > > Email : [email protected]<mailto:[email protected]> > > > desk : 720.568.3061 > > > mobile: 720.467.9481 > > > > > > > >
