You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@drill.apache.org by "Noor (Jira)" <ji...@apache.org> on 2021/04/12 06:56:00 UTC

[jira] [Resolved] (DRILL-7891) Drill Cluster Authentication failed. Incorrect credentials? PLAIN PAM authentication on node-2

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

Noor resolved DRILL-7891.
-------------------------
    Fix Version/s: 1.18.0
         Reviewer: Lu Cong
       Resolution: Resolved

For any who having similar issue, Please check the system name at /etc/hosts and remove localhost FQDN and only keep system hostname there with IP.

I kept both i.e.  localhost and hostname due to some other application requirement, which causes conflict of hostname within apache Drill cluster nodes.

> Drill Cluster Authentication failed. Incorrect credentials? PLAIN PAM authentication on node-2
> ----------------------------------------------------------------------------------------------
>
>                 Key: DRILL-7891
>                 URL: https://issues.apache.org/jira/browse/DRILL-7891
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Client - JDBC, Functions - Drill
>    Affects Versions: 1.18.0
>         Environment: drill.exec: {
>  cluster-id: "DrillMFSYS",
>  zk.connect: "zk1:2181,zk2:2181,zk3:2181"
> impersonation: {
>  enabled: true,
>  max_chained_user_hops: 3
>  },
>  security: {
>  auth.mechanisms : ["PLAIN"],
>  user.encryption.sasl.enabled: false
>  },
>  security.user.auth: {
>  enabled: true,
>  packages += "org.apache.drill.exec.rpc.user.security",
>  impl: "pam",
>  pam_profiles: ["sudo"]
>  }
> }
>            Reporter: Noor
>            Priority: Major
>             Fix For: 1.18.0
>
>   Original Estimate: 504h
>  Remaining Estimate: 504h
>
> [Client-1] ERROR o.o.a.d.e.r.s.AuthenticationOutcomeListener - Authentication with encryption context: Encryption: disabled , MaxWrappedSize: 65536 , WrapSizeLimit: 0 using mechanism PLAIN failed with Authentication failed. Incorrect credentials? [Details: Encryption: disabled , MaxWrappedSize: 65536 , WrapSizeLimit: 0]



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