initialization-actions icon indicating copy to clipboard operation
initialization-actions copied to clipboard

[hive-llap] Using $(hostname -s) vs ${HOSTNAME}

Open cjac opened this issue 1 year ago • 5 comments

Recent change in the hostname implementation has required that we find short hostname using a different mechanism. This patch makes that change.

cjac avatar Feb 23 '24 19:02 cjac

/gcbrun

cjac avatar Feb 23 '24 19:02 cjac

/gcbrun

cjac avatar Feb 23 '24 19:02 cjac

/gcbrun

cjac avatar Feb 23 '24 20:02 cjac

/gcbrun

cjac avatar Feb 23 '24 22:02 cjac

Here's one of the last commands and the output from the log:

+ sudo -u hive hive --service llapstatus --name llap0 -w -r 1 -i 5
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/usr/lib/tez/slf4j-reload4j-1.7.36.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/usr/lib/tez/lib/slf4j-reload4j-1.7.36.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/usr/lib/hadoop/lib/slf4j-reload4j-1.7.36.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.Reload4jLoggerFactory]
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/usr/lib/tez/slf4j-reload4j-1.7.36.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/usr/lib/tez/lib/slf4j-reload4j-1.7.36.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/usr/lib/hive/lib/log4j-slf4j-impl-2.17.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/usr/lib/hadoop/lib/slf4j-reload4j-1.7.36.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.Reload4jLoggerFactory]

LLAPSTATUS WatchMode with timeout=300 s
--------------------------------------------------------------------------------
LLAP Starting up with AppId=application_1708726725906_0001.
--------------------------------------------------------------------------------
WARN cli.LlapStatusServiceDriver: Watch mode enabled and got YARN error. Retrying..
WARN cli.LlapStatusServiceDriver: Watch mode enabled and got YARN error. Retrying..
LLAP status unknown

cjac avatar Feb 26 '24 17:02 cjac