Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use more distinguishable YARN application name #4

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

kmaehashi
Copy link
Member

This patch improves the YARN application name of JubaQL Processor and Jubatus-on-YARN.
This makes operators easy to distinguish each JoY job in management tools like YARN Resource Manager Web UI.

This patch depends on new JoY interface implemented in jubatus/jubatus-on-yarn#7.

@kmaehashi
Copy link
Member Author

Revised the contents of this PR to keep up with the latest jubatus/jubatus-on-yarn#7.

@rimms
Copy link
Member

rimms commented Jan 20, 2016

Ummm...

I build this patch with jubatus/jubatus-on-yarn#7.
I faced compile error:

[error] /path/to/jubaql-server/processor/src/main/scala/us/jubat/jubaql_server/processor/JubaQLService.scala:338: overloaded method value start with alternatives:
[error]   (aLearningMachineName: String,aLearningMachineType: us.jubat.yarn.common.LearningMachineType,aZookeepers: List[us.jubat.yarn.common.Location],aConfigFile: org.apache.hadoop.fs.Path,aResource: us.jubat.yarn.client.Resource,aNodeCount: Int,aBasePath: org.apache.hadoop.fs.Path)scala.concurrent.Future[us.jubat.yarn.client.JubatusYarnApplication] <and>
[error]   (aLearningMachineName: String,aLearningMachineType: us.jubat.yarn.common.LearningMachineType,aZookeepers: List[us.jubat.yarn.common.Location],aConfigString: String,aResource: us.jubat.yarn.client.Resource,aNodeCount: Int,aBasePath: org.apache.hadoop.fs.Path)scala.concurrent.Future[us.jubat.yarn.client.JubatusYarnApplication]
[error]  cannot be applied to (String, us.jubat.yarn.common.LearningMachineType, List[us.jubat.yarn.common.Location], String, us.jubat.yarn.client.Resource, Int, String)
[error]             JubatusYarnApplication.start(cm.modelName, jubaType, location, configJsonStr, resource, 2, applicationName)
[error]                                    ^
[error] one error found
[error] (compile:compileIncremental) Compilation failed
[error] Total time: 34 s, completed Jan 20, 2016 10:37:08 AM

@rimms
Copy link
Member

rimms commented Jan 20, 2016

Sorry, I used the wrong branch. 😓
I tried again, It was successful.

I'll continue to check this patch!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants