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

Infra Solr migration: Restore collection fails after EU on Custom Users + WE cluster. Error - Permission denied: u'/tmp/ranger/restore_core_pairs.json'

    XMLWordPrintableJSON

Details

    Description

      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
      

      Attachments

        Activity

          People

            oleewere Oliver Szabo
            oleewere Oliver Szabo
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 2h 20m
                2h 20m