[ https://issues.apache.org/jira/browse/HBASE-20441?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Duo Zhang updated HBASE-20441: ------------------------------ Fix Version/s: (was: 3.0.0-alpha-1) > Use checkstyle to ban imports from commons-lang 2 > ------------------------------------------------- > > Key: HBASE-20441 > URL: https://issues.apache.org/jira/browse/HBASE-20441 > Project: HBase > Issue Type: Task > Components: dependencies, test > Affects Versions: 2.0.0 > Reporter: Sean Busbey > Assignee: Balazs Meszaros > Priority: Major > Fix For: 2.0.0 > > Attachments: HBASE-20441.master.001.patch > > > We updated to commons-lang 3 in HBASE-18674 but we've regressed: > {code} > $ git grep org.apache.commons.lang\\. > hbase-common/src/main/java/org/apache/hadoop/hbase/net/Address.java:import > org.apache.commons.lang.StringUtils; > hbase-server/src/main/java/org/apache/hadoop/hbase/quotas/FileArchiverNotifierFactoryImpl.java:import > org.apache.commons.lang.builder.HashCodeBuilder; > hbase-server/src/main/java/org/apache/hadoop/hbase/quotas/FileArchiverNotifierImpl.java:import > org.apache.commons.lang.builder.HashCodeBuilder; > hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestHdfsSnapshotHRegion.java:import > org.apache.commons.lang.StringUtils; > hbase-server/src/test/java/org/apache/hadoop/hbase/util/compaction/TestMajorCompactionRequest.java:import > org.apache.commons.lang.RandomStringUtils; > {code} > we should add the same kind of check as we do for e.g. hadoop annotations. -- This message was sent by Atlassian Jira (v8.20.10#820010)