Skip to content

Error while building master-branch: MatrixFactorizationModel.scala:19: object r is not a member of package tachyon #81

@zarzen

Description

@zarzen

Hi,
I am building master branch. I have installed tachyon using install_tachyon.sh. While building velox-modelserver with command mvn package it raises a lot of errors related to one class, ClientStore, which imported through import tachyon.r.sorted.ClientStore.
Here is the errors:

[ERROR] import tachyon.r.sorted.{ClientStore,Utils}
[ERROR]                ^
[ERROR] /home/zarzen/velox-modelserver/veloxms-core/src/main/scala/edu/berkeley/veloxms/VeloxApplication.scala:11: object r is not a member of package tachyon
[ERROR] import tachyon.r.sorted.ClientStore
[ERROR]                ^
[ERROR] /home/zarzen/velox-modelserver/veloxms-core/src/main/scala/edu/berkeley/veloxms/storage/TachyonStorage.scala:6: object r is not a member of package tachyon
[ERROR] import tachyon.r.sorted.ClientStore
[ERROR]                ^
[ERROR] /home/zarzen/velox-modelserver/veloxms-core/src/main/scala/edu/berkeley/veloxms/storage/TachyonStorage.scala:132: not found: type ClientStore
[ERROR]     def getStore(tachyon: String, kvloc: String): Try[ClientStore] = {
[ERROR]                                                       ^
[ERROR] /home/zarzen/velox-modelserver/veloxms-core/src/main/scala/edu/berkeley/veloxms/storage/TachyonStorage.scala:24: not found: type ClientStore
[ERROR]     users: ClientStore,
[ERROR]            ^
[ERROR] /home/zarzen/velox-modelserver/veloxms-core/src/main/scala/edu/berkeley/veloxms/storage/TachyonStorage.scala:25: not found: type ClientStore
[ERROR]     items: ClientStore,
[ERROR]            ^
[ERROR] /home/zarzen/velox-modelserver/veloxms-core/src/main/scala/edu/berkeley/veloxms/storage/TachyonStorage.scala:26: not found: type ClientStore
[ERROR]     ratings: ClientStore,
[ERROR]              ^
[ERROR] /home/zarzen/velox-modelserver/veloxms-core/src/main/scala/edu/berkeley/veloxms/misc/WriteModels.scala:8: object r is not a member of package tachyon
[ERROR] import tachyon.r.sorted.ClientStore
[ERROR]                ^
[ERROR] /home/zarzen/velox-modelserver/veloxms-core/src/main/scala/edu/berkeley/veloxms/misc/WriteModels.scala:9: object r is not a member of package tachyon
[ERROR] import tachyon.r.sorted.{Utils => TUtils}
[ERROR]                ^
[ERROR] /home/zarzen/velox-modelserver/veloxms-core/src/main/scala/edu/berkeley/veloxms/misc/WriteModels.scala:22: object r is not a member of package tachyon
[ERROR] import tachyon.r.sorted.ClientStore
[ERROR]                ^
[ERROR] /home/zarzen/velox-modelserver/veloxms-core/src/main/scala/edu/berkeley/veloxms/misc/WriteModels.scala:132: not found: value ClientStore
[ERROR]     val store = ClientStore.createStore(new TachyonURI(loc))
[ERROR]                 ^
[ERROR] /home/zarzen/velox-modelserver/veloxms-core/src/main/scala/edu/berkeley/veloxms/misc/WriteModels.scala:179: not found: value TUtils
[ERROR]   def compare(a: Array[Byte], b: Array[Byte]) = TUtils.compare(a, b)
[ERROR]                                                 ^
[ERROR] /home/zarzen/velox-modelserver/veloxms-core/src/main/scala/edu/berkeley/veloxms/storage/TachyonStorage.scala:134: not found: value ClientStore
[ERROR]         Try(ClientStore.getStore(new TachyonURI(url))) match {
[ERROR]             ^
[ERROR] /home/zarzen/velox-modelserver/veloxms-core/src/main/scala/edu/berkeley/veloxms/storage/TachyonStorage.scala:135: not found: type ClientStore
[ERROR]             case f: Failure[ClientStore] => f
[ERROR]                             ^
[ERROR] 14 errors found

I am confused that tachyon doesn't contain package r.sorted and I haven't found type ClientStore either in project tachyon or velox-modelserver.

System version: Ubuntu 14.04
Maven: 3.0.5
Java: 1.7

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions