falcon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arpit Gupta (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FALCON-14) secure falcon daemon
Date Fri, 17 May 2013 18:41:15 GMT

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

Arpit Gupta commented on FALCON-14:
-----------------------------------

Looking at the following code

{code}
+            String principal = StartupProperties.get().getProperty(KERBEROS_PRINCIPAL);
+            checkNotNullorEmpty(principal, KERBEROS_PRINCIPAL);
+
+            Configuration conf = new Configuration();
+            conf.set("hadoop.security.authentication", "kerberos");
+
+            UserGroupInformation.setConfiguration(conf);
+            UserGroupInformation.loginUserFromKeytab(principal, keytabFilePath);
+
+            LOG.info("Got Kerberos ticket, keytab: " + keytabFilePath
+                    + ", Falcon principal principal: " + principal);
{code}

Can we add support for specifying principal like falcon/_HOST@REALM and we replace _HOST with
the machine hostname. Similar to what hadoop and components do.
                
> secure falcon daemon
> --------------------
>
>                 Key: FALCON-14
>                 URL: https://issues.apache.org/jira/browse/FALCON-14
>             Project: Falcon
>          Issue Type: Sub-task
>    Affects Versions: 0.3
>            Reporter: Venkatesh Seetharam
>            Assignee: Venkatesh Seetharam
>              Labels: security
>             Fix For: 0.3
>
>         Attachments: FALCON-14.patch, FALCON-14-r1.patch
>
>
> Add Authentication to falcon.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message