You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Dmytro Kondriukov (Jira)" <ji...@apache.org> on 2020/03/11 18:04:00 UTC

[jira] [Updated] (DRILL-7638) Cannot login to Drill Web Console, if go to it from YARN Application Master Web-UI

     [ https://issues.apache.org/jira/browse/DRILL-7638?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dmytro Kondriukov updated DRILL-7638:
-------------------------------------
    Description: 
*Preconditions:*
 # drill-on-yarn.conf:
{noformat}
connection: "maprfs:///"
app-dir: "/users/drill"
auth-type: "drill"
{noformat}
 # drill-override.conf:
{noformat}
drill.exec: {
  cluster-id: "drillbits1",
  zk.connect: "localhost:5181"
  impersonation: {
        enabled: true,
        max_chained_user_hops: 3
        },
    security: {
        auth.mechanisms : ["PLAIN"],
        },
    security.user.auth: {
    enabled: true,
    packages += "org.apache.drill.exec.rpc.user.security",
    impl: "pam4j",
    pam_profiles: [ "sudo", "login" ]
    }
}
{noformat}
 # Start drill on yarn
{noformat}
./bin/drill-on-yarn.sh start --site <Path to site dir>
{noformat}

 
 *Steps to reproduce:*
 # Open  Drill-on-YARN Web-UI
 # Login
 # Go to "drillbits" page
 # Click on available host of drillbit
 # Log In to Drill Web Console
 # Click on page "Query"

 

*Expected result:* opened page "Query"
 *Actual result:*  user is not logged in
Also unwanted parameters were added to the URL:
 * mainLogin?redirect=%2Fquery
 * ;jsessionid=1b80pye4814gy56gqdz02jtkg

 

  was:
*Preconditions:*
 # drill-on-yarn.conf:
{noformat}
connection: "maprfs:///"
app-dir: "/users/drill"
auth-type: "drill"
{noformat}

 # drill-override.conf:
{noformat}
drill.exec: {
  cluster-id: "drillbits1",
  zk.connect: "localhost:5181"
  impersonation: {
        enabled: true,
        max_chained_user_hops: 3
        },
    security: {
        auth.mechanisms : ["PLAIN"],
        },
    security.user.auth: {
    enabled: true,
    packages += "org.apache.drill.exec.rpc.user.security",
    impl: "pam4j",
    pam_profiles: [ "sudo", "login" ]
    }
}
{noformat}

 # Start drill on yarn
{noformat}
./bin/drill-on-yarn.sh start --site <Path to site dir>
{noformat}

 
 *Steps to reproduce:*
 # Open  Drill-on-YARN Web-UI
 # Login
 # Go to "drillbits" page
 # Click on available host of drillbit
 # Log In to Drill Web Console
 # Click on page "Query"

 

*Expected result:* opened page "Query"
 *Actual result:*  user is not logged in
Also unwanted parameters were added to the URL:
 * mainLogin?redirect=%2Fquery
 * ;jsessionid=1b80pye4814gy56gqdz02jtkg

 


> Cannot login to Drill Web Console, if go to it from YARN Application Master Web-UI
> ----------------------------------------------------------------------------------
>
>                 Key: DRILL-7638
>                 URL: https://issues.apache.org/jira/browse/DRILL-7638
>             Project: Apache Drill
>          Issue Type: Bug
>    Affects Versions: 1.17.0
>            Reporter: Dmytro Kondriukov
>            Priority: Major
>
> *Preconditions:*
>  # drill-on-yarn.conf:
> {noformat}
> connection: "maprfs:///"
> app-dir: "/users/drill"
> auth-type: "drill"
> {noformat}
>  # drill-override.conf:
> {noformat}
> drill.exec: {
>   cluster-id: "drillbits1",
>   zk.connect: "localhost:5181"
>   impersonation: {
>         enabled: true,
>         max_chained_user_hops: 3
>         },
>     security: {
>         auth.mechanisms : ["PLAIN"],
>         },
>     security.user.auth: {
>     enabled: true,
>     packages += "org.apache.drill.exec.rpc.user.security",
>     impl: "pam4j",
>     pam_profiles: [ "sudo", "login" ]
>     }
> }
> {noformat}
>  # Start drill on yarn
> {noformat}
> ./bin/drill-on-yarn.sh start --site <Path to site dir>
> {noformat}
>  
>  *Steps to reproduce:*
>  # Open  Drill-on-YARN Web-UI
>  # Login
>  # Go to "drillbits" page
>  # Click on available host of drillbit
>  # Log In to Drill Web Console
>  # Click on page "Query"
>  
> *Expected result:* opened page "Query"
>  *Actual result:*  user is not logged in
> Also unwanted parameters were added to the URL:
>  * mainLogin?redirect=%2Fquery
>  * ;jsessionid=1b80pye4814gy56gqdz02jtkg
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)