Ethan Li created STORM-3131:
-------------------------------
Summary: 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
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)