[jira] [Commented] (YARN-6914) Application application_1501553373419_0001 failed 2 times due to AM Container for appattempt_1501553373419_0001_000002 exited with exitCode: -1000

2017-08-01 Thread Naganarasimha G R (JIRA)

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

Naganarasimha G R commented on YARN-6914:
-

Sorry i meant Hadoop mailing list, refer all mailing lists @ 
https://hadoop.apache.org/mailing_lists.html
you can send mail to u...@hadoop.apache.org
but seems like spark issue, so first you could try what i suggested if not a 
prod setup.

> Application application_1501553373419_0001 failed 2 times due to AM Container 
> for appattempt_1501553373419_0001_02 exited with exitCode: -1000
> --
>
> Key: YARN-6914
> URL: https://issues.apache.org/jira/browse/YARN-6914
> Project: Hadoop YARN
>  Issue Type: Bug
>  Components: yarn
>Affects Versions: 2.7.3
> Environment: Mac OS
>Reporter: abhishek bharani
>Priority: Critical
>   Original Estimate: 336h
>  Remaining Estimate: 336h
>
> I am getting below error while running 
> spark-shell --master yarn
> Application application_1501553373419_0001 failed 2 times due to AM Container 
> for appattempt_1501553373419_0001_02 exited with exitCode: -1000
> For more detailed output, check application tracking 
> page:http://abhisheks-mbp:8088/cluster/app/application_1501553373419_0001Then,
>  click on links to logs of each attempt.
> Diagnostics: null
> Failing this attempt. Failing the application.
> Below are the contents of yarn-site.xml :
> 
> 
> 
>     yarn.nodemanager.aux-services
> mapreduce_shuffle
>     
>
>     
> yarn.nodemanager.aux-services.mapreduce.shuffle.class
> org.apache.hadoop.mapred.ShuffleHandler
>
> 
>     yarn.nodemanager.aux-services.spark_shuffle.class
> 
> org.apache.spark.network.yarn.YarnShuffleService
>     
> 
> yarn.log-aggregation-enable
> true
> 
> 
> 
> yarn.nodemanager.log-aggregation.roll-monitoring-interval-seconds
> 3600
> 
> 
> yarn.resourcemanager.hostname
> localhost
> 
> 
> 
> yarn.resourcemanager.resourcetracker.address
> ${yarn.resourcemanager.hostname}:8025
> Enter your ResourceManager 
> hostname.
> 
> 
> yarn.resourcemanager.scheduler.address
> ${yarn.resourcemanager.hostname}:8035
> Enter your ResourceManager 
> hostname.
> 
> 
> yarn.resourcemanager.address
> ${yarn.resourcemanager.hostname}:8055
> Enter your ResourceManager 
> hostname.
> 
> 
> The http address of the RM web 
> application.
> yarn.resourcemanager.webapp.address
> ${yarn.resourcemanager.hostname}:8088
> 
> I tried many solutions but none of them is working :
> 1.Added property 
> yarn.nodemanager.disk-health-checker.max-disk-utilization-per-disk-percentage 
> to yarn-site.xml with value as 98.5
> 2.added below property to yarn-site.xml 
> yarn.nodemanager.aux-services.spark_shuffle.class 
> org.apache.spark.network.yarn.YarnShuffleService  
> 3.Added property in spark-defaults.conf 
> spark.yarn.jars=hdfs://localhost:50010/users/spark/jars/*.jar



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

-
To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org



[jira] [Commented] (YARN-6914) Application application_1501553373419_0001 failed 2 times due to AM Container for appattempt_1501553373419_0001_000002 exited with exitCode: -1000

2017-08-01 Thread abhishek bharani (JIRA)

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

abhishek bharani commented on YARN-6914:


Sure [~naganarasimha...@apache.org], Thank you for your support !
I didn't knew that we first need to raise issues in forums.  I raised this 
issue on other forums like stack overflow but din't received any response..
Could you please provide the link to the forum. 

> Application application_1501553373419_0001 failed 2 times due to AM Container 
> for appattempt_1501553373419_0001_02 exited with exitCode: -1000
> --
>
> Key: YARN-6914
> URL: https://issues.apache.org/jira/browse/YARN-6914
> Project: Hadoop YARN
>  Issue Type: Bug
>  Components: yarn
>Affects Versions: 2.7.3
> Environment: Mac OS
>Reporter: abhishek bharani
>Priority: Critical
>   Original Estimate: 336h
>  Remaining Estimate: 336h
>
> I am getting below error while running 
> spark-shell --master yarn
> Application application_1501553373419_0001 failed 2 times due to AM Container 
> for appattempt_1501553373419_0001_02 exited with exitCode: -1000
> For more detailed output, check application tracking 
> page:http://abhisheks-mbp:8088/cluster/app/application_1501553373419_0001Then,
>  click on links to logs of each attempt.
> Diagnostics: null
> Failing this attempt. Failing the application.
> Below are the contents of yarn-site.xml :
> 
> 
> 
>     yarn.nodemanager.aux-services
> mapreduce_shuffle
>     
>
>     
> yarn.nodemanager.aux-services.mapreduce.shuffle.class
> org.apache.hadoop.mapred.ShuffleHandler
>
> 
>     yarn.nodemanager.aux-services.spark_shuffle.class
> 
> org.apache.spark.network.yarn.YarnShuffleService
>     
> 
> yarn.log-aggregation-enable
> true
> 
> 
> 
> yarn.nodemanager.log-aggregation.roll-monitoring-interval-seconds
> 3600
> 
> 
> yarn.resourcemanager.hostname
> localhost
> 
> 
> 
> yarn.resourcemanager.resourcetracker.address
> ${yarn.resourcemanager.hostname}:8025
> Enter your ResourceManager 
> hostname.
> 
> 
> yarn.resourcemanager.scheduler.address
> ${yarn.resourcemanager.hostname}:8035
> Enter your ResourceManager 
> hostname.
> 
> 
> yarn.resourcemanager.address
> ${yarn.resourcemanager.hostname}:8055
> Enter your ResourceManager 
> hostname.
> 
> 
> The http address of the RM web 
> application.
> yarn.resourcemanager.webapp.address
> ${yarn.resourcemanager.hostname}:8088
> 
> I tried many solutions but none of them is working :
> 1.Added property 
> yarn.nodemanager.disk-health-checker.max-disk-utilization-per-disk-percentage 
> to yarn-site.xml with value as 98.5
> 2.added below property to yarn-site.xml 
> yarn.nodemanager.aux-services.spark_shuffle.class 
> org.apache.spark.network.yarn.YarnShuffleService  
> 3.Added property in spark-defaults.conf 
> spark.yarn.jars=hdfs://localhost:50010/users/spark/jars/*.jar



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

-
To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org



[jira] [Commented] (YARN-6914) Application application_1501553373419_0001 failed 2 times due to AM Container for appattempt_1501553373419_0001_000002 exited with exitCode: -1000

2017-08-01 Thread Naganarasimha G R (JIRA)

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

Naganarasimha G R commented on YARN-6914:
-

Hi [~bharaniabhishek123],
Generally the approach which is followed is raise your issue in the forum and 
if in the forum it gets confirmed to be a defect then raise it in jira. Please 
ensure next time we follow this procedure else every query will become a jira !
Will close this issue, please raise this in the forum and if required lets 
reopen this issue.

And coming to the logs, has the NM started ? seems to be a spark issue may be 
you can check in the spark forum.
One possible reason would be spark aux service leveldb files might have got 
corrupted, if not production cluster please empty/backup the dir " 
/usr/local/hadoop/tmp/nm-local-dir/"  and then try.






> Application application_1501553373419_0001 failed 2 times due to AM Container 
> for appattempt_1501553373419_0001_02 exited with exitCode: -1000
> --
>
> Key: YARN-6914
> URL: https://issues.apache.org/jira/browse/YARN-6914
> Project: Hadoop YARN
>  Issue Type: Bug
>  Components: yarn
>Affects Versions: 2.7.3
> Environment: Mac OS
>Reporter: abhishek bharani
>Priority: Critical
>   Original Estimate: 336h
>  Remaining Estimate: 336h
>
> I am getting below error while running 
> spark-shell --master yarn
> Application application_1501553373419_0001 failed 2 times due to AM Container 
> for appattempt_1501553373419_0001_02 exited with exitCode: -1000
> For more detailed output, check application tracking 
> page:http://abhisheks-mbp:8088/cluster/app/application_1501553373419_0001Then,
>  click on links to logs of each attempt.
> Diagnostics: null
> Failing this attempt. Failing the application.
> Below are the contents of yarn-site.xml :
> 
> 
> 
>     yarn.nodemanager.aux-services
> mapreduce_shuffle
>     
>
>     
> yarn.nodemanager.aux-services.mapreduce.shuffle.class
> org.apache.hadoop.mapred.ShuffleHandler
>
> 
>     yarn.nodemanager.aux-services.spark_shuffle.class
> 
> org.apache.spark.network.yarn.YarnShuffleService
>     
> 
> yarn.log-aggregation-enable
> true
> 
> 
> 
> yarn.nodemanager.log-aggregation.roll-monitoring-interval-seconds
> 3600
> 
> 
> yarn.resourcemanager.hostname
> localhost
> 
> 
> 
> yarn.resourcemanager.resourcetracker.address
> ${yarn.resourcemanager.hostname}:8025
> Enter your ResourceManager 
> hostname.
> 
> 
> yarn.resourcemanager.scheduler.address
> ${yarn.resourcemanager.hostname}:8035
> Enter your ResourceManager 
> hostname.
> 
> 
> yarn.resourcemanager.address
> ${yarn.resourcemanager.hostname}:8055
> Enter your ResourceManager 
> hostname.
> 
> 
> The http address of the RM web 
> application.
> yarn.resourcemanager.webapp.address
> ${yarn.resourcemanager.hostname}:8088
> 
> I tried many solutions but none of them is working :
> 1.Added property 
> yarn.nodemanager.disk-health-checker.max-disk-utilization-per-disk-percentage 
> to yarn-site.xml with value as 98.5
> 2.added below property to yarn-site.xml 
> yarn.nodemanager.aux-services.spark_shuffle.class 
> org.apache.spark.network.yarn.YarnShuffleService  
> 3.Added property in spark-defaults.conf 
> spark.yarn.jars=hdfs://localhost:50010/users/spark/jars/*.jar



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

-
To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org



[jira] [Commented] (YARN-6914) Application application_1501553373419_0001 failed 2 times due to AM Container for appattempt_1501553373419_0001_000002 exited with exitCode: -1000

2017-08-01 Thread abhishek bharani (JIRA)

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

abhishek bharani commented on YARN-6914:


Below is the information from NM Logs :

2017-08-01 10:19:50,510 ERROR org.apache.spark.network.util.LevelDBProvider: 
error opening leveldb file 
/usr/local/hadoop/tmp/nm-local-dir/registeredExecutors.ldb.  Creating new file, 
will not be able to recover state for existing applications
org.fusesource.leveldbjni.internal.NativeDB$DBException: IO error: 
/usr/local/hadoop/tmp/nm-local-dir/registeredExecutors.ldb/LOCK: No such file 
or directory
at 
org.fusesource.leveldbjni.internal.NativeDB.checkStatus(NativeDB.java:200)
at org.fusesource.leveldbjni.internal.NativeDB.open(NativeDB.java:218)
at org.fusesource.leveldbjni.JniDBFactory.open(JniDBFactory.java:168)
at 
org.apache.spark.network.util.LevelDBProvider.initLevelDB(LevelDBProvider.java:48)
at 
org.apache.spark.network.shuffle.ExternalShuffleBlockResolver.(ExternalShuffleBlockResolver.java:116)
at 
org.apache.spark.network.shuffle.ExternalShuffleBlockResolver.(ExternalShuffleBlockResolver.java:94)
at 
org.apache.spark.network.shuffle.ExternalShuffleBlockHandler.(ExternalShuffleBlockHandler.java:65)
at 
org.apache.spark.network.yarn.YarnShuffleService.serviceInit(YarnShuffleService.java:166)
at 
org.apache.hadoop.service.AbstractService.init(AbstractService.java:163)
at 
org.apache.hadoop.yarn.server.nodemanager.containermanager.AuxServices.serviceInit(AuxServices.java:143)
at 
org.apache.hadoop.service.AbstractService.init(AbstractService.java:163)
at 
org.apache.hadoop.service.CompositeService.serviceInit(CompositeService.java:107)
at 
org.apache.hadoop.yarn.server.nodemanager.containermanager.ContainerManagerImpl.serviceInit(ContainerManagerImpl.java:245)
at 
org.apache.hadoop.service.AbstractService.init(AbstractService.java:163)
at 
org.apache.hadoop.service.CompositeService.serviceInit(CompositeService.java:107)
at 
org.apache.hadoop.yarn.server.nodemanager.NodeManager.serviceInit(NodeManager.java:261)
at 
org.apache.hadoop.service.AbstractService.init(AbstractService.java:163)
at 
org.apache.hadoop.yarn.server.nodemanager.NodeManager.initAndStartNodeManager(NodeManager.java:495)
at 
org.apache.hadoop.yarn.server.nodemanager.NodeManager.main(NodeManager.java:543)
2017-08-01 10:19:50,511 WARN org.apache.spark.network.util.LevelDBProvider: 
error deleting /usr/local/hadoop/tmp/nm-local-dir/registeredExecutors.ldb
2017-08-01 10:19:50,511 INFO org.apache.hadoop.service.AbstractService: Service 
spark_shuffle failed in state INITED; cause: java.io.IOException: Unable to 
create state store
java.io.IOException: Unable to create state store
at 
org.apache.spark.network.util.LevelDBProvider.initLevelDB(LevelDBProvider.java:77)
at 
org.apache.spark.network.shuffle.ExternalShuffleBlockResolver.(ExternalShuffleBlockResolver.java:116)
at 
org.apache.spark.network.shuffle.ExternalShuffleBlockResolver.(ExternalShuffleBlockResolver.java:94)
at 
org.apache.spark.network.shuffle.ExternalShuffleBlockHandler.(ExternalShuffleBlockHandler.java:65)
at 
org.apache.spark.network.yarn.YarnShuffleService.serviceInit(YarnShuffleService.java:166)
at 
org.apache.hadoop.service.AbstractService.init(AbstractService.java:163)
at 
org.apache.hadoop.yarn.server.nodemanager.containermanager.AuxServices.serviceInit(AuxServices.java:143)
at 
org.apache.hadoop.service.AbstractService.init(AbstractService.java:163)
at 
org.apache.hadoop.service.CompositeService.serviceInit(CompositeService.java:107)
at 
org.apache.hadoop.yarn.server.nodemanager.containermanager.ContainerManagerImpl.serviceInit(ContainerManagerImpl.java:245)
at 
org.apache.hadoop.service.AbstractService.init(AbstractService.java:163)
at 
org.apache.hadoop.service.CompositeService.serviceInit(CompositeService.java:107)
at 
org.apache.hadoop.yarn.server.nodemanager.NodeManager.serviceInit(NodeManager.java:261)
at 
org.apache.hadoop.service.AbstractService.init(AbstractService.java:163)
at 
org.apache.hadoop.yarn.server.nodemanager.NodeManager.initAndStartNodeManager(NodeManager.java:495)
at 
org.apache.hadoop.yarn.server.nodemanager.NodeManager.main(NodeManager.java:543)
Caused by: org.fusesource.leveldbjni.internal.NativeDB$DBException: IO error: 
/usr/local/hadoop/tmp/nm-local-dir/registeredExecutors.ldb/LOCK: No such file 
or directory
at 
org.fusesource.leveldbjni.internal.NativeDB.checkStatus(NativeDB.java:200)
at org.fusesource.leveldbjni.internal.NativeDB.open(NativeDB.java:218)
at org.fusesource.leveldbjni.JniDBFactory.open(JniDBFactory.java:168)
at 

[jira] [Commented] (YARN-6914) Application application_1501553373419_0001 failed 2 times due to AM Container for appattempt_1501553373419_0001_000002 exited with exitCode: -1000

2017-08-01 Thread abhishek bharani (JIRA)

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

abhishek bharani commented on YARN-6914:


/Users/abhishekbharani/Desktop/nodemanager.log

> Application application_1501553373419_0001 failed 2 times due to AM Container 
> for appattempt_1501553373419_0001_02 exited with exitCode: -1000
> --
>
> Key: YARN-6914
> URL: https://issues.apache.org/jira/browse/YARN-6914
> Project: Hadoop YARN
>  Issue Type: Bug
>  Components: yarn
>Affects Versions: 2.7.3
> Environment: Mac OS
>Reporter: abhishek bharani
>Priority: Critical
>   Original Estimate: 336h
>  Remaining Estimate: 336h
>
> I am getting below error while running 
> spark-shell --master yarn
> Application application_1501553373419_0001 failed 2 times due to AM Container 
> for appattempt_1501553373419_0001_02 exited with exitCode: -1000
> For more detailed output, check application tracking 
> page:http://abhisheks-mbp:8088/cluster/app/application_1501553373419_0001Then,
>  click on links to logs of each attempt.
> Diagnostics: null
> Failing this attempt. Failing the application.
> Below are the contents of yarn-site.xml :
> 
> 
> 
>     yarn.nodemanager.aux-services
> mapreduce_shuffle
>     
>
>     
> yarn.nodemanager.aux-services.mapreduce.shuffle.class
> org.apache.hadoop.mapred.ShuffleHandler
>
> 
>     yarn.nodemanager.aux-services.spark_shuffle.class
> 
> org.apache.spark.network.yarn.YarnShuffleService
>     
> 
> yarn.log-aggregation-enable
> true
> 
> 
> 
> yarn.nodemanager.log-aggregation.roll-monitoring-interval-seconds
> 3600
> 
> 
> yarn.resourcemanager.hostname
> localhost
> 
> 
> 
> yarn.resourcemanager.resourcetracker.address
> ${yarn.resourcemanager.hostname}:8025
> Enter your ResourceManager 
> hostname.
> 
> 
> yarn.resourcemanager.scheduler.address
> ${yarn.resourcemanager.hostname}:8035
> Enter your ResourceManager 
> hostname.
> 
> 
> yarn.resourcemanager.address
> ${yarn.resourcemanager.hostname}:8055
> Enter your ResourceManager 
> hostname.
> 
> 
> The http address of the RM web 
> application.
> yarn.resourcemanager.webapp.address
> ${yarn.resourcemanager.hostname}:8088
> 
> I tried many solutions but none of them is working :
> 1.Added property 
> yarn.nodemanager.disk-health-checker.max-disk-utilization-per-disk-percentage 
> to yarn-site.xml with value as 98.5
> 2.added below property to yarn-site.xml 
> yarn.nodemanager.aux-services.spark_shuffle.class 
> org.apache.spark.network.yarn.YarnShuffleService  
> 3.Added property in spark-defaults.conf 
> spark.yarn.jars=hdfs://localhost:50010/users/spark/jars/*.jar



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

-
To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org



[jira] [Commented] (YARN-6914) Application application_1501553373419_0001 failed 2 times due to AM Container for appattempt_1501553373419_0001_000002 exited with exitCode: -1000

2017-08-01 Thread Naganarasimha G R (JIRA)

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

Naganarasimha G R commented on YARN-6914:
-

No info from the NM logs too ?

> Application application_1501553373419_0001 failed 2 times due to AM Container 
> for appattempt_1501553373419_0001_02 exited with exitCode: -1000
> --
>
> Key: YARN-6914
> URL: https://issues.apache.org/jira/browse/YARN-6914
> Project: Hadoop YARN
>  Issue Type: Bug
>  Components: yarn
>Affects Versions: 2.7.3
> Environment: Mac OS
>Reporter: abhishek bharani
>Priority: Critical
>   Original Estimate: 336h
>  Remaining Estimate: 336h
>
> I am getting below error while running 
> spark-shell --master yarn
> Application application_1501553373419_0001 failed 2 times due to AM Container 
> for appattempt_1501553373419_0001_02 exited with exitCode: -1000
> For more detailed output, check application tracking 
> page:http://abhisheks-mbp:8088/cluster/app/application_1501553373419_0001Then,
>  click on links to logs of each attempt.
> Diagnostics: null
> Failing this attempt. Failing the application.
> Below are the contents of yarn-site.xml :
> 
> 
> 
>     yarn.nodemanager.aux-services
> mapreduce_shuffle
>     
>
>     
> yarn.nodemanager.aux-services.mapreduce.shuffle.class
> org.apache.hadoop.mapred.ShuffleHandler
>
> 
>     yarn.nodemanager.aux-services.spark_shuffle.class
> 
> org.apache.spark.network.yarn.YarnShuffleService
>     
> 
> yarn.log-aggregation-enable
> true
> 
> 
> 
> yarn.nodemanager.log-aggregation.roll-monitoring-interval-seconds
> 3600
> 
> 
> yarn.resourcemanager.hostname
> localhost
> 
> 
> 
> yarn.resourcemanager.resourcetracker.address
> ${yarn.resourcemanager.hostname}:8025
> Enter your ResourceManager 
> hostname.
> 
> 
> yarn.resourcemanager.scheduler.address
> ${yarn.resourcemanager.hostname}:8035
> Enter your ResourceManager 
> hostname.
> 
> 
> yarn.resourcemanager.address
> ${yarn.resourcemanager.hostname}:8055
> Enter your ResourceManager 
> hostname.
> 
> 
> The http address of the RM web 
> application.
> yarn.resourcemanager.webapp.address
> ${yarn.resourcemanager.hostname}:8088
> 
> I tried many solutions but none of them is working :
> 1.Added property 
> yarn.nodemanager.disk-health-checker.max-disk-utilization-per-disk-percentage 
> to yarn-site.xml with value as 98.5
> 2.added below property to yarn-site.xml 
> yarn.nodemanager.aux-services.spark_shuffle.class 
> org.apache.spark.network.yarn.YarnShuffleService  
> 3.Added property in spark-defaults.conf 
> spark.yarn.jars=hdfs://localhost:50010/users/spark/jars/*.jar



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

-
To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org



[jira] [Commented] (YARN-6914) Application application_1501553373419_0001 failed 2 times due to AM Container for appattempt_1501553373419_0001_000002 exited with exitCode: -1000

2017-07-31 Thread abhishek bharani (JIRA)

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

abhishek bharani commented on YARN-6914:


Updated the configuration as above, I am still getting the same error.
 

> Application application_1501553373419_0001 failed 2 times due to AM Container 
> for appattempt_1501553373419_0001_02 exited with exitCode: -1000
> --
>
> Key: YARN-6914
> URL: https://issues.apache.org/jira/browse/YARN-6914
> Project: Hadoop YARN
>  Issue Type: Bug
>  Components: yarn
>Affects Versions: 2.7.3
> Environment: Mac OS
>Reporter: abhishek bharani
>Priority: Critical
>   Original Estimate: 336h
>  Remaining Estimate: 336h
>
> I am getting below error while running 
> spark-shell --master yarn
> Application application_1501553373419_0001 failed 2 times due to AM Container 
> for appattempt_1501553373419_0001_02 exited with exitCode: -1000
> For more detailed output, check application tracking 
> page:http://abhisheks-mbp:8088/cluster/app/application_1501553373419_0001Then,
>  click on links to logs of each attempt.
> Diagnostics: null
> Failing this attempt. Failing the application.
> Below are the contents of yarn-site.xml :
> 
> 
> 
>     yarn.nodemanager.aux-services
> mapreduce_shuffle
>     
>
>     
> yarn.nodemanager.aux-services.mapreduce.shuffle.class
> org.apache.hadoop.mapred.ShuffleHandler
>
> 
>     yarn.nodemanager.aux-services.spark_shuffle.class
> 
> org.apache.spark.network.yarn.YarnShuffleService
>     
> 
> yarn.log-aggregation-enable
> true
> 
> 
> 
> yarn.nodemanager.log-aggregation.roll-monitoring-interval-seconds
> 3600
> 
> 
> yarn.resourcemanager.hostname
> localhost
> 
> 
> 
> yarn.resourcemanager.resourcetracker.address
> ${yarn.resourcemanager.hostname}:8025
> Enter your ResourceManager 
> hostname.
> 
> 
> yarn.resourcemanager.scheduler.address
> ${yarn.resourcemanager.hostname}:8035
> Enter your ResourceManager 
> hostname.
> 
> 
> yarn.resourcemanager.address
> ${yarn.resourcemanager.hostname}:8055
> Enter your ResourceManager 
> hostname.
> 
> 
> The http address of the RM web 
> application.
> yarn.resourcemanager.webapp.address
> ${yarn.resourcemanager.hostname}:8088
> 
> I tried many solutions but none of them is working :
> 1.Added property 
> yarn.nodemanager.disk-health-checker.max-disk-utilization-per-disk-percentage 
> to yarn-site.xml with value as 98.5
> 2.added below property to yarn-site.xml 
> yarn.nodemanager.aux-services.spark_shuffle.class 
> org.apache.spark.network.yarn.YarnShuffleService  
> 3.Added property in spark-defaults.conf 
> spark.yarn.jars=hdfs://localhost:50010/users/spark/jars/*.jar



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

-
To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org



[jira] [Commented] (YARN-6914) Application application_1501553373419_0001 failed 2 times due to AM Container for appattempt_1501553373419_0001_000002 exited with exitCode: -1000

2017-07-31 Thread Bibin A Chundatt (JIRA)

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

Bibin A Chundatt commented on YARN-6914:


[~bharaniabhishek123]
Looks like issue with configuration.

{code}

  yarn.nodemanager.aux-services
mapreduce_shuffle,spark_shuffle
  

  yarn.nodemanager.aux-services.mapreduce_shuffle.class
org.apache.hadoop.mapred.ShuffleHandler


  yarn.nodemanager.aux-services.spark_shuffle.class
org.apache.spark.network.yarn.YarnShuffleService
  
{code}

For please contact in user mailing list for questions and discussion. 
u...@hadoop.apache.org

> Application application_1501553373419_0001 failed 2 times due to AM Container 
> for appattempt_1501553373419_0001_02 exited with exitCode: -1000
> --
>
> Key: YARN-6914
> URL: https://issues.apache.org/jira/browse/YARN-6914
> Project: Hadoop YARN
>  Issue Type: Bug
>  Components: yarn
>Affects Versions: 2.7.3
> Environment: Mac OS
>Reporter: abhishek bharani
>Priority: Critical
>   Original Estimate: 336h
>  Remaining Estimate: 336h
>
> I am getting below error while running 
> spark-shell --master yarn
> Application application_1501553373419_0001 failed 2 times due to AM Container 
> for appattempt_1501553373419_0001_02 exited with exitCode: -1000
> For more detailed output, check application tracking 
> page:http://abhisheks-mbp:8088/cluster/app/application_1501553373419_0001Then,
>  click on links to logs of each attempt.
> Diagnostics: null
> Failing this attempt. Failing the application.
> Below are the contents of yarn-site.xml :
> 
> 
> 
>     yarn.nodemanager.aux-services
> mapreduce_shuffle
>     
>
>     
> yarn.nodemanager.aux-services.mapreduce.shuffle.class
> org.apache.hadoop.mapred.ShuffleHandler
>
> 
>     yarn.nodemanager.aux-services.spark_shuffle.class
> 
> org.apache.spark.network.yarn.YarnShuffleService
>     
> 
> yarn.log-aggregation-enable
> true
> 
> 
> 
> yarn.nodemanager.log-aggregation.roll-monitoring-interval-seconds
> 3600
> 
> 
> yarn.resourcemanager.hostname
> localhost
> 
> 
> 
> yarn.resourcemanager.resourcetracker.address
> ${yarn.resourcemanager.hostname}:8025
> Enter your ResourceManager 
> hostname.
> 
> 
> yarn.resourcemanager.scheduler.address
> ${yarn.resourcemanager.hostname}:8035
> Enter your ResourceManager 
> hostname.
> 
> 
> yarn.resourcemanager.address
> ${yarn.resourcemanager.hostname}:8055
> Enter your ResourceManager 
> hostname.
> 
> 
> The http address of the RM web 
> application.
> yarn.resourcemanager.webapp.address
> ${yarn.resourcemanager.hostname}:8088
> 
> I tried many solutions but none of them is working :
> 1.Added property 
> yarn.nodemanager.disk-health-checker.max-disk-utilization-per-disk-percentage 
> to yarn-site.xml with value as 98.5
> 2.added below property to yarn-site.xml 
> yarn.nodemanager.aux-services.spark_shuffle.class 
> org.apache.spark.network.yarn.YarnShuffleService  
> 3.Added property in spark-defaults.conf 
> spark.yarn.jars=hdfs://localhost:50010/users/spark/jars/*.jar



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

-
To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org