Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-18207

For atlas, solr configSet should be renamed from "basic_configs" to "atlas_configs"

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.4.0
    • Fix Version/s: 2.4.0
    • Component/s: ambari-server
    • Labels:
      None

      Description

      The config set being named as "basic_configs" is an issue because this conflicts with the solr supplied default configset which maybe have been uploaded and being used by the customer. In this case, the collection required for ATLAS will be created with incorrect config set.

      Ambari agent log while starting atlas

      2016-08-18 07:20:56,550 - Execute['ambari-sudo.sh JAVA_HOME=/usr/lib/jvm/java-1.7.0-openjdk.x86_64 /usr/lib/ambari-infra-solr-client/solrCloudCli.sh --zookeeper-connect-string atlas-resilience-testing-1.openstacklocal:2181,atlas-resilience-testing-2.openstacklocal:2181 --znode /infra-solr --check-znode --retry 5 --interval 10'] {}
      2016-08-18 07:20:57,349 - Execute['ambari-sudo.sh JAVA_HOME=/usr/lib/jvm/java-1.7.0-openjdk.x86_64 /usr/lib/ambari-infra-solr-client/solrCloudCli.sh --zookeeper-connect-string atlas-resilience-testing-1.openstacklocal:2181,atlas-resilience-testing-2.openstacklocal:2181/infra-solr --download-config --config-dir /var/lib/ambari-agent/tmp/solr_config_basic_configs_0.862005779328 --config-set basic_configs --retry 30 --interval 5'] {'only_if': 'ambari-sudo.sh JAVA_HOME=/usr/lib/jvm/java-1.7.0-openjdk.x86_64 /usr/lib/ambari-infra-solr-client/solrCloudCli.sh --zookeeper-connect-string atlas-resilience-testing-1.openstacklocal:2181,atlas-resilience-testing-2.openstacklocal:2181/infra-solr --check-config --config-set basic_configs --retry 30 --interval 5'}
      2016-08-18 07:20:58,858 - File['/var/lib/ambari-agent/tmp/solr_config_basic_configs_0.862005779328/solrconfig.xml'] {'content': InlineTemplate(...), 'only_if': 'test -d /var/lib/ambari-agent/tmp/solr_config_basic_configs_0.862005779328'}
      2016-08-18 07:20:58,870 - Execute['ambari-sudo.sh JAVA_HOME=/usr/lib/jvm/java-1.7.0-openjdk.x86_64 /usr/lib/ambari-infra-solr-client/solrCloudCli.sh --zookeeper-connect-string atlas-resilience-testing-1.openstacklocal:2181,atlas-resilience-testing-2.openstacklocal:2181/infra-solr --upload-config --config-dir /var/lib/ambari-agent/tmp/solr_config_basic_configs_0.862005779328 --config-set basic_configs --retry 30 --interval 5 --jaas-file /etc/atlas/conf/atlas_jaas.conf'] {'only_if': 'test -d /var/lib/ambari-agent/tmp/solr_config_basic_configs_0.862005779328'}
      2016-08-18 07:21:00,082 - Execute['ambari-sudo.sh JAVA_HOME=/usr/lib/jvm/java-1.7.0-openjdk.x86_64 /usr/lib/ambari-infra-solr-client/solrCloudCli.sh --zookeeper-connect-string atlas-resilience-testing-1.openstacklocal:2181,atlas-resilience-testing-2.openstacklocal:2181/infra-solr --upload-config --config-dir /etc/atlas/conf/solr --config-set basic_configs --retry 30 --interval 5 --jaas-file /etc/atlas/conf/atlas_jaas.conf'] {'not_if': 'test -d /var/lib/ambari-agent/tmp/solr_config_basic_configs_0.862005779328'}
      2016-08-18 07:21:00,097 - Skipping Execute['ambari-sudo.sh JAVA_HOME=/usr/lib/jvm/java-1.7.0-openjdk.x86_64 /usr/lib/ambari-infra-solr-client/solrCloudCli.sh --zookeeper-connect-string atlas-resilience-testing-1.openstacklocal:2181,atlas-resilience-testing-2.openstacklocal:2181/infra-solr --upload-config --config-dir /etc/atlas/conf/solr --config-set basic_configs --retry 30 --interval 5 --jaas-file /etc/atlas/conf/atlas_jaas.conf'] due to not_if
      2016-08-18 07:21:00,098 - Directory['/var/lib/ambari-agent/tmp/solr_config_basic_configs_0.862005779328'] {'action': ['delete'], 'create_parents': True}
      2016-08-18 07:21:00,099 - Removing directory Directory['/var/lib/ambari-agent/tmp/solr_config_basic_configs_0.862005779328'] and all its content
      2016-08-18 07:21:00,101 - Execute['ambari-sudo.sh JAVA_HOME=/usr/lib/jvm/java-1.7.0-openjdk.x86_64 /usr/lib/ambari-infra-solr-client/solrCloudCli.sh --zookeeper-connect-string atlas-resilience-testing-1.openstacklocal:2181,atlas-resilience-testing-2.openstacklocal:2181/infra-solr --create-collection --collection vertex_index --config-set basic_configs --shards 1 --replication 1 --max-shards 1 --retry 5 --interval 10 --no-sharding --jaas-file /etc/atlas/conf/atlas_jaas.conf'] {}
      2016-08-18 07:21:01,765 - Execute['ambari-sudo.sh JAVA_HOME=/usr/lib/jvm/java-1.7.0-openjdk.x86_64 /usr/lib/ambari-infra-solr-client/solrCloudCli.sh --zookeeper-connect-string atlas-resilience-testing-1.openstacklocal:2181,atlas-resilience-testing-2.openstacklocal:2181/infra-solr --create-collection --collection edge_index --config-set basic_configs --shards 1 --replication 1 --max-shards 1 --retry 5 --interval 10 --no-sharding --jaas-file /etc/atlas/conf/atlas_jaas.conf'] {}
      2016-08-18 07:21:03,295 - Execute['ambari-sudo.sh JAVA_HOME=/usr/lib/jvm/java-1.7.0-openjdk.x86_64 /usr/lib/ambari-infra-solr-client/solrCloudCli.sh --zookeeper-connect-string atlas-resilience-testing-1.openstacklocal:2181,atlas-resilience-testing-2.openstacklocal:2181/infra-solr --create-collection --collection fulltext_index --config-set basic_configs --shards 1 --replication 1 --max-shards 1 --retry 5 --interval 10 --no-sharding --jaas-file /etc/atlas/conf/atlas_jaas.conf'] {}
      2016-08-18 07:21:04,856 - TemplateConfig['/etc/atlas/conf/atl
      

        Attachments

        1. AMBARI-18207.v2.patch
          19 kB
          Alejandro Fernandez
        2. AMBARI-18207.patch
          7 kB
          Ayub Pathan

          Activity

            People

            • Assignee:
              ayubpathan Ayub Pathan
              Reporter:
              ayubpathan Ayub Pathan
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: