Skip to content
This repository has been archived by the owner on Sep 2, 2024. It is now read-only.

Commit

Permalink
make it work with gs but don't break tests
Browse files Browse the repository at this point in the history
  • Loading branch information
RichardSmithONS committed Oct 28, 2021
1 parent 2cd54e0 commit e8df355
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 7 deletions.
5 changes: 0 additions & 5 deletions batch/build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,6 @@ val clouderaDeps = Seq(
)

val otherDeps = Seq(
// "com.databricks" %% "spark-csv" % "1.5.0",
// "org.apache.spark" %% "spark-network-common" % "3.1.2",
// "org.apache.spark" %% "spark-streaming" % "3.1.2",
// "io.delta" % "delta-core_2.12" % "1.0.0",
// "org.scoverage" %% "scalac-scoverage-plugin" % "1.4.9",
"com.typesafe" % "config" % "1.4.1",
"org.elasticsearch" %% "elasticsearch-spark-30" % "7.12.0" excludeAll ExclusionRule(organization = "javax.servlet"),
"org.rogach" %% "scallop" % "4.0.3",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ object AddressIndexFileReader {
private def resolveAbsolutePath(path: String) = {
val currentDirectory = new java.io.File(".").getCanonicalPath

if (path.startsWith("hdfs://")) path
if (path.startsWith("hdfs://") || path.startsWith("gs://") ) path
else {
if (System.getProperty("os.name").toLowerCase.startsWith("windows")) {
s"$currentDirectory/$path"
Expand Down
1 change: 0 additions & 1 deletion project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
logLevel := Level.Warn

addSbtPlugin("com.eed3si9n" % "sbt-assembly" % "0.14.5")
//addSbtPlugin("org.scoverage" % "sbt-scoverage" % "1.5.1")
addSbtPlugin("org.scoverage" % "sbt-scoverage" % "1.8.2")

0 comments on commit e8df355

Please sign in to comment.