You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@storm.apache.org by "Ethan Li (JIRA)" <ji...@apache.org> on 2018/08/17 13:30:00 UTC
[jira] [Assigned] (STORM-3131) Support hostname-substitution for
blobstore.hdfs.principal
[ https://issues.apache.org/jira/browse/STORM-3131?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ethan Li reassigned STORM-3131:
-------------------------------
Assignee: Ethan Li
> Support hostname-substitution for blobstore.hdfs.principal
> ----------------------------------------------------------
>
> Key: STORM-3131
> URL: https://issues.apache.org/jira/browse/STORM-3131
> Project: Apache Storm
> Issue Type: Improvement
> Reporter: Ethan Li
> Assignee: Ethan Li
> Priority: Major
> Labels: pull-request-available
> Time Spent: 10m
> Remaining Estimate: 0h
>
> We can have something like
> {code:java}
> public static String getBlobstoreHDFSPrincipal(Map conf) throws UnknownHostException {
> String principal = (String)conf.get(Config.BLOBSTORE_HDFS_PRINCIPAL);
> if (principal != null) {
> principal = principal.replace("HOSTNAME", Utils.localHostname());
> }
> return principal;
> }
> {code}
> So it will be easier to deploy storm. Instead of setting different principal on every node, we can have the same principal headless_user/HOSTNAME@DOMAIN
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)