

기계 번역으로 제공되는 번역입니다. 제공된 번역과 원본 영어의 내용이 상충하는 경우에는 영어 버전이 우선합니다.

# Amazon EMR과 Ranger의 통합에 대한 쿼리가 예기치 않게 실패함
<a name="emr-ranger-troubleshooting-queries-failed"></a>

**Apache Ranger 플러그인 로그 확인(Apache Hive, EMR RecordServer, EMR SecretAgent 등의 로그)**

이 섹션은 Apache Hive, EMR Record Server, EMR SecretAgent와 같이 Ranger 플러그인과 통합되는 모든 애플리케이션에서 공통적으로 사용됩니다.

**일반 오류 메시지**


| 오류 메시지 | 원인 | 
| --- | --- | 
| ERROR PolicyRefresher:272 - [] PolicyRefresher(serviceName=policy-repository): failed to find service. Will clean up local cache of policies (-1)  | 이 오류 메시지는 EMR 보안 구성에서 제공한 서비스 이름이 Ranger Admin 서버의 서비스 정책 리포지토리와 일치하지 않음을 의미합니다. | 

Ranger Admin 서버 내에서 AMAZON-EMR-SPARK 서비스가 다음과 같은 경우 서비스 이름으로 **amazonemrspark**를 입력해야 합니다.

![AMAZON-EMR-SPARK 문제 해결을 보여주는 Ranger Admin 서버.](http://docs.aws.amazon.com/ko_kr/emr/latest/ManagementGuide/images/ranger-amazon-emr-spark-troubleshooting.png)
