Skip to content

Commit

Permalink
Merge pull request #107 from dfdx/fix-init-and-docs
Browse files Browse the repository at this point in the history
Fix Base.read() in initialization that has been overwritten by Spark.read()
  • Loading branch information
dfdx authored Jul 25, 2022
2 parents 4a05ab3 + e3807c8 commit 451623d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docs/src/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@ Spark.jl supports multiple cluster types (in client mode), and can be considered
Spark.jl requires at least JDK 8/11 and Maven to be installed and available in PATH.

```julia
Pkg.add("Spark.jl")
] add Spark
```

To link against a specific version of Spark, also run:

```julia
ENV["BUILD_SPARK_VERSION"] = "3.2.1" # version you need
Pkg.build("Spark")
] build Spark
```

### Quick Example
Expand Down
2 changes: 1 addition & 1 deletion src/init.jl
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ function load_spark_defaults(d::Dict)
else
spark_defaults_conf = spark_defaults_locs[conf_idx]
end
p = split(read(spark_defaults_conf, String), '\n', keepempty=false)
p = split(Base.read(spark_defaults_conf, String), '\n', keepempty=false)
for x in p
if !startswith(x, "#") && !isempty(strip(x))
y=split(x, limit=2)
Expand Down

0 comments on commit 451623d

Please sign in to comment.