Skip to content

Commit

Permalink
ODP-2561: ODP-1237 | ODP-2485 |ODP-2561 - Handling Hive's beeline slf…
Browse files Browse the repository at this point in the history
…4j logging warnings (#47)

* ODP-1237: exclude multiple slf4j binding WARN's for hive (#19)

* ODP-1237: exclude multiple slf4j binding WARN's for hive

* ODP-1237: exclude multiple slf4j binding WARN's for hive

(cherry picked from commit b40f3df)

* ODP-2485: handling Hive's slf4j warnings (#42)

* ODP-2561: Fixing slf4j warnings & even-thread errors

* ODP-2561: ODP-1237 - Fixing slf4j warnings-v2
  • Loading branch information
basapuram-kumar authored Nov 11, 2024
1 parent 76e0077 commit 8ef3987
Show file tree
Hide file tree
Showing 8 changed files with 27 additions and 3 deletions.
6 changes: 6 additions & 0 deletions bin/hive
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,12 @@ fi
if [[ "$SERVICE" == "llap" && ! -z "$HBASE_MR_CLASSPATH" ]] ; then
SERVICE_ARGS=("${SERVICE_ARGS[@]}" "-k" "${HBASE_MR_CLASSPATH}")
fi
#ODP-1237 | ODP-2485 - slf4j wanrning hadling
if [[ "$SERVICE" == "llap" ]] ; then
for f in ${HIVE_LIB}/llap/*.jar; do
CLASSPATH=${CLASSPATH}:$f;
done
fi

# supress the HADOOP_HOME warnings in 1.x.x
export HADOOP_HOME_WARN_SUPPRESS=true
Expand Down
2 changes: 1 addition & 1 deletion itests/qtest-druid/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
<properties>
<hive.path.to.root>../..</hive.path.to.root>
<druid.avatica.version>1.15.0</druid.avatica.version>
<druid.curator.version>4.0.0</druid.curator.version>
<druid.curator.version>5.2.0</druid.curator.version>
<druid.jersey.version>1.19.3</druid.jersey.version>
<druid.jetty.version>9.4.10.v20180503</druid.jetty.version>
<druid.derby.version>10.11.1.1</druid.derby.version>
Expand Down
4 changes: 4 additions & 0 deletions jdbc-handler/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@
<artifactId>hive-common</artifactId>
<version>${project.version}</version>
<exclusions>
<exclusion>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-reload4j</artifactId>
</exclusion>
<exclusion>
<groupId>org.eclipse.jetty.aggregate</groupId>
<artifactId>jetty-all</artifactId>
Expand Down
4 changes: 4 additions & 0 deletions parser/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@
<artifactId>hive-common</artifactId>
<version>${project.version}</version>
<exclusions>
<exclusion>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-reload4j</artifactId>
</exclusion>
<exclusion>
<groupId>org.eclipse.jetty.aggregate</groupId>
<artifactId>jetty-all</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@
<zookeeper.version>3.5.10.3.2.3.2-203</zookeeper.version>
<jpam.version>1.1</jpam.version>
<felix.version>2.4.0</felix.version>
<curator.version>4.2.0</curator.version>
<curator.version>5.2.0</curator.version>
<jsr305.version>3.0.0</jsr305.version>
<gson.version>2.9.0</gson.version>
<jjwt.version>0.10.5</jjwt.version>
Expand Down
6 changes: 6 additions & 0 deletions ql/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,12 @@
<groupId>org.apache.hive</groupId>
<artifactId>hive-udf</artifactId>
<version>${project.version}</version>
<exclusions>
<exclusion>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-reload4j</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.apache.hive</groupId>
Expand Down
2 changes: 1 addition & 1 deletion standalone-metastore/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@
<storage-api.version>3.1.4.3.2.3.2-203</storage-api.version>
<beanutils.version>1.9.4</beanutils.version>
<hamcrest.version>1.3</hamcrest.version>
<curator.version>4.2.0</curator.version>
<curator.version>5.2.0</curator.version>
<zookeeper.version>3.5.10.3.2.3.2-203</zookeeper.version>
<cron-utils.version>9.1.6</cron-utils.version>
<spotbugs.version>4.0.3</spotbugs.version>
Expand Down
4 changes: 4 additions & 0 deletions udf/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@
<artifactId>hive-common</artifactId>
<version>${project.version}</version>
<exclusions>
<exclusion>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-reload4j</artifactId>
</exclusion>
<exclusion>
<groupId>org.eclipse.jetty.aggregate</groupId>
<artifactId>jetty-all</artifactId>
Expand Down

0 comments on commit 8ef3987

Please sign in to comment.