Skip to content

Commit

Permalink
Remove mortbay Log (apache#861)
Browse files Browse the repository at this point in the history
  • Loading branch information
rymurr authored Mar 22, 2020
1 parent 1bc6455 commit 1aeb631
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 10 deletions.
1 change: 1 addition & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ subprojects {
testCompile.extendsFrom compileOnly
all {
exclude group: 'org.slf4j', module: 'slf4j-log4j12'
exclude group: 'org.mortbay.jetty'
}

testArtifacts
Expand Down
3 changes: 1 addition & 2 deletions pig/src/main/java/org/apache/iceberg/pig/IcebergStorage.java
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@
import org.apache.pig.impl.logicalLayer.FrontendException;
import org.apache.pig.impl.util.ObjectSerializer;
import org.apache.pig.impl.util.UDFContext;
import org.mortbay.log.Log;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

Expand Down Expand Up @@ -292,7 +291,7 @@ public String relativeToAbsolutePath(String location, Path curDir) throws IOExce
private Table load(String location, Job job) throws IOException {
if (iceberg == null) {
Class<?> tablesImpl = job.getConfiguration().getClass(PIG_ICEBERG_TABLES_IMPL, HadoopTables.class);
Log.info("Initializing iceberg tables implementation: " + tablesImpl);
LOG.info("Initializing iceberg tables implementation: {}", tablesImpl);
iceberg = (Tables) ReflectionUtils.newInstance(tablesImpl, job.getConfiguration());
}

Expand Down
9 changes: 1 addition & 8 deletions versions.lock
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Run ./gradlew --write-locks to regenerate this file
ant:ant:1.6.5 (2 constraints: 2d1539e1)
ant:ant:1.6.5 (1 constraints: 730a54bc)
aopalliance:aopalliance:1.0 (1 constraints: 170a83ac)
asm:asm:3.1 (2 constraints: 4f19c3c6)
com.carrotsearch:hppc:0.7.2 (1 constraints: f70cda14)
Expand Down Expand Up @@ -189,7 +189,6 @@ org.datanucleus:datanucleus-api-jdo:4.2.4 (2 constraints: 591df91b)
org.datanucleus:datanucleus-core:4.1.17 (5 constraints: 584455e8)
org.datanucleus:datanucleus-rdbms:4.1.19 (2 constraints: 911dec32)
org.datanucleus:javax.jdo:3.2.0-m3 (1 constraints: 030ea249)
org.eclipse.jdt:core:3.1.1 (1 constraints: b40a38d8)
org.fusesource.leveldbjni:leveldbjni-all:1.8 (9 constraints: 91a69ae7)
org.glassfish.hk2:hk2-api:2.4.0-b34 (5 constraints: 9d5608c7)
org.glassfish.hk2:hk2-locator:2.4.0-b34 (4 constraints: 3d490865)
Expand All @@ -213,12 +212,6 @@ org.json4s:json4s-core_2.11:3.5.3 (1 constraints: 4c0c5316)
org.json4s:json4s-jackson_2.11:3.5.3 (1 constraints: 1c0dd336)
org.json4s:json4s-scalap_2.11:3.5.3 (1 constraints: 0c0b9ae9)
org.lz4:lz4-java:1.4.0 (1 constraints: 160dc336)
org.mortbay.jetty:jetty:6.1.26 (4 constraints: c8369437)
org.mortbay.jetty:jetty-util:6.1.26 (7 constraints: 7e689dae)
org.mortbay.jetty:jsp-2.1:6.1.14 (1 constraints: 9408a38d)
org.mortbay.jetty:jsp-api-2.1:6.1.14 (2 constraints: 7e130c9d)
org.mortbay.jetty:servlet-api:2.5-20081211 (1 constraints: 390cbd19)
org.mortbay.jetty:servlet-api-2.5:6.1.14 (2 constraints: e51482f7)
org.objenesis:objenesis:2.5.1 (2 constraints: 19198bcb)
org.roaringbitmap:RoaringBitmap:0.7.45 (1 constraints: 510d1c44)
org.roaringbitmap:shims:0.7.45 (1 constraints: 260eb249)
Expand Down

0 comments on commit 1aeb631

Please sign in to comment.