Support Questions

Find answers, ask questions, and share your expertise

Some Scripts suddenly stopping without ending for some days

avatar
Contributor

Some Scripts suddenly stopping without ending for some days

1 ACCEPTED SOLUTION

avatar
Master Collaborator

Hi @Choolake 

When a bash script that loads data into Hadoop stops unexpectedly without completing and without any apparent reason or modification, it can be challenging to identify the root cause.

If your script outputs any logs, review them to identify at what point the script stopped. This can help pinpoint the problematic step or external dependency causing the issue.

Enable verbose logging in the script to capture more details:

# set -x

This will show each command as it is executed and could help trace where it stops.

View solution in original post

5 REPLIES 5

avatar
Master Collaborator

Hi @Choolake 

Thanks for bringing up the issue. To better assist you, could you please provide more details about the specific scripts you need help with?

avatar
Community Manager

@Choolake, if you still have concerns, could you please provide the information that @shehbazk has requested?



Regards,

Vidya Sargur,
Community Manager


Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.
Learn more about the Cloudera Community:

avatar
Contributor

This is the bash script that we are using to load the data in to HADOOP.

but some days it's stopped without ending.no any special reason for this and no any modifications

 

Thank you!

avatar
Master Collaborator

Hi @Choolake 

When a bash script that loads data into Hadoop stops unexpectedly without completing and without any apparent reason or modification, it can be challenging to identify the root cause.

If your script outputs any logs, review them to identify at what point the script stopped. This can help pinpoint the problematic step or external dependency causing the issue.

Enable verbose logging in the script to capture more details:

# set -x

This will show each command as it is executed and could help trace where it stops.

avatar
Community Manager

@Choolake, Did the response help resolve your query? If it did, kindly mark the relevant reply as the solution, as it will aid others in locating the answer more easily in the future. 



Regards,

Vidya Sargur,
Community Manager


Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.
Learn more about the Cloudera Community: