[
https://issues.apache.org/jira/browse/AURORA-1146?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14337060#comment-14337060
]
Maxim Khutornenko commented on AURORA-1146:
-------------------------------------------
I am actually unable to run even the original LocalSchedulerMain commit in
Intellij:
{noformat}
commit 417cb169cc18bda39c0057851a0f1b7efecedef8
Author: Bill Farner <[email protected]>
Date: Wed Sep 3 09:14:19 2014 -0700
Add a separate main class that runs the scheduler in local mode.
Bugs closed: AURORA-658
Reviewed at https://reviews.apache.org/r/25257/
{noformat}
Getting the same errors as of that commit (after git clean -fdx & ./gradlew
idea):
{noformat}
Feb 25, 2015 11:32:00 AM com.twitter.common.application.AppLauncher exit
SEVERE: Failed to apply arguments
java.lang.IllegalArgumentException: Unrecognized arguments:
cluster_name
serverset_path
backup_dir
mesos_master_address
thermos_executor_path
http_port
java.lang.IllegalArgumentException: Unrecognized arguments:
cluster_name
serverset_path
backup_dir
mesos_master_address
thermos_executor_path
http_port
at com.twitter.common.args.ArgScanner.process(ArgScanner.java:465)
at com.twitter.common.args.ArgScanner.parse(ArgScanner.java:240)
at com.twitter.common.args.ArgScanner.parse(ArgScanner.java:218)
at
com.twitter.common.application.AppLauncher.parseArgs(AppLauncher.java:191)
at
com.twitter.common.application.AppLauncher.launch(AppLauncher.java:179)
at
com.twitter.common.application.AppLauncher.launch(AppLauncher.java:142)
at
org.apache.aurora.scheduler.app.local.LocalSchedulerMain.main(LocalSchedulerMain.java:102)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:134)
{noformat}
Has it ever worked in Intellij before?
> LocalSchedulerMain broken by JMH upgrade
> ----------------------------------------
>
> Key: AURORA-1146
> URL: https://issues.apache.org/jira/browse/AURORA-1146
> Project: Aurora
> Issue Type: Bug
> Components: Build, Scheduler
> Reporter: Kevin Sweeney
> Assignee: Kevin Sweeney
>
> Since the JMH patch the CmdLine annotation processor no longer runs in
> IntelliJ, making it impossible to run LocalSchedulerMain. This looks likely
> related to JMH adding its own annotation processor to the compile classpath.
> {noformat}
> commit 5542c556133bc1292e0a991b9db31f6465a83de8
> Author: Maxim Khutornenko <[email protected]>
> Date: Thu Dec 11 11:57:09 2014 -0800
> Adding JMH framework support for scheduler performance analysis.
>
> Reviewed at https://reviews.apache.org/r/28710/
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)