ASF GitHub Bot commented on METRON-1094:

Github user anandsubbu commented on the issue:

    I'm +1 (non-binding)
    Fired up a full dev and was able to test that `maas_service.sh` starts up 
fine. No errors seen in the YARN application logs.
    A few observations though:
    a) I am not sure if its my setup, but the maas uber jar, maas_deploy and 
maas_service scripts were missing from `$METRON_HOME/bin` folder on my quick 
dev. I had to SCP `metron-maas-service-0.4.1-archive.tar.gz` and untar to get 
these binaries. Is this expected?
    b) The `maas_service.sh` script can only be started as *hdfs* user. Please 
let me know if this needs to be updated in the README, and I can add this.

> MaaS will not start due to classpath error relating to Yarn
> -----------------------------------------------------------
>                 Key: METRON-1094
>                 URL: https://issues.apache.org/jira/browse/METRON-1094
>             Project: Metron
>          Issue Type: Bug
>            Reporter: Casey Stella
> The MaaS service won't start with an stack trace:
> {{java.lang.NoSuchMethodError: 
> org.apache.hadoop.io.retry.RetryPolicies.retryOtherThanRemoteException(Lorg/apache/hadoop/io/retry/RetryPolicy;Ljava/util/Map;)Lorg/apache/hadoop/io/retry/RetryPolicy;
>       at 
> org.apache.hadoop.yarn.client.RMProxy.createRetryPolicy(RMProxy.java:304)
>       at 
> org.apache.hadoop.yarn.client.RMProxy.createRetryPolicy(RMProxy.java:211)
>       at org.apache.hadoop.yarn.client.RMProxy.createRMProxy(RMProxy.java:93)
>       at 
> org.apache.hadoop.yarn.client.ClientRMProxy.createRMProxy(ClientRMProxy.java:72)
>       at 
> org.apache.hadoop.yarn.client.api.impl.AMRMClientImpl.serviceStart(AMRMClientImpl.java:186)
>       at 
> org.apache.hadoop.service.AbstractService.start(AbstractService.java:193)
>       at 
> org.apache.hadoop.yarn.client.api.async.impl.AMRMClientAsyncImpl.serviceStart(AMRMClientAsyncImpl.java:96)
>       at 
> org.apache.hadoop.service.AbstractService.start(AbstractService.java:193)
>       at 
> org.apache.metron.maas.service.ApplicationMaster.run(ApplicationMaster.java:457)
>       at 
> org.apache.metron.maas.service.ApplicationMaster.main(ApplicationMaster.java:312)}}
> This is due to us packaging up yarn libraries with the maas service app 
> rather than picking them up from Yarn.

This message was sent by Atlassian JIRA

Reply via email to