Reply
Explorer
Posts: 6
Registered: ‎08-22-2015
Accepted Solution

not able to launch PYSPARK CDH 5.5.0 and spark version 1.5.0

Hi All,

 

I am not able to launch PYSPARK in CDH 5.5.0 and spark version 1.5.0 when i type pyspark its returning

/22 00:43:33 INFO Client: Application report for application_1453446402525_0004 (state: ACCEPTED)
16/01/22 00:43:34 INFO Client: Application report for application_1453446402525_0004 (state: ACCEPTED)
16/01/22 00:43:35 INFO Client: Application report for application_1453446402525_0004 (state: ACCEPTED)
16/01/22 00:43:36 INFO Client: Application report for application_1453446402525_0004 (state: ACCEPTED)
16/01/22 00:43:37 INFO Client: Application report for application_1453446402525_0004 (state: ACCEPTED)
16/01/22 00:43:38 INFO Client: Application report for application_1453446402525_0004 (state: ACCEPTED)
16/01/22 00:43:39 INFO Client: Application report for application_1453446402525_0004 (state: ACCEPTED)
16/01/22 00:43:40 INFO Client: Application report for application_1453446402525_0004 (state: ACCEPTED)
16/01/22 00:43:41 INFO Client: Application report for application_1453446402525_0004 (state: ACCEPTED)
16/01/22 00:43:42 INFO Client: Application report for application_1453446402525_0004 (state: ACCEPTED)
16/01/22 00:43:43 INFO Client: Application report for application_1453446402525_0004 (state: ACCEPTED)
16/01/22 00:43:44 INFO Client: Application report for application_1453446402525_0004 (state: ACCEPTED)
16/01/22 00:43:45 INFO Client: Application report for application_1453446402525_0004 (state: ACCEPTED)
16/01/22 00:43:46 INFO Client: Application report for application_1453446402525_0004 (state: ACCEPTED)
16/01/22 00:43:47 INFO Client: Application report for application_1453446402525_0004 (state: ACCEPTED)
16/01/22 00:43:48 INFO Client: Application report for application_1453446402525_0004 (state: ACCEPTED)
16/01/22 00:43:49 INFO Client: Application report for application_1453446402525_0004 (state: ACCEPTED)
16/01/22 00:43:50 INFO Client: Application report for application_1453446402525_0004 (state: ACCEPTED)
16/01/22 00:43:51 INFO Client: Application report for application_1453446402525_0004 (state: ACCEPTED)
16/01/22 00:43:52 INFO Client: Application report for application_1453446402525_0004 (state: ACCEPTED)
16/01/22 00:43:53 INFO Client: Application report for application_1453446402525_0004 (state: ACCEPTED)
16/01/22 00:43:54 INFO Client: Application report for application_1453446402525_0004 (state: ACCEPTED)
16/01/22 00:43:55 INFO Client: Application report for application_1453446402525_0004 (state: ACCEPTED)
16/01/22 00:43:56 INFO Client: Application report for application_1453446402525_0004 (state: ACCEPTED)
16/01/22 00:43:57 INFO Client: Application report for application_1453446402525_0004 (state: ACCEPTED)
16/01/22 00:43:58 INFO Client: Application report for application_1453446402525_0004 (state: ACCEPTED)

----

 

Its not ending ..Its not launching the application

 

Can you please suggest

 

 

ysk
Explorer
Posts: 11
Registered: ‎09-20-2015

Re: not able to launch PYSPARK CDH 5.5.0 and spark version 1.5.0

We are facing the same problem. Have you been able to resolve the issue? Please can you share your findings?

Cloudera Employee
Posts: 35
Registered: ‎04-05-2016

Re: not able to launch PYSPARK CDH 5.5.0 and spark version 1.5.0

The attached log indicates that application is accepted by cluster manager (YARN) but unable to execute due to resource crunch. Please make sure there are enough resources available in your cluster while submitting the job.

 

Do check following and configure based on hosts:

yarn.nodemanager.resource.memory-mb

yarn.nodemanager.resource.cpu-vcores

yarn.scheduler.maximum-allocation-mb
yarn.scheduler.minimum-allocation-mb

 

 yarn-scheduler.maximum-allocation-vcores

yarn.scheduler.minimum-allocation-vcores

 

 

Highlighted
ysk
Explorer
Posts: 11
Registered: ‎09-20-2015

Re: not able to launch PYSPARK CDH 5.5.0 and spark version 1.5.0

Your tip was spot on Umesh! We realised that as a part of installing CDH 5.5 and Spark, the default configuration for the parameters you mentioned, were changed (not sure how). We restored them to the default values and were able to run Pyspark and Spark-shell.

Many thanks for your help.