diff options
author | Adam Novak <anovak@soe.ucsc.edu> | 2014-01-06 14:45:00 -0800 |
---|---|---|
committer | Adam Novak <anovak@soe.ucsc.edu> | 2014-01-06 14:52:15 -0800 |
commit | fa8ce3fdd7f91add0e8ead6e48f4d69e67c604b9 (patch) | |
tree | f27e76efe0cbb38b1c34bc7eac68d5e964795ea5 /docs/streaming-programming-guide.md | |
parent | 86404dac7414e4f1af6802ef30bf5e5173c3bb5e (diff) | |
download | spark-fa8ce3fdd7f91add0e8ead6e48f4d69e67c604b9.tar.gz spark-fa8ce3fdd7f91add0e8ead6e48f4d69e67c604b9.tar.bz2 spark-fa8ce3fdd7f91add0e8ead6e48f4d69e67c604b9.zip |
Changing org.apache.spark.util.collection.PrimitiveKeyOpenHashMap to have a real no-argument constructor, instead of a one-argument constructor with a default value. The lack of a real no-argument constructor was causing "sbt/sbt publish-local" to fail thusly:
```
[error] /pod/home/anovak/build/graphx/core/src/main/scala/org/apache/spark/storage/ShuffleBlockManager.scala:172: not enough arguments for constructor PrimitiveKeyOpenHashMap: (initialCapacity: Int)(implicit evidence$3: ClassManifest[Int], implicit evidence$4: ClassManifest[Int])org.apache.spark.util.collection.PrimitiveKeyOpenHashMap[Int,Int]
[error] private val mapIdToIndex = new PrimitiveKeyOpenHashMap[Int, Int]()
[error] ^
[info] No documentation generated with unsucessful compiler run
[error] one error found
[error] (core/compile:doc) Scaladoc generation failed
[error] Total time: 67 s, completed Jan 6, 2014 2:20:51 PM
```
In theory a no-argument constructor ought not to differ from one with a single argument that has a default value, but in practice there seems to be an issue.
Diffstat (limited to 'docs/streaming-programming-guide.md')
0 files changed, 0 insertions, 0 deletions