Olivér Szabó created AMBARI-23421:
-------------------------------------

             Summary: Add solr-to-solr archive operation for solrDataManager.py
                 Key: AMBARI-23421
                 URL: https://issues.apache.org/jira/browse/AMBARI-23421
             Project: Ambari
          Issue Type: Bug
          Components: ambari-infra
    Affects Versions: 2.7.0
            Reporter: Olivér Szabó
            Assignee: Olivér Szabó
             Fix For: 2.7.0


Add solr to solr archive/save option for solrDataManager.py
new fields: 
- `solr-output-collection`: the collection where we will archive data
- `exclude-fields`: exclude fields from solr response (at least _version_ is 
required)
example:
{code:java}
infra-solr-data-manager -m archive -v -c old_ranger_audits -s 
http://c7402.ambari.apache.org:8886/solr -z none -r 10000 -w 100000 -f evtTime 
-e 2018-03-31T01:00:00.00Z --solr-output-collection ranger_audits -k 
/etc/security/keytabs/ambari-infra-solr.service.keytab -n infra-solr/$(hostname 
-f) --exclude-fields _version_,_ttl_,_expire_at_
{code}




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to