You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Ashutosh Chauhan (JIRA)" <ji...@apache.org> on 2016/01/27 17:48:39 UTC

[jira] [Commented] (HIVE-12933) Beeline will hang when authenticating with PAM when libjpam.so is missing

    [ https://issues.apache.org/jira/browse/HIVE-12933?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15119752#comment-15119752 ] 

Ashutosh Chauhan commented on HIVE-12933:
-----------------------------------------

+1 
I have also seen a case where libjpam.so was present, but passwords were expired, so authentication failed and that also crashed HS2.

> Beeline will hang when authenticating with PAM when libjpam.so is missing
> -------------------------------------------------------------------------
>
>                 Key: HIVE-12933
>                 URL: https://issues.apache.org/jira/browse/HIVE-12933
>             Project: Hive
>          Issue Type: Bug
>          Components: Authentication
>    Affects Versions: 2.0.0, 2.1.0
>            Reporter: Aihua Xu
>            Assignee: Aihua Xu
>         Attachments: HIVE-12933.patch
>
>
> When we setup PAM authentication, we need to have libjpam.so under java.library.path. If it happens to misplace the .so file, rather than giving an exception, the client will hang forever.
> Seems we should catch the exception when the lib is missing.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)