You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2018/08/06 21:38:00 UTC

[jira] [Commented] (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'

    [ https://issues.apache.org/jira/browse/AMBARI-24409?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16570811#comment-16570811 ] 

Hudson commented on AMBARI-24409:
---------------------------------

SUCCESS: Integrated in Jenkins build Ambari-trunk-Commit #9750 (See [https://builds.apache.org/job/Ambari-trunk-Commit/9750/])
AMBARI-24409. Infra Solr migration: Restore collection fails after EU on (github: [https://gitbox.apache.org/repos/asf?p=ambari.git&a=commit&h=d3b47d0fe8bd0ecfabba1b472d99def263310fdf])
* (edit) ambari-server/src/main/resources/common-services/AMBARI_INFRA_SOLR/0.1.0/package/scripts/command_commons.py


> Infra Solr migration: Restore collection fails after EU on Custom Users + WE cluster. Error - Permission denied: u'/tmp/ranger/restore_core_pairs.json'
> -------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: AMBARI-24409
>                 URL: https://issues.apache.org/jira/browse/AMBARI-24409
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-infra, ambari-server
>    Affects Versions: 2.7.0
>            Reporter: Olivér Szabó
>            Assignee: Olivér Szabó
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 2.7.1
>
>          Time Spent: 2h 20m
>  Remaining Estimate: 0h
>
> {code:java}
> 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
> {code}



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