복붙노트

[HADOOP] 시작시 HiveServer2 정지

HADOOP

시작시 HiveServer2 정지

나는 hadoop / hive를 처음 사용합니다. Hive Server 2를 시작하려고 시도했지만 어떤 이유로 든 중단되고 명령 프롬프트로 돌아 가지 않습니다. 왜 이런 일이 일어나고 있습니까?

$:/usr/local/hive$ hiveserver2
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/usr/local/hadoop-2.6.0/share/hadoop/common/lib/slf4j-log4j12-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/usr/local/hive-0.14.0/lib/hive-jdbc-0.14.0-standalone.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]

그런 다음 영원히 유지됩니다. 나는 또한 시도했다 : hive --service hiveserver2 그러나 동일한 결과.

감사!

해결법

  1. ==============================

    1.경고에 나열된 2 개의 SLF4J 바인딩 중 하나를 클래스 경로에서 제외해야합니다.

    경고에 나열된 2 개의 SLF4J 바인딩 중 하나를 클래스 경로에서 제외해야합니다.

    이것이 경고 일지라도 SLF4J는 하나의 로깅 프레임 워크 / 구현을 선택하고 바인딩합니다. 바인딩은 JVM에 의해 결정되며 대부분 임의의 함수로 간주됩니다.

    그런 다음 시도해보십시오

    hive --service hiveserver2
    
  2. from https://stackoverflow.com/questions/27964559/hiveserver2-hang-on-start by cc-by-sa and MIT license