Uploaded image for project: 'Eagle'
  1. Eagle
  2. EAGLE-36

string value of "site" is case-sensitive in topology configuration file

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: v0.3.0
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Environment:
      CentOS release 6.6
      HDP-2.2.8.0-3150
      Hbase 0.98.4.2.2
      Storm 0.9.3.2.2
      Kafka 0.8.1.2.2
      Java 1.7.0_67-b01

       

      Description

      Currently the "site" string is treated as case-sensitive in the site related configuration files for topology, it will cause trouble for users if they made a mistake about the letter case.

      I created a site with name "Demo", but in the "Demo-hdfsAuditLog-application.conf" I set the site as "demo". It turned out that the policy din't work and in the storm log file there was a warning: "No alert definitions was found for site: demo, dataSource: hdfsAuditLog". Then I change the site in the conf files to "Demo" and everything works fine.

      So I suggest to treat "site" string as case-insensitive to avoid such mistake.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              DanielZhou Da Zhou
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: