Thanks for you response. Yes the intention is to run multiple commands. It does not need to be in inside ( ). I have verified this. It inly needs to be separated out with semi-colon. And I was able to find the problem. The command was failing with some environment variable settings and it is good now. It wasn't a issue with yarn command or cron. Thanks again for responding.
The command mentioned above
hadoop date;yarn looks incomplete. Can you please share an example of what you are trying to do?
If the intention is to run multiple commands in a cron you can surround the semicolon separate commands inside a
), for example
*/1 * * * * (hadoop version;yarn version). I hope this answers your question, if not please share more details on the use case and I'll be happy to assist you.
EMR: Terminated with errors Bootstrap failureasked 4 years ago
Monitoring EMR job statusAccepted Answerasked 4 years ago
EMR : cron: A yarn command is skippedAccepted Answerasked 2 months ago
Yarn fails to install from CodeArtifactasked a year ago
Unable to Create Spark Cluster of Specific Size on 5.32.0asked 2 years ago
Installing Yarn on Amazon Linux 2 Instance with yum in prebuild hookasked a year ago
Difference in vCore and vCPU | EC2 and EMRasked 4 years ago
Any way to run cron in AWS AppRunner?asked 5 months ago
Redirect spark-submit output to s3asked 8 months ago
Setting the Step Concurrency Level is doing nothingasked 3 years ago