azure-batch-samples icon indicating copy to clipboard operation
azure-batch-samples copied to clipboard

Java Samples Need Cover More Scenarios

Open bgklein opened this issue 6 years ago • 2 comments

From Vinay Gera some recommended samples are:

"

  • File Operations - Reading file from compute node.
  • Job Scheduling
    • Creating a job schedule (Setting prioirty and execution date + time)
    • Updating the job schedule state and deleting it
  • How to update a job state
  • Pool Creation - (PaaS pool)
    • How to associate data disks with pool creation?
  • Tasks
    • Handling multiple tasks in a single job
    • Associating output destination for task output files
  • Parallel Processing
    • How to utilize parallel processing in batch?
    • C# TextSearch Sample covers this in map reduce form - https://github.com/Azure-Samples/azure-batch-samples/tree/master/CSharp/TextSearch
    • C# TopNWords sample displays how to perform multiple blobs https://github.com/Azure-Samples/azure-batch-samples/tree/master/CSharp/TopNWords
  • Application samples to run in Batch:
    • Couldn't find any Java based app sample which can be uploaded and run in Azure Batch utilizing its parallel processing and computing power.
    • one C# Image Magick Azure Batch Apps samples is there: https://code.msdn.microsoft.com/Azure-Batch-Apps-Samples-dd781172/sourcecode?fileId=138503&pathId=1191936534

"

bgklein avatar Jan 16 '19 16:01 bgklein

Any update on this, is somebody working on updating the samples?

therahulkumar avatar Jun 20 '19 11:06 therahulkumar

@bgklein I have updated the java sample code with file upload option after task completion. PR #272

therahulkumar avatar Jun 22 '19 09:06 therahulkumar