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

Support hostname-substitution for blobstore.hdfs.principal

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.0.0
    • 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

              ethanli Ethan Li
              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