Skip to content

Commit a766146

Browse files
authored
Merge branch 'master' into ml/countvectorizer
2 parents 73db52b + 61cfeb5 commit a766146

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -367,3 +367,6 @@ hs_err_pid*
367367

368368
# The target folder contains the output of building
369369
**/target/**
370+
371+
# F# vs code
372+
.ionide/

.ionide/symbolCache.db

-28 KB
Binary file not shown.

src/csharp/Microsoft.Spark.Worker/Processor/BroadcastVariableProcessor.cs

+2-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,8 @@ internal BroadcastVariables Process(Stream stream)
5454
else
5555
{
5656
string path = SerDe.ReadString(stream);
57-
using FileStream fStream = File.Open(path, FileMode.Open, FileAccess.Read);
57+
using FileStream fStream =
58+
File.Open(path, FileMode.Open, FileAccess.Read, FileShare.Read);
5859
object value = formatter.Deserialize(fStream);
5960
BroadcastRegistry.Add(bid, value);
6061
}

0 commit comments

Comments
 (0)