Traceback (most recent call last):
File "/var/lib/ambari-agent/cache/common-services/AMBARI_INFRA_SOLR/0.1.0/package/scripts/infra_solr.py", line 171, in <module>
InfraSolr().execute()
File "/usr/lib/ambari-agent/lib/resource_management/libraries/script/script.py", line 353, in execute
method(env)
File "/var/lib/ambari-agent/cache/common-services/AMBARI_INFRA_SOLR/0.1.0/package/scripts/infra_solr.py", line 146, in restore
restore_collection(env)
File "/var/lib/ambari-agent/cache/common-services/AMBARI_INFRA_SOLR/0.1.0/package/scripts/collection.py", line 103, in restore_collection
core_pairs = command_commons.create_core_pairs(original_core_host_pairs, new_core_host_pairs)
File "/var/lib/ambari-agent/cache/common-services/AMBARI_INFRA_SOLR/0.1.0/package/scripts/command_commons.py", line 289, in create_core_pairs
with open(format("{index_location}/restore_core_pairs.json"), 'w') as outfile:
IOError: [Errno 13] Permission denied: u'/tmp/ranger/restore_core_pairs.json