[ 
https://issues.apache.org/jira/browse/YARN-1842?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13940705#comment-13940705
 ] 

Janos Matyas commented on YARN-1842:
------------------------------------

Hi,

This seems to be an issue on OS/X and Debian only. We have just tried on CentOS 
(for automatic Hoya install on CentOS feel free to use this script - 
https://github.com/sequenceiq/hadoop-docker/blob/master/hoya-centos-install.sh) 
and it works fine launching HBase containers. 

Also we have tried our custom Apache Flume provider 
(https://github.com/sequenceiq/hoya) and it works well - launching and stoping 
containers as supposed. 

A quick note: on Debian and OS/X there are different exceptions if you launch 
the containers using IP address or localhost (hoya create hbase --role master 1 
--role worker 1 --manager localhost:8032 --filesystem     hdfs://localhost:9000 
--image hdfs://localhost:9000/hbase.tar.gz --appconf 
file:///tmp/hoya-master/hoya-core/src/main/resources/org/apache/hoya/providers/hbase/conf
 --zkhosts localhost)



> InvalidApplicationMasterRequestException raised during AM-requested shutdown
> ----------------------------------------------------------------------------
>
>                 Key: YARN-1842
>                 URL: https://issues.apache.org/jira/browse/YARN-1842
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: resourcemanager
>    Affects Versions: 2.3.0
>            Reporter: Steve Loughran
>            Priority: Minor
>         Attachments: hoyalogs.tar.gz
>
>
> Report of the RM raising a stack trace 
> [https://gist.github.com/matyix/9596735] during AM-initiated shutdown. The AM 
> could just swallow this and exit, but it could be a sign of a race condition 
> YARN-side, or maybe just in the RM client code/AM dual signalling the 
> shutdown. 
> I haven't replicated this myself; maybe the stack will help track down the 
> problem. Otherwise: what is the policy YARN apps should adopt for AM's 
> handling errors on shutdown? go straight to an exit(-1)?



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to