<commit_before>{
  "services": [
    {
      "name": "STORM",
      "identities": [
        {
          "name": "/spnego"
        },
        {
          "name": "/smokeuser"
        },
        {
          "name": "storm_components",
          "principal": {
            "value": "${storm-env/storm_user}${principal_suffix}@${realm}",
            "type": "user",
            "configuration": "storm-env/storm_principal_name"
          },
          "keytab": {
            "file": "${keytab_dir}/storm.headless.keytab",
            "owner": {
              "name": "${storm-env/storm_user}",
              "access": "r"
            },
            "group": {
              "name": "${cluster-env/user_group}",
              "access": ""
            },
            "configuration": "storm-env/storm_keytab"
          }
        },
        {
          "name": "/STORM/storm_components",
          "principal": {
            "configuration": "storm-atlas-application.properties/atlas.jaas.KafkaClient.option.principal"
          },
          "keytab": {
            "configuration": "storm-atlas-application.properties/atlas.jaas.KafkaClient.option.keyTab"
          }
        }
      ],
      "configurations": [
        {
          "storm-site": {
            "nimbus.authorizer": "org.apache.storm.security.auth.authorizer.SimpleACLAuthorizer",
            "drpc.authorizer": "org.apache.storm.security.auth.authorizer.DRPCSimpleACLAuthorizer",
            "ui.filter": "org.apache.hadoop.security.authentication.server.AuthenticationFilter",
            "storm.principal.tolocal": "org.apache.storm.security.auth.KerberosPrincipalToLocal",
            "supervisor.enable": "true",
            "storm.zookeeper.superACL": "sasl:{{storm_bare_jaas_principal}}",
            "java.security.auth.login.config": "{{conf_dir}}/storm_jaas.conf",
            "nimbus.impersonation.authorizer": "org.apache.storm.security.auth.authorizer.ImpersonationAuthorizer",
            "nimbus.impersonation.acl": "{ {{storm_bare_jaas_principal}} : {hosts: ['*'], groups: ['*']}}",
            "nimbus.admins": "['{{storm_bare_jaas_principal}}', '{{ambari_bare_jaas_principal}}']",
            "nimbus.supervisor.users": "['{{storm_bare_jaas_principal}}']",
            "ui.filter.params": "{'type': 'kerberos', 'kerberos.principal': '{{storm_ui_jaas_principal}}', 'kerberos.keytab': '{{storm_ui_keytab_path}}', 'kerberos.name.rules': 'DEFAULT'}",
            "nimbus.autocredential.plugins.classes": "['org.apache.storm.hdfs.security.AutoHDFS', 'org.apache.storm.hbase.security.AutoHBase', 'org.apache.storm.hive.security.AutoHive']",
            "nimbus.credential.renewers.classes": "['org.apache.storm.hdfs.security.AutoHDFS', 'org.apache.storm.hbase.security.AutoHBase', 'org.apache.storm.hive.security.AutoHive']",
            "nimbus.credential.renewers.freq.secs": 82800
            
          }
        },
        {
          "ranger-storm-audit": {
            "xasecure.audit.jaas.Client.loginModuleName": "com.sun.security.auth.module.Krb5LoginModule",
            "xasecure.audit.jaas.Client.loginModuleControlFlag": "required",
            "xasecure.audit.jaas.Client.option.useKeyTab": "true",
            "xasecure.audit.jaas.Client.option.storeKey": "false",
            "xasecure.audit.jaas.Client.option.serviceName": "solr",
            "xasecure.audit.destination.solr.force.use.inmemory.jaas.config": "true"<commit_msg>AMBARI-21136. Upgrading Ambari to 2.5.1 stops Storm's nimbus in secure moded. (<NAME> via rlevas)<commit_after>{
  "services": [
    {
      "name": "STORM",
      "identities": [
        {
          "name": "/spnego"
        },
        {
          "name": "/smokeuser"
        },
        {
          "name": "storm_components",
          "principal": {
            "value": "${storm-env/storm_user}${principal_suffix}@${realm}",
            "type": "user",
            "configuration": "storm-env/storm_principal_name"
          },
          "keytab": {
            "file": "${keytab_dir}/storm.headless.keytab",
            "owner": {
              "name": "${storm-env/storm_user}",
              "access": "r"
            },
            "group": {
              "name": "${cluster-env/user_group}",
              "access": ""
            },
            "configuration": "storm-env/storm_keytab"
          }
        },
        {
          "name": "/STORM/storm_components",
          "principal": {
            "configuration": "storm-atlas-application.properties/atlas.jaas.KafkaClient.option.principal"
          },
          "keytab": {
            "configuration": "storm-atlas-application.properties/atlas.jaas.KafkaClient.option.keyTab"
          }
        }
      ],
      "configurations": [
        {
          "storm-site": {
            "nimbus.authorizer": "org.apache.storm.security.auth.authorizer.SimpleACLAuthorizer",
            "drpc.authorizer": "org.apache.storm.security.auth.authorizer.DRPCSimpleACLAuthorizer",
            "ui.filter": "org.apache.hadoop.security.authentication.server.AuthenticationFilter",
            "storm.principal.tolocal": "org.apache.storm.security.auth.KerberosPrincipalToLocal",
            "supervisor.enable": "true",
            "storm.zookeeper.superACL": "sasl:{{storm_bare_jaas_principal}}",
            "java.security.auth.login.config": "{{conf_dir}}/storm_jaas.conf",
            "nimbus.impersonation.authorizer": "org.apache.storm.security.auth.authorizer.ImpersonationAuthorizer",
            "nimbus.impersonation.acl": "{ {{storm_bare_jaas_principal}} : {hosts: ['*'], groups: ['*']}}",
            "nimbus.admins": "['{{storm_bare_jaas_principal}}', '{{ambari_bare_jaas_principal}}']",
            "nimbus.supervisor.users": "['{{storm_bare_jaas_principal}}']",
            "ui.filter.params": "{'type': 'kerberos', 'kerberos.principal': '{{storm_ui_jaas_principal}}', 'kerberos.keytab': '{{storm_ui_keytab_path}}', 'kerberos.name.rules': 'DEFAULT'}"
          }
        },
        {
          "ranger-storm-audit": {
            "xasecure.audit.jaas.Client.loginModuleName": "com.sun.security.auth.module.Krb5LoginModule",
            "xasecure.audit.jaas.Client.loginModuleControlFlag": "required",
            "xasecure.audit.jaas.Client.option.useKeyTab": "true",
            "xasecure.audit.jaas.Client.option.storeKey": "false",
            "xasecure.audit.jaas.Client.option.serviceName": "solr",
            "xasecure.audit.destination.solr.force.use.inmemory.jaas.config": "true"
{'fraction_non_alphanumeric': 0.16926640926640926, 'fraction_numerical': 0.0023166023166023165, 'mean_word_length': 2.293997965412004, 'pattern_counts': {'":': 93, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3958570', 'n_tokens_mistral': 2100, 'n_tokens_neox': 2092, 'n_words': 200}