Last active
April 4, 2018 12:55
-
-
Save Antwnis/5be7e95e0fc421aea55d to your computer and use it in GitHub Desktop.
Exclude SBT dependencies for "hadoop-common"
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import AssemblyKeys._ | |
assemblySettings | |
net.virtualvoid.sbt.graph.Plugin.graphSettings | |
name := "hbasetest" | |
version := "1.0" | |
libraryDependencies ++= Seq( | |
"org.apache.hbase" % "hbase-common" % "0.98.1-hadoop1", | |
"org.apache.hbase" % "hbase-client" % "0.98.1-hadoop1", | |
("org.apache.hadoop" % "hadoop-common" % "2.4.0") | |
.exclude("commons-beanutils", "commons-beanutils-core") | |
.exclude("commons-beanutils", "commons-beanutils") | |
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
log4j.rootLogger=INFO, stdout, file | |
log4j.appender.stdout=org.apache.log4j.ConsoleAppender | |
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout | |
# Pattern to output the caller's file name and line number. | |
log4j.appender.stdout.layout.ConversionPattern=%5p - %m%n | |
log4j.appender.file=org.apache.log4j.RollingFileAppender | |
log4j.appender.file.File=chapter3.log | |
log4j.appender.file.MaxFileSize=40MB | |
# Keep one backup file | |
log4j.appender.file.MaxBackupIndex=5 | |
log4j.appender.file.layout=org.apache.log4j.PatternLayout | |
log4j.appender.file.layout.ConversionPattern=%d{dd MMM yyyy HH:mm:ss,SSS} %p %t %c - %m%n | |
log4j.logger.org.apache.zookeeper.client=ERROR |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
logLevel := Level.Warn | |
addSbtPlugin("com.eed3si9n" % "sbt-assembly" % "0.11.2") | |
addSbtPlugin("net.virtual-void" % "sbt-dependency-graph" % "0.7.4") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment