Github user nickwallen commented on the issue:
https://github.com/apache/metron/pull/719
+1
I launched Full Dev, built the RPMs and then installed the MaaS RPM on Full
Dev. The contents of the RPM matched what @anandsubbu documented. I then
started MaaS to make sure everything worked.
It took me a good bit of trial-and-error just to get MaaS running. This
isn't reflective of this PR, just the state of our docs. Apparently, MaaS
wants a directory `/user/metron/MaaS/` in HDFS. I don't see that documented in
the README. But after a bit, I seemingly got the service running.
```
[metron@node1 0.4.1]$ ./bin/maas_service.sh -zq node1:2181
17/08/30 19:35:57 INFO impl.TimelineClientImpl: Timeline service address:
http://node1:8188/ws/v1/timeline/
17/08/30 19:35:57 INFO service.Client: Initializing Client
17/08/30 19:35:57 INFO service.Client: Running Client
17/08/30 19:35:57 INFO client.RMProxy: Connecting to ResourceManager at
node1/127.0.0.1:8050
17/08/30 19:35:57 INFO client.AHSProxy: Connecting to Application History
server at node1/127.0.0.1:10200
17/08/30 19:35:58 INFO service.Client: Got Cluster metric info from ASM,
numNodeManagers=1
17/08/30 19:35:58 INFO service.Client: Got Cluster node info from ASM
17/08/30 19:35:58 INFO service.Client: Got node report from ASM for,
nodeId=node1:45454, nodeAddressnode1:8042, nodeRackName/default-rack,
nodeNumContainers0
17/08/30 19:35:58 INFO service.Client: Queue info, queueName=default,
queueCurrentCapacity=0.0, queueMaxCapacity=1.0, queueApplicationCount=0,
queueChildQueueCount=0
17/08/30 19:35:58 INFO service.Client: User ACL Info for Queue,
queueName=root, userAcl=SUBMIT_APPLICATIONS
17/08/30 19:35:58 INFO service.Client: User ACL Info for Queue,
queueName=root, userAcl=ADMINISTER_QUEUE
17/08/30 19:35:58 INFO service.Client: User ACL Info for Queue,
queueName=default, userAcl=SUBMIT_APPLICATIONS
17/08/30 19:35:58 INFO service.Client: User ACL Info for Queue,
queueName=default, userAcl=ADMINISTER_QUEUE
17/08/30 19:35:58 INFO service.Client: Max mem capabililty of resources in
this cluster 4096
17/08/30 19:35:58 INFO service.Client: Max virtual cores capabililty of
resources in this cluster 8
17/08/30 19:35:58 INFO service.Client: Copy App Master jar from local
filesystem and add to local environment
17/08/30 19:35:58 INFO service.Client: Set the environment for the
application master
17/08/30 19:35:58 INFO service.Client: Setting up app master command
17/08/30 19:35:58 INFO service.Client: Completed setting up app master
command {{JAVA_HOME}}/bin/java -Xmx10m
org.apache.metron.maas.service.ApplicationMaster -zq node1:2181 -zr
/metron/maas/config -aj
hdfs://node1:8020/user/metron/MaaS/application_1504120714845_0005/AppMaster.jar
1><LOG_DIR>/AppMaster.stdout 2><LOG_DIR>/AppMaster.stderr
17/08/30 19:35:58 INFO service.Client: Submitting application to ASM
17/08/30 19:35:59 INFO impl.YarnClientImpl: Submitted application
application_1504120714845_0005
17/08/30 19:36:00 INFO service.Client: Got application report from ASM for,
appId=5, clientToAMToken=null, appDiagnostics=AM container is launched, waiting
for AM container to Register with RM, appMasterHost=N/A, appQueue=default,
appMasterRpcPort=-1, appStartTime=1504121758836, yarnAppState=ACCEPTED,
distributedFinalState=UNDEFINED,
appTrackingUrl=http://node1:8088/proxy/application_1504120714845_0005/,
appUser=metron
17/08/30 19:36:01 INFO service.Client: Got application report from ASM for,
appId=5, clientToAMToken=null, appDiagnostics=AM container is launched, waiting
for AM container to Register with RM, appMasterHost=N/A, appQueue=default,
appMasterRpcPort=-1, appStartTime=1504121758836, yarnAppState=ACCEPTED,
distributedFinalState=UNDEFINED,
appTrackingUrl=http://node1:8088/proxy/application_1504120714845_0005/,
appUser=metron
17/08/30 19:36:02 INFO service.Client: Got application report from ASM for,
appId=5, clientToAMToken=null, appDiagnostics=AM container is launched, waiting
for AM container to Register with RM, appMasterHost=N/A, appQueue=default,
appMasterRpcPort=-1, appStartTime=1504121758836, yarnAppState=ACCEPTED,
distributedFinalState=UNDEFINED,
appTrackingUrl=http://node1:8088/proxy/application_1504120714845_0005/,
appUser=metron
17/08/30 19:36:03 INFO service.Client: Got application report from ASM for,
appId=5, clientToAMToken=null, appDiagnostics=, appMasterHost=node1/127.0.0.1,
appQueue=default, appMasterRpcPort=-1, appStartTime=1504121758836,
yarnAppState=RUNNING, distributedFinalState=UNDEFINED,
appTrackingUrl=http://node1:8088/proxy/application_1504120714845_0005/,
appUser=metron
17/08/30 19:36:03 INFO service.Client: Application is running...
17/08/30 19:36:03 INFO service.Client: Application completed successfully
```
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---