solrctl sentry --list-roles
위의 명령을 실행 중이지만 아래 오류 때문에 실패했습니다. 나는 Sentry를 처음 사용합니다. Sentry 서비스가 실행중인 hostname의 올바른 값을 가지고 있으며, sentry.service.client.server.rpc-address의 값을 이중으로 확인했습니다. 이 오류는 무엇을 의미합니까? CDH와센트리 | java.lang.NullPointerException : 구성 키 sentry.service.client.server.rpc 주소가 필요합니다.
16/09/26 15:19:42 ERROR tools.SentryShellSolr: Config key sentry.service.client.server.rpc-address is required
java.lang.NullPointerException: Config key sentry.service.client.server.rpc-address is required
at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:208)
at org.apache.sentry.provider.db.generic.service.thrift.SentryGenericServiceClientDefaultImpl.<init>(SentryGenericServiceClientDefaultImpl.java:123)
at org.apache.sentry.provider.db.generic.service.thrift.SentryGenericServiceClientFactory.create(SentryGenericServiceClientFactory.java:31)
at org.apache.sentry.provider.db.generic.tools.SentryShellSolr.run(SentryShellSolr.java:50)
at org.apache.sentry.provider.db.tools.SentryShellCommon.executeShell(SentryShellCommon.java:241)
at org.apache.sentry.provider.db.generic.tools.SentryShellSolr.main(SentryShellSolr.java:95)
The operation failed. Message: Config key sentry.service.client.server.rpc-address is required
문제를 해결할 수 있었습니까? (나는 같은 문제를 가지고있다.) – oh54