Flume之——org/apache/flume/tools/GetJavaProperty : Unsupported major.minor version 52.0

转载请注明出处:http://blog.csdn.net/l1028386804/article/details/79193639

ng脚本问题,解决办法:增加如下红色字体

add_HBASE_paths() {
  local HBASE_IN_PATH=$(PATH="${HBASE_HOME}/bin:$PATH" \
      which hbase 2>/dev/null)


  if [ -f "${HBASE_IN_PATH}" ]; then
    info "Including HBASE libraries found via ($HBASE_IN_PATH) for HBASE access"


    # determine HBASE java.library.path and use that for flume
    local HBASE_CLASSPATH=""
    local HBASE_JAVA_LIBRARY_PATH=$(HBASE_CLASSPATH="$FLUME_CLASSPATH" \
        ${HBASE_IN_PATH} org.apache.flume.tools.GetJavaProperty \
        java.library.path 2>/dev/null | grep hbase )

 

你可能感兴趣的:(Flume,Hadoop生态)