Hi Girish, what model are you deploying? Can you type the exact commands?


22.11.2017, 04:12, "Girish N" <[email protected]>:
Hi All,

I am following steps (https://github.com/apache/metron/tree/master/metron-analytics/metron-maas-service) to step up maas service

When I deploy, I see the below errors. Please let me know, how to clear these errors. Thanks in Advance.

17/11/22 10:31:19 INFO impl.ContainerManagementProtocolProxy: Opening proxy : node1.c.upload-161114.internal:45454
17/11/22 10:31:20 INFO callback.ContainerRequestListener: Got response from RM for container ask, completedCnt=1
17/11/22 10:31:20 INFO callback.ContainerRequestListener: Got container status for containerID=container_e04_1511328189618_0011_01_000002, state=COMPLETE, exitStatus=1, diagnostics=Exception from container-launch.
Container id: container_e04_1511328189618_0011_01_000002
Exit code: 1
Stack trace: ExitCodeException exitCode=1:
    at org.apache.hadoop.util.Shell.runCommand(Shell.java:933)
    at org.apache.hadoop.util.Shell.run(Shell.java:844)
    at org.apache.hadoop.util.Shell$ShellCommandExecutor.execute(Shell.java:1123)
    at org.apache.hadoop.yarn.server.nodemanager.DefaultContainerExecutor.launchContainer(DefaultContainerExecutor.java:225)
    at org.apache.hadoop.yarn.server.nodemanager.containermanager.launcher.ContainerLaunch.call(ContainerLaunch.java:317)
    at org.apache.hadoop.yarn.server.nodemanager.containermanager.launcher.ContainerLaunch.call(ContainerLaunch.java:83)
    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:745)


Container exited with a non-zero exit code 1

17/11/22 10:31:20 INFO callback.ContainerRequestListener: REMOVING CONTAINER container_e04_1511328189618_0011_01_000002
17/11/22 10:31:20 WARN discovery.ServiceDiscoverer: Unable to find registered model associated with container container_e04_1511328189618_0011_01_000002
17/11/22 10:31:20 ERROR discovery.ServiceDiscoverer: Unable to unregister container container_e04_1511328189618_0011_01_000002 due to: Unable.
java.lang.IllegalStateException: Unable.
    at org.apache.metron.maas.discovery.ServiceDiscoverer.unregisterByContainer(ServiceDiscoverer.java:204)
    at org.apache.metron.maas.service.callback.ContainerRequestListener.onContainersCompleted(ContainerRequestListener.java:121)
    at org.apache.hadoop.yarn.client.api.async.impl.AMRMClientAsyncImpl$CallbackHandlerThread.run(AMRMClientAsyncImpl.java:300)


Checking the logs of the failed container shows below errors
.

LogType:stderr
Log Upload Time:Wed Nov 22 10:38:11 +0000 2017
LogLength:1110
Log Contents:
Unable to parse args: -ci 4398046511106 -zq node1:2181 -zr /metron/maas/config -s -n -hn node1.c.upload-161114.internal -v 1.0
org.apache.commons.cli.MissingArgumentException: Missing argument for option: s
    at org.apache.commons.cli.Parser.processArgs(Parser.java:343)
    at org.apache.commons.cli.Parser.processOption(Parser.java:393)
    at org.apache.commons.cli.Parser.parse(Parser.java:199)
    at org.apache.commons.cli.Parser.parse(Parser.java:85)
    at org.apache.metron.maas.service.runner.Runner$RunnerOptions.parse(Runner.java:139)
    at org.apache.metron.maas.service.runner.Runner.main(Runner.java:170)
Exception in thread "main" org.apache.commons.cli.MissingArgumentException: Missing argument for option: s
    at org.apache.commons.cli.Parser.processArgs(Parser.java:343)
    at org.apache.commons.cli.Parser.processOption(Parser.java:393)
    at org.apache.commons.cli.Parser.parse(Parser.java:199)
    at org.apache.commons.cli.Parser.parse(Parser.java:85)
    at org.apache.metron.maas.service.runner.Runner$RunnerOptions.parse(Runner.java:139)
    at org.apache.metron.maas.service.runner.Runner.main(Runner.java:170)

End of LogType:stderr


Thanks & Regards
Girish N





------------------- 
Thank you,
 
James Sirota
PMC- Apache Metron
jsirota AT apache DOT org

Reply via email to