kafka-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brett Rann <br...@zendesk.com.INVALID>
Subject Re: Kafka/zookeeper logs in every command
Date Mon, 29 Jan 2018 02:42:26 GMT
the command line tools should be using config/tools-log4j.properties which
should have log level set to WARN, not INFO
config/log4j.properties is used by the broker and by default is set to INFO

bin/kafka-run-class.sh will default to the first one if KAFKA_LOG4J_OPTS
isn't set.

# Log4j settings
if [ -z "$KAFKA_LOG4J_OPTS" ]; then
  # Log to console. This is a tool.
  LOG4J_DIR="$base_dir/config/tools-log4j.properties"
  # If Cygwin is detected, LOG4J_DIR is converted to Windows format.
  (( CYGWIN )) && LOG4J_DIR=$(cygpath --path --mixed "${LOG4J_DIR}")
  KAFKA_LOG4J_OPTS="-Dlog4j.configuration=file:${LOG4J_DIR}"
else
  # create logs directory
  if [ ! -d "$LOG_DIR" ]; then
    mkdir -p "$LOG_DIR"
  fi
fi

With some hacky stuff for Cygwin which I have no opinions on if Cygwin or
should be used.

So:

a) make sure you don't have a KAFKA_LOG4J_OPTS environment variable set.
b) make sure config/tools-log4j.properties is set to WARN, not INFO level.
c) trace out what happens in run-class.sh to make sure there's not
something else happening, and add some debugging to see exactly what
KAFKA_LOG4J_OPTS is being set to, so you can track down where it's being
set to INFO instead of WARN.



On Wed, Jan 24, 2018 at 8:11 PM, José Ribeiro <jose.enes.ribeiro@hotmail.com
> wrote:

> I didn't touch the properties of any configuration. I even tried to
> download again the kafka folder, run the zookeeper, kafka server and it
> still appears all this logs
>
>
> José
>
> ________________________________
> De: Xin Li <Xin.Li@trivago.com>
> Enviado: 23 de janeiro de 2018 19:36:14
> Para: users@kafka.apache.org
> Assunto: Re: Kafka/zookeeper logs in every command
>
>
> Looking for log4j.properties, in the config directoires.
>
> Best,
> Xin
> On 23.01.18, 16:58, "José Ribeiro" <jose.enes.ribeiro@hotmail.com> wrote:
>
> Good morning.
>
>
> I have a problem about kafka logs showing in my outputs.
>
> When i started to work with kafka, the outputs were normal. For example:
>
>
> kafka-topics.sh --list --zookeeper localhost:2181
>
> returned
>
> test
>
>
> Now, with the same command line, i get this:
>
>
> SLF4J: Class path contains multiple SLF4J bindings.
> SLF4J: Found binding in [jar:file:/opt/apache-hive-2.
> 3.2-bin/lib/log4j-slf4j-impl-2.6.2.jar!/org/slf4j/impl/
> StaticLoggerBinder.class]
> SLF4J: Found binding in [jar:file:/opt/kafka_2.11-1.0.
> 0/libs/slf4j-log4j12-1.7.25.jar!/org/slf4j/impl/StaticLoggerBinder.class]
> SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings
> <http://www.slf4j.org/codes.html#multiple_bindings> for an
> explanation.
> SLF4J: Actual binding is of type [org.apache.logging.slf4j.
> Log4jLoggerFactory]
> 2018-01-23T11:26:53,964 INFO [ZkClient-EventThread-12-localhost:2181]
> org.I0Itec.zkclient.ZkEventThread - Starting ZkClient event thread.
> 2018-01-23T11:26:53,973 INFO [main] org.apache.zookeeper.ZooKeeper -
> Client environment:zookeeper.version=3.4.6-1569965, built on 02/20/2014
> 09:09 GMT
> 2018-01-23T11:26:53,974 INFO [main] org.apache.zookeeper.ZooKeeper -
> Client environment:host.name=ubuntu
> 2018-01-23T11:26:53,974 INFO [main] org.apache.zookeeper.ZooKeeper -
> Client environment:java.version=1.8.0_151
> 2018-01-23T11:26:53,974 INFO [main] org.apache.zookeeper.ZooKeeper -
> Client environment:java.vendor=Oracle Corporation
> 2018-01-23T11:26:53,975 INFO [main] org.apache.zookeeper.ZooKeeper -
> Client environment:java.home=/usr/lib/jvm/java-8-oracle/jre
> 2018-01-23T11:26:53,975 INFO [main] org.apache.zookeeper.ZooKeeper -
> Client environment:java.class.path=:/opt/hadoop-2.9.0/lib/*:.:/opt/
> apache-hive-2.3.2-bin/lib/aether-util-0.9.0.M2.jar:/opt/
> apache-hive-2.3.2-bin/lib/datanucleus-core-4.1.17.jar:/
> opt/apache-hive-2.3.2-bin/lib/guice-servlet-4.1.0.jar:/opt/
> apache-hive-2.3.2-bin/lib/maven-model-builder-3.1.1.jar:
> /opt/apache-hive-2.3.2-bin/lib/jackson-jaxrs-1.9.13.jar:/
> opt/apache-hive-2.3.2-bin/lib/metrics-jvm-3.1.0.jar:/opt/
> apache-hive-2.3.2-bin/lib/httpclient-4.4.jar:/opt/
> apache-hive-2.3.2-bin/lib/antlr-runtime-3.5.2.jar:/opt/
> apache-hive-2.3.2-bin/lib/avatica-metrics-1.8.0.jar:/
> opt/apache-hive-2.3.2-bin/lib/hbase-server-1.1.1.jar:/opt/
> apache-hive-2.3.2-bin/lib/druid-common-0.9.2.jar:/opt/
> apache-hive-2.3.2-bin/lib/commons-lang-2.6.jar:/opt/
> apache-hive-2.3.2-bin/lib/datanucleus-rdbms-4.1.19.jar:/
> opt/apache-hive-2.3.2-bin/lib/netty-all-4.0.52.Final.jar:/
> opt/apache-hive-2.3.2-bin/lib/hive-accumulo-handler-2.3.2.
> jar:/opt/apache-hive-2.3.2-bin/lib/log4j-core-2.6.2.jar:/
> opt/apache-hive-2.3.2-bin/lib/bonecp-0.8.0.RELEASE.jar:/opt/
> apache-hive-2.3.2-bin/lib/org.abego.treelayout.core-1.0.1.
> jar:/opt/apache-hive-2.3.2-bin/lib/accumulo-core-1.6.0.
> jar:/opt/apache-hive-2.3.2-bin/lib/geronimo-jaspic_1.0_
> spec-1.0.jar:/opt/apache-hive-2.3.2-bin/lib/validation-api-
> 1.1.0.Final.jar:/opt/apache-hive-2.3.2-bin/lib/jetty-6.1.
> 26.jar:/opt/apache-hive-2.3.2-bin/lib/calcite-core-1.10.0.
> jar:/opt/apache-hive-2.3.2-bin/lib/hive-hplsql-2.3.2.jar:
> /opt/apache-hive-2.3.2-bin/lib/javax.servlet-3.0.0.
> v201112011016.jar:/opt/apache-hive-2.3.2-bin/lib/jsp-api-2.
> 1-6.1.14.jar:/opt/apache-hive-2.3.2-bin/lib/regexp-1.3.jar:/
> opt/apache-hive-2.3.2-bin/lib/jackson-dataformat-smile-2.4.
> 6.jar:/opt/apache-hive-2.3.2-bin/lib/jackson-datatype-
> guava-2.4.6.jar:/opt/apache-hive-2.3.2-bin/lib/
> transaction-api-1.1.jar:/opt/apache-hive-2.3.2-bin/lib/
> wagon-provider-api-2.4.jar:/opt/apache-hive-2.3.2-bin/lib/
> hive-shims-common-2.3.2.jar:/opt/apache-hive-2.3.2-bin/lib/
> hibernate-validator-5.1.3.Final.jar:/opt/apache-hive-2.
> 3.2-bin/lib/servlet-api-2.5-6.1.14.jar:/opt/apache-hive-2.3.
> 2-bin/lib/maven-scm-api-1.4.jar:/opt/apache-hive-2.3.2-
> bin/lib/druid-hdfs-storage-0.9.2.jar:/opt/apache-hive-2.3.
> 2-bin/lib/config-magic-0.9.jar:/opt/apache-hive-2.3.2-
> bin/lib/commons-dbcp2-2.0.1.jar:/opt/apache-hive-2.3.2-
> bin/lib/curator-x-discovery-2.11.0.jar:/opt/apache-hive-2.3.
> 2-bin/lib/asm-3.1.jar:/opt/apache-hive-2.3.2-bin/lib/
> spymemcached-2.11.7.jar:/opt/apache-hive-2.3.2-bin/lib/
> metrics-json-3.1.0.jar:/opt/apache-hive-2.3.2-bin/lib/
> log4j-web-2.6.2.jar:/opt/apache-hive-2.3.2-bin/lib/
> commons-compress-1.9.jar:/opt/apache-hive-2.3.2-bin/lib/
> hive-vector-code-gen-2.3.2.jar:/opt/apache-hive-2.3.2-
> bin/lib/google-http-client-jackson2-1.15.0-rc.jar:/opt/
> apache-hive-2.3.2-bin/lib/jetty-util-6.1.26.jar:/opt/
> apache-hive-2.3.2-bin/lib/hive-cli-2.3.2.jar:/opt/
> apache-hive-2.3.2-bin/lib/commons-el-1.0.jar:/opt/
> apache-hive-2.3.2-bin/lib/hive-service-2.3.2.jar:/opt/
> apache-hive-2.3.2-bin/lib/jersey-server-1.14.jar:/opt/
> apache-hive-2.3.2-bin/lib/jackson-jaxrs-base-2.4.6.jar:/
> opt/apache-hive-2.3.2-bin/lib/log4j-1.2-api-2.6.2.jar:/opt/
> apache-hive-2.3.2-bin/lib/hive-shims-0.23-2.3.2.jar:/
> opt/apache-hive-2.3.2-bin/lib/compress-lzf-1.0.3.jar:/opt/
> apache-hive-2.3.2-bin/lib/javax.el-api-3.0.0.jar:/opt/
> apache-hive-2.3.2-bin/lib/eigenbase-properties-1.1.5.
> jar:/opt/apache-hive-2.3.2-bin/lib/RoaringBitmap-0.5.18.
> jar:/opt/apache-hive-2.3.2-bin/lib/maxminddb-0.2.0.jar:/
> opt/apache-hive-2.3.2-bin/lib/datanucleus-api-jdo-4.2.4.jar:
> /opt/apache-hive-2.3.2-bin/lib/lz4-1.3.0.jar:/opt/apache-
> hive-2.3.2-bin/lib/postgresql-9.4.1208.jre7.jar:/opt/apache-
> hive-2.3.2-bin/lib/jdo-api-3.0.1.jar:/opt/apache-hive-2.3.
> 2-bin/lib/extendedset-1.3.10.jar:/opt/apache-hive-2.3.2-
> bin/lib/javax.servlet-api-3.1.0.jar:/opt/apache-hive-2.3.2-
> bin/lib/dropwizard-metrics-hadoop-metrics2-reporter-0.1.
> 2.jar:/opt/apache-hive-2.3.2-bin/lib/commons-pool-1.5.4.
> jar:/opt/apache-hive-2.3.2-bin/lib/hive-llap-common-2.3.
> 2-tests.jar:/opt/apache-hive-2.3.2-bin/lib/rhino-1.7R5.jar:
> /opt/apache-hive-2.3.2-bin/lib/postgresql-metadata-
> storage-0.9.2.jar:/opt/apache-hive-2.3.2-bin/lib/hive-
> beeline-2.3.2.jar:/opt/apache-hive-2.3.2-bin/lib/ant-
> launcher-1.9.1.jar:/opt/apache-hive-2.3.2-bin/lib/
> hive-llap-server-2.3.2.jar:/opt/apache-hive-2.3.2-bin/lib/
> jackson-databind-2.6.5.jar:/opt/apache-hive-2.3.2-bin/lib/
> mapdb-1.0.8.jar:/opt/apache-hive-2.3.2-bin/lib/commons-
> codec-1.4.jar:/opt/apache-hive-2.3.2-bin/lib/commons-
> compiler-2.7.6.jar:/opt/apache-hive-2.3.2-bin/lib/
> hbase-prefix-tree-1.1.1.jar:/opt/apache-hive-2.3.2-bin/lib/
> maven-scm-provider-svnexe-1.4.jar:/opt/apache-hive-2.3.2-
> bin/lib/commons-vfs2-2.0.jar:/opt/apache-hive-2.3.2-bin/lib/
> snappy-java-1.0.5.jar:/opt/apache-hive-2.3.2-bin/lib/orc-
> core-1.3.3.jar:/opt/apache-hive-2.3.2-bin/lib/jackson-
> module-jaxb-annotations-2.4.6.jar:/opt/apache-hive-2.3.2-
> bin/lib/jetty-util-9.2.5.v20141112.jar:/opt/apache-
> hive-2.3.2-bin/lib/libfb303-0.9.3.jar:/opt/apache-hive-2.3.
> 2-bin/lib/jackson-annotations-2.6.0.jar:/opt/apache-hive-2.
> 3.2-bin/lib/druid-console-0.0.2.jar:/opt/apache-hive-2.3.2-
> bin/lib/protobuf-java-2.5.0.jar:/opt/apache-hive-2.3.2-
> bin/lib/geronimo-annotation_1.0_spec-1.1.1.jar:/opt/apache-
> hive-2.3.2-bin/lib/log4j-api-2.6.2.jar:/opt/apache-hive-2.
> 3.2-bin/lib/netty-3.6.2.Final.jar:/opt/apache-hive-2.3.2-
> bin/lib/commons-pool2-2.2.jar:/opt/apache-hive-2.3.2-bin/
> lib/jersey-guice-1.19.jar:/opt/apache-hive-2.3.2-bin/lib/
> htrace-core-3.1.0-incubating.jar:/opt/apache-hive-2.3.2-
> bin/lib/hive-testutils-2.3.2.jar:/opt/apache-hive-2.3.2-
> bin/lib/commons-logging-1.2.jar:/opt/apache-hive-2.3.2-
> bin/lib/hive-common-2.3.2.jar:/opt/apache-hive-2.3.2-bin/
> lib/jta-1.1.jar:/opt/apache-hive-2.3.2-bin/lib/antlr4-
> runtime-4.5.jar:/opt/apache-hive-2.3.2-bin/lib/icu4j-4.8.
> 1.jar:/opt/apache-hive-2.3.2-bin/lib/jline-2.12.jar:/opt/
> apache-hive-2.3.2-bin/lib/jasper-runtime-5.5.23.jar:/
> opt/apache-hive-2.3.2-bin/lib/jboss-logging-3.1.3.GA.jar:/
> opt/apache-hive-2.3.2-bin/lib/jpam-1.1.jar:/opt/apache-hive-
> 2.3.2-bin/lib/jamon-runtime-2.3.1.jar:/opt/apache-hive-2.3.
> 2-bin/lib/javax.jdo-3.2.0-m3.jar:/opt/apache-hive-2.3.2-
> bin/lib/hive-storage-api-2.4.0.jar:/opt/apache-hive-2.3.2-
> bin/lib/commons-collections-3.2.2.jar:/opt/apache-hive-2.3.
> 2-bin/lib/mail-1.4.1.jar:/opt/apache-hive-2.3.2-bin/lib/
> druid-api-0.9.2.jar:/opt/apache-hive-2.3.2-bin/lib/
> accumulo-start-1.6.0.jar:/opt/apache-hive-2.3.2-bin/lib/
> jettison-1.1.jar:/opt/apache-hive-2.3.2-bin/lib/geronimo-
> jta_1.1_spec-1.1.1.jar:/opt/apache-hive-2.3.2-bin/lib/
> calcite-druid-1.10.0.jar:/opt/apache-hive-2.3.2-bin/lib/asm-
> commons-3.1.jar:/opt/apache-hive-2.3.2-bin/lib/hive-llap-
> client-2.3.2.jar:/opt/apache-hive-2.3.2-bin/lib/derby-10.
> 10.2.0.jar:/opt/apache-hive-2.3.2-bin/lib/hive-metastore-2.
> 3.2.jar:/opt/apache-hive-2.3.2-bin/lib/ST4-4.0.4.jar:/opt/
> apache-hive-2.3.2-bin/lib/druid-server-0.9.2.jar:/opt/
> apache-hive-2.3.2-bin/lib/jackson-datatype-joda-2.4.6.
> jar:/opt/apache-hive-2.3.2-bin/lib/javolution-5.5.1.jar:/
> opt/apache-hive-2.3.2-bin/lib/aether-connector-file-0.9.0.
> M2.jar:/opt/apache-hive-2.3.2-bin/lib/hbase-hadoop2-compat-
> 1.1.1-tests.jar:/opt/apache-hive-2.3.2-bin/lib/classmate-
> 1.0.0.jar:/opt/apache-hive-2.3.2-bin/lib/groovy-all-2.4.4.
> jar:/opt/apache-hive-2.3.2-bin/lib/pentaho-aggdesigner-
> algorithm-5.1.5-jhyde.jar:/opt/apache-hive-2.3.2-bin/lib/
> guice-multibindings-4.1.0.jar:/opt/apache-hive-2.3.2-bin/
> lib/json-1.8.jar:/opt/apache-hive-2.3.2-bin/lib/bytebuffer-
> collections-0.2.5.jar:/opt/apache-hive-2.3.2-bin/lib/ant-
> 1.9.1.jar:/opt/apache-hive-2.3.2-bin/lib/javax.inject-1.
> jar:/opt/apache-hive-2.3.2-bin/lib/okhttp-1.0.2.jar:/opt/
> apache-hive-2.3.2-bin/lib/airline-0.7.jar:/opt/apache-
> hive-2.3.2-bin/lib/hive-llap-common-2.3.2.jar:/opt/apache-
> hive-2.3.2-bin/lib/hive-hcatalog-core-2.3.2.jar:/opt/
> apache-hive-2.3.2-bin/lib/hive-hcatalog-server-extensions-2.3.2.jar:/opt/
> apache-hive-2.3.2-bin/lib/aether-connector-okhttp-0.0.9.
> jar:/opt/apache-hive-2.3.2-bin/lib/hbase-common-1.1.1.
> jar:/opt/apache-hive-2.3.2-bin/lib/maven-settings-
> builder-3.1.1.jar:/opt/apache-hive-2.3.2-bin/lib/curator-
> framework-2.7.1.jar:/opt/apache-hive-2.3.2-bin/lib/jsp-
> 2.1-6.1.14.jar:/opt/apache-hive-2.3.2-bin/lib/hbase-
> procedure-1.1.1.jar:/opt/apache-hive-2.3.2-bin/lib/
> HikariCP-2.5.1.jar:/opt/apache-hive-2.3.2-bin/lib/
> aether-spi-0.9.0.M2.jar:/opt/apache-hive-2.3.2-bin/lib/
> log4j-slf4j-impl-2.6.2.jar:/opt/apache-hive-2.3.2-bin/lib/
> jsp-api-2.1.jar:/opt/apache-hive-2.3.2-bin/lib/jetty-
> continuation-9.2.5.v20141112.jar:/opt/apache-hive-2.3.2-
> bin/lib/findbugs-annotations-1.3.9-1.jar:/opt/apache-hive-
> 2.3.2-bin/lib/jetty-io-9.2.5.v20141112.jar:/opt/apache-
> hive-2.3.2-bin/lib/json-path-2.1.0.jar:/opt/apache-hive-2.
> 3.2-bin/lib/accumulo-trace-1.6.0.jar:/opt/apache-hive-2.3.
> 2-bin/lib/log4j-jul-2.5.jar:/opt/apache-hive-2.3.2-bin/lib/
> hbase-annotations-1.1.1.jar:/opt/apache-hive-2.3.2-bin/lib/
> hbase-hadoop2-compat-1.1.1.jar:/opt/apache-hive-2.3.2-
> bin/lib/hbase-hadoop-compat-1.1.1.jar:/opt/apache-hive-2.3.
> 2-bin/lib/commons-io-2.4.jar:/opt/apache-hive-2.3.2-bin/lib/
> java-util-0.27.10.jar:/opt/apache-hive-2.3.2-bin/lib/
> curator-recipes-2.7.1.jar:/opt/apache-hive-2.3.2-bin/lib/
> zookeeper-3.4.6.jar:/opt/apache-hive-2.3.2-bin/lib/
> curator-client-2.7.1.jar:/opt/apache-hive-2.3.2-bin/lib/
> jetty-security-9.2.5.v20141112.jar:/opt/apache-
> hive-2.3.2-bin/lib/guava-14.0.1.jar:/opt/apache-hive-2.3.2-
> bin/lib/jasper-compiler-5.5.23.jar:/opt/apache-hive-2.3.2-
> bin/lib/aether-impl-0.9.0.M2.jar:/opt/apache-hive-2.3.2-
> bin/lib/plexus-utils-3.0.15.jar:/opt/apache-hive-2.3.2-
> bin/lib/jackson-xc-1.9.13.jar:/opt/apache-hive-2.3.2-bin/
> lib/hive-hbase-handler-2.3.2.jar:/opt/apache-hive-2.3.2-
> bin/lib/derbyclient-10.11.1.1.jar:/opt/apache-hive-2.3.2-
> bin/lib/commons-math-2.2.jar:/opt/apache-hive-2.3.2-bin/lib/
> server-metrics-0.2.8.jar:/opt/apache-hive-2.3.2-bin/lib/asm-
> tree-3.1.jar:/opt/apache-hive-2.3.2-bin/lib/maven-settings-
> 3.1.1.jar:/opt/apache-hive-2.3.2-bin/lib/libthrift-0.9.3.
> jar:/opt/apache-hive-2.3.2-bin/lib/velocity-1.5.jar:/opt/
> apache-hive-2.3.2-bin/lib/ivy-2.4.0.jar:/opt/apache-hive-2.
> 3.2-bin/lib/maven-aether-provider-3.1.1.jar:/opt/
> apache-hive-2.3.2-bin/lib/mysql-metadata-storage-0.9.2.
> jar:/opt/apache-hive-2.3.2-bin/lib/activation-1.1.jar:/
> opt/apache-hive-2.3.2-bin/lib/avatica-1.8.0.jar:/opt/apache-
> hive-2.3.2-bin/lib/jetty-server-9.2.5.v20141112.jar:/
> opt/apache-hive-2.3.2-bin/lib/jersey-client-1.9.jar:/opt/
> apache-hive-2.3.2-bin/lib/commons-dbcp-1.4.jar:/opt/
> apache-hive-2.3.2-bin/lib/jsp-api-2.0.jar:/opt/apache-hive-
> 2.3.2-bin/lib/jetty-servlets-9.2.5.v20141112.jar:/opt/
> apache-hive-2.3.2-bin/lib/tempus-fugit-1.1.jar:/opt/
> apache-hive-2.3.2-bin/lib/hive-jdbc-handler-2.3.2.jar:/
> opt/apache-hive-2.3.2-bin/lib/gson-2.2.4.jar:/opt/apache-
> hive-2.3.2-bin/lib/accumulo-fate-1.6.0.jar:/opt/apache-
> hive-2.3.2-bin/lib/jetty-client-9.2.5.v20141112.jar:/
> opt/apache-hive-2.3.2-bin/lib/maven-model-3.1.1.jar:/opt/
> apache-hive-2.3.2-bin/lib/joni-2.1.2.jar:/opt/apache-
> hive-2.3.2-bin/lib/avro-1.7.7.jar:/opt/apache-hive-2.3.2-
> bin/lib/derbynet-10.11.1.1.jar:/opt/apache-hive-2.3.2-
> bin/lib/super-csv-2.2.0.jar:/opt/apache-hive-2.3.2-bin/lib/
> hive-service-rpc-2.3.2.jar:/opt/apache-hive-2.3.2-bin/lib/
> servlet-api-2.4.jar:/opt/apache-hive-2.3.2-bin/lib/
> jackson-core-2.6.5.jar:/opt/apache-hive-2.3.2-bin/lib/
> jetty-sslengine-6.1.26.jar:/opt/apache-hive-2.3.2-bin/lib/
> maven-scm-provider-svn-commons-1.4.jar:/opt/apache-
> hive-2.3.2-bin/lib/emitter-0.3.6.jar:/opt/apache-hive-2.3.
> 2-bin/lib/jetty-servlet-9.2.5.v20141112.jar:/opt/apache-
> hive-2.3.2-bin/lib/jcodings-1.0.8.jar:/opt/apache-hive-2.3.
> 2-bin/lib/commons-httpclient-3.0.1.jar:/opt/apache-hive-2.
> 3.2-bin/lib/hbase-protocol-1.1.1.jar:/opt/apache-hive-2.3.
> 2-bin/lib/opencsv-2.3.jar:/opt/apache-hive-2.3.2-bin/lib/
> joda-time-2.8.1.jar:/opt/apache-hive-2.3.2-bin/lib/ant-
> 1.6.5.jar:/opt/apache-hive-2.3.2-bin/lib/jcommander-1.32.
> jar:/opt/apache-hive-2.3.2-bin/lib/jdbi-2.63.1.jar:/opt/
> apache-hive-2.3.2-bin/lib/jetty-http-9.2.5.v20141112.
> jar:/opt/apache-hive-2.3.2-bin/lib/jetty-all-7.6.0.
> v20120127.jar:/opt/apache-hive-2.3.2-bin/lib/hive-shims-
> 2.3.2.jar:/opt/apache-hive-2.3.2-bin/lib/jsr305-3.0.0.jar:/
> opt/apache-hive-2.3.2-bin/lib/maven-repository-metadata-3.1.
> 1.jar:/opt/apache-hive-2.3.2-bin/lib/slider-core-0.90.2-
> incubating.jar:/opt/apache-hive-2.3.2-bin/lib/hbase-
> client-1.1.1.jar:/opt/apache-hive-2.3.2-bin/lib/irc-api-1.
> 0-0014.jar:/opt/apache-hive-2.3.2-bin/lib/jetty-proxy-9.2.5.
> v20141112.jar:/opt/apache-hive-2.3.2-bin/lib/commons-
> math3-3.6.1.jar:/opt/apache-hive-2.3.2-bin/lib/commons-
> lang3-3.1.jar:/opt/apache-hive-2.3.2-bin/lib/httpcore-4.
> 4.jar:/opt/apache-hive-2.3.2-bin/lib/calcite-linq4j-1.10.0.
> jar:/opt/apache-hive-2.3.2-bin/lib/aircompressor-0.3.jar:
> /opt/apache-hive-2.3.2-bin/lib/javax.el-3.0.0.jar:/opt/
> apache-hive-2.3.2-bin/lib/janino-2.7.6.jar:/opt/apache-
> hive-2.3.2-bin/lib/hive-contrib-2.3.2.jar:/opt/apache-
> hive-2.3.2-bin/lib/hive-serde-2.3.2.jar:/opt/apache-hive-2.
> 3.2-bin/lib/aether-api-0.9.0.M2.jar:/opt/apache-hive-2.3.2-
> bin/lib/plexus-interpolation-1.19.jar:/opt/apache-hive-2.3.
> 2-bin/lib/druid-processing-0.9.2.jar:/opt/apache-hive-2.3.
> 2-bin/lib/jackson-jaxrs-smile-provider-2.4.6.jar:/opt/
> apache-hive-2.3.2-bin/lib/geoip2-0.4.0.jar:/opt/apache-
> hive-2.3.2-bin/lib/jackson-jaxrs-json-provider-2.4.6.jar:
> /opt/apache-hive-2.3.2-bin/lib/http-client-1.0.4.jar:/
> opt/apache-hive-2.3.2-bin/lib/disruptor-3.3.0.jar:/opt/
> apache-hive-2.3.2-bin/lib/metrics-core-3.1.0.jar:/opt/
> apache-hive-2.3.2-bin/lib/stax-api-1.0.1.jar:/opt/
> apache-hive-2.3.2-bin/lib/hive-exec-2.3.2.jar:/opt/
> apache-hive-2.3.2-bin/lib/hive-llap-ext-client-2.3.2.
> jar:/opt/apache-hive-2.3.2-bin/lib/paranamer-2.3.jar:/
> opt/apache-hive-2.3.2-bin/lib/hive-druid-handler-2.3.2.jar:/
> opt/apache-hive-2.3.2-bin/lib/hbase-common-1.1.1-tests.jar:/
> opt/apache-hive-2.3.2-bin/lib/parquet-hadoop-bundle-1.8.1.
> jar:/opt/apache-hive-2.3.2-bin/lib/hive-llap-tez-2.3.2.
> jar:/opt/apache-hive-2.3.2-bin/lib/commons-cli-1.2.jar:/
> opt/apache-hive-2.3.2-bin/lib/hive-shims-scheduler-2.3.2.
> jar:/opt/apache-hive-2.3.2-bin/lib/tesla-aether-0.0.5.
> jar:/opt/apache-hive-2.3.2-bin/lib/metrics-core-2.2.0.
> jar:/opt/apache-hive-2.3.2-bin/lib/hive-jdbc-2.3.2.jar:.:
> /opt/db-derby-10.13.1.1-bin/lib/derby.jar:/opt/db-derby-
> 10.13.1.1-bin/lib/derbytools.jar:/opt/kafka_2.11-1.0.0/bin/
> ../libs/aopalliance-repackaged-2.5.0-b32.jar:/opt/
> kafka_2.11-1.0.0/bin/../libs/argparse4j-0.7.0.jar:/opt/
> kafka_2.11-1.0.0/bin/../libs/commons-lang3-3.5.jar:/opt/
> kafka_2.11-1.0.0/bin/../libs/connect-api-1.0.0.jar:/opt/
> kafka_2.11-1.0.0/bin/../libs/connect-file-1.0.0.jar:/opt/
> kafka_2.11-1.0.0/bin/../libs/connect-json-1.0.0.jar:/opt/
> kafka_2.11-1.0.0/bin/../libs/connect-runtime-1.0.0.jar:/
> opt/kafka_2.11-1.0.0/bin/../libs/connect-transforms-1.0.0.
> jar:/opt/kafka_2.11-1.0.0/bin/../libs/guava-20.0.jar:/opt/
> kafka_2.11-1.0.0/bin/../libs/hk2-api-2.5.0-b32.jar:/opt/
> kafka_2.11-1.0.0/bin/../libs/hk2-locator-2.5.0-b32.jar:/
> opt/kafka_2.11-1.0.0/bin/../libs/hk2-utils-2.5.0-b32.jar:/
> opt/kafka_2.11-1.0.0/bin/../libs/jackson-annotations-2.9.
> 1.jar:/opt/kafka_2.11-1.0.0/bin/../libs/jackson-core-2.9.
> 1.jar:/opt/kafka_2.11-1.0.0/bin/../libs/jackson-databind-
> 2.9.1.jar:/opt/kafka_2.11-1.0.0/bin/../libs/jackson-jaxrs-
> base-2.9.1.jar:/opt/kafka_2.11-1.0.0/bin/../libs/jackson-
> jaxrs-json-provider-2.9.1.jar:/opt/kafka_2.11-1.0.0/bin/../
> libs/jackson-module-jaxb-annotations-2.9.1.jar:/opt/
> kafka_2.11-1.0.0/bin/../libs/javassist-3.20.0-GA.jar:/opt/
> kafka_2.11-1.0.0/bin/../libs/javassist-3.21.0-GA.jar:/opt/
> kafka_2.11-1.0.0/bin/../libs/javax.annotation-api-1.2.jar:/
> opt/kafka_2.11-1.0.0/bin/../libs/javax.inject-1.jar:/opt/
> kafka_2.11-1.0.0/bin/../libs/javax.inject-2.5.0-b32.jar:/
> opt/kafka_2.11-1.0.0/bin/../libs/javax.servlet-api-3.1.0.
> jar:/opt/kafka_2.11-1.0.0/bin/../libs/javax.ws.rs-api-2.0.1.
> jar:/opt/kafka_2.11-1.0.0/bin/../libs/jersey-client-2.25.1.
> jar:/opt/kafka_2.11-1.0.0/bin/../libs/jersey-common-2.25.1.
> jar:/opt/kafka_2.11-1.0.0/bin/../libs/jersey-container-
> servlet-2.25.1.jar:/opt/kafka_2.11-1.0.0/bin/../libs/jersey-
> container-servlet-core-2.25.1.jar:/opt/kafka_2.11-1.0.0/bin/
> ../libs/jersey-guava-2.25.1.jar:/opt/kafka_2.11-1.0.0/bin/
> ../libs/jersey-media-jaxb-2.25.1.jar:/opt/kafka_2.11-1.0.
> 0/bin/../libs/jersey-server-2.25.1.jar:/opt/kafka_2.11-1.0.
> 0/bin/../libs/jetty-continuation-9.2.22.v20170606.
> jar:/opt/kafka_2.11-1.0.0/bin/../libs/jetty-http-9.2.22.
> v20170606.jar:/opt/kafka_2.11-1.0.0/bin/../libs/jetty-io-9.
> 2.22.v20170606.jar:/opt/kafka_2.11-1.0.0/bin/../libs/jetty-
> security-9.2.22.v20170606.jar:/opt/kafka_2.11-1.0.0/bin/../
> libs/jetty-server-9.2.22.v20170606.jar:/opt/kafka_2.11-
> 1.0.0/bin/../libs/jetty-servlet-9.2.22.v20170606.jar:/
> opt/kafka_2.11-1.0.0/bin/../libs/jetty-servlets-9.2.22.
> v20170606.jar:/opt/kafka_2.11-1.0.0/bin/../libs/jetty-util-
> 9.2.22.v20170606.jar:/opt/kafka_2.11-1.0.0/bin/../libs/
> jopt-simple-5.0.4.jar:/opt/kafka_2.11-1.0.0/bin/../libs/
> kafka_2.11-1.0.0.jar:/opt/kafka_2.11-1.0.0/bin/../libs/
> kafka_2.11-1.0.0-sources.jar:/opt/kafka_2.11-1.0.0/bin/../
> libs/kafka_2.11-1.0.0-test-sources.jar:/opt/kafka_2.11-1.
> 0.0/bin/../libs/kafka-clients-1.0.0.jar:/opt/kafka_2.11-1.0.
> 0/bin/../libs/kafka-log4j-appender-1.0.0.jar:/opt/kafka_
> 2.11-1.0.0/bin/../libs/kafka-streams-1.0.0.jar:/opt/kafka_
> 2.11-1.0.0/bin/../libs/kafka-streams-examples-1.0.0.jar:/
> opt/kafka_2.11-1.0.0/bin/../libs/kafka-tools-1.0.0.jar:/
> opt/kafka_2.11-1.0.0/bin/../libs/log4j-1.2.17.jar:/opt/
> kafka_2.11-1.0.0/bin/../libs/lz4-java-1.4.jar:/opt/kafka_2.
> 11-1.0.0/bin/../libs/maven-artifact-3.5.0.jar:/opt/kafka_
> 2.11-1.0.0/bin/../libs/metrics-core-2.2.0.jar:/opt/
> kafka_2.11-1.0.0/bin/../libs/osgi-resource-locator-1.0.1.
> jar:/opt/kafka_2.11-1.0.0/bin/../libs/plexus-utils-3.0.24.
> jar:/opt/kafka_2.11-1.0.0/bin/../libs/reflections-0.9.11.
> jar:/opt/kafka_2.11-1.0.0/bin/../libs/rocksdbjni-5.7.3.jar:/
> opt/kafka_2.11-1.0.0/bin/../libs/scala-library-2.11.11.
> jar:/opt/kafka_2.11-1.0.0/bin/../libs/slf4j-api-1.7.25.jar:/
> opt/kafka_2.11-1.0.0/bin/../libs/slf4j-log4j12-1.7.25.jar:
> /opt/kafka_2.11-1.0.0/bin/../libs/snappy-java-1.1.4.jar:/
> opt/kafka_2.11-1.0.0/bin/../libs/validation-api-1.1.0.
> Final.jar:/opt/kafka_2.11-1.0.0/bin/../libs/zkclient-0.10.
> jar:/opt/kafka_2.11-1.0.0/bin/../libs/zookeeper-3.4.10.jar
> 2018-01-23T11:26:53,982 INFO [main] org.apache.zookeeper.ZooKeeper -
> Client environment:java.library.path=/usr/java/packages/lib/amd64:/
> usr/lib64:/lib64:/lib:/usr/lib
> 2018-01-23T11:26:53,982 INFO [main] org.apache.zookeeper.ZooKeeper -
> Client environment:java.io.tmpdir=/tmp
> 2018-01-23T11:26:53,982 INFO [main] org.apache.zookeeper.ZooKeeper -
> Client environment:java.compiler=<NA>
> 2018-01-23T11:26:53,982 INFO [main] org.apache.zookeeper.ZooKeeper -
> Client environment:os.name=Linux
> 2018-01-23T11:26:53,983 INFO [main] org.apache.zookeeper.ZooKeeper -
> Client environment:os.arch=amd64
> 2018-01-23T11:26:53,983 INFO [main] org.apache.zookeeper.ZooKeeper -
> Client environment:os.version=4.13.0-31-generic
> 2018-01-23T11:26:53,983 INFO [main] org.apache.zookeeper.ZooKeeper -
> Client environment:user.name=jler
> 2018-01-23T11:26:53,983 INFO [main] org.apache.zookeeper.ZooKeeper -
> Client environment:user.home=/home/jler
> 2018-01-23T11:26:53,983 INFO [main] org.apache.zookeeper.ZooKeeper -
> Client environment:user.dir=/opt/kafka_2.11-1.0.0
> 2018-01-23T11:26:53,985 INFO [main] org.apache.zookeeper.ZooKeeper -
> Initiating client connection, connectString=localhost:2181
> sessionTimeout=30000 watcher=org.I0Itec.zkclient.ZkClient@798162bc
> 2018-01-23T11:26:54,015 INFO [main] org.I0Itec.zkclient.ZkClient - Waiting
> for keeper state SyncConnected
> 2018-01-23T11:26:54,021 INFO [main-SendThread(localhost:2181)]
> org.apache.zookeeper.ClientCnxn - Opening socket connection to server
> localhost/127.0.0.1:2181. Will not attempt to authenticate using SASL
> (unknown error)
> 2018-01-23T11:26:54,030 INFO [main-SendThread(localhost:2181)]
> org.apache.zookeeper.ClientCnxn - Socket connection established to
> localhost/127.0.0.1:2181, initiating session
> 2018-01-23T11:26:54,045 INFO [main-SendThread(localhost:2181)]
> org.apache.zookeeper.ClientCnxn - Session establishment complete on
> server localhost/127.0.0.1:2181, sessionid = 0x16122c514610001,
> negotiated timeout = 30000
> 2018-01-23T11:26:54,048 INFO [main-EventThread]
> org.I0Itec.zkclient.ZkClient - zookeeper state changed (SyncConnected)
> test
> 2018-01-23T11:26:54,086 INFO [ZkClient-EventThread-12-localhost:2181]
> org.I0Itec.zkclient.ZkEventThread - Terminate ZkClient event thread.
> 2018-01-23T11:26:54,090 INFO [main-EventThread] org.apache.zookeeper.ClientCnxn
> - EventThread shut down
> 2018-01-23T11:26:54,090 INFO [main] org.apache.zookeeper.ZooKeeper -
> Session: 0x16122c514610001 closed
>
>
>
> Is there a way to hide this logs? Thank you.
>
>
>
> José Ribeiro
>
>
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message