Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Is there any way to execute the paragraphs in Zeppelin in sequential manner ?

Is there any way to execute the paragraphs in Zeppelin in sequential manner ?

New Contributor

Hello All,

When i am trying to run different paragraphs at one go, i need to get the count of records from a particular data frame using the %r interpreter after the above paragraph got executed where i am trying to read the data frame with specific name, but it is giving me the count of previous saved data frame.

eg-

total records in abc.csv =100 and def.csv=200

para1 code :

data_frame_1= read.df("...../abc.csv)

para2 code:

count of records = 100

para3 code:

data_frame_1 = read.df("...../def.csv)

count of records = 100

ideally after reading the data_frame_1 from para3 the count of records should be 200 but since all the para are submitted in bakcend, parallel execution in happening and count of records from abc.csv is coming.

Is there any way to execute the paragrphs in sequential manner ?

Any help will be really appreciated !!

whatsapp number- +919039241113

zeppelin-run-sequential-run.png

4 REPLIES 4

Re: Is there any way to execute the paragraphs in Zeppelin in sequential manner ?

Guru

@suyash soni , This feature is not yet in zeppelin. Its being tracked at ZEPPELIN-1160 .

Re: Is there any way to execute the paragraphs in Zeppelin in sequential manner ?

New Contributor

The play button is already inbuilt in zeppelin which executes the code sequentially. The problem comes when we change the interpreter across different paragraphs then the code gets executed in parallel mode.

Need some suggestion/help for the same ?

Re: Is there any way to execute the paragraphs in Zeppelin in sequential manner ?

Hi @suyash soni

Unfortunately, this feature has not yet been implemented. This will be available in Zeppelin 0.8 based on https://issues.apache.org/jira/browse/ZEPPELIN-2368.

Re: Is there any way to execute the paragraphs in Zeppelin in sequential manner ?

New Contributor

Thanks for the help

Don't have an account?
Coming from Hortonworks? Activate your account here