Uploaded image for project: 'Apache Storm'
  1. Apache Storm
  2. STORM-3131

Support hostname-substitution for blobstore.hdfs.principal

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0.0
    • Component/s: None

      Description

      We can have something like

          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;
          }
      
      

      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

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ethanli Ethan Li
                Reporter:
                ethanli Ethan Li
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 20m
                  1h 20m