locked
How to schedule a Job in Azure Batch from the Management Console? RRS feed

  • Question

  • I am trying to setup a job from the management consoles and intensive googling has yielded results that would require me to write a code in .NET using Batch API for .NET.

    I sincerely hope I am wrong! please let me know if there is a better way of doing this. I am an open-source guy on Mac!! and would love any solution that would be more up my open source ally.

    REST API seems too cumbersome and I am trying to run a JAR file that prints "Hello World" for now.

    Thanks,

    Shankar

    Tuesday, March 29, 2016 12:38 PM

Answers

All replies

  • Hi Shankar

    The results from your searches are correct at the moment - we currently have REST and .NET API's, as well as allow applications to run on Windows VM's.  However, this will change very shortly - we have previously announced our plan to support Linux VM's and will also be expanding our API offerings.

    Watch out for some announcements on the Azure blog (https://azure.microsoft.com/en-us/blog/) in the very near future that I'm hoping will satisfy your requirements!

    Thanks, Mark

    Tuesday, March 29, 2016 4:15 PM
  • Expanding on Mark's comment, we currently have a Node.js API which we just published here:

    https://www.npmjs.com/package/azure-batch

    We are also very close to publishing a Python package.

    Do either of those two languages (Python or Node) meet your needs?  If not, what language are you looking for?

    Tuesday, March 29, 2016 5:26 PM
  • Thanks for the reply, will watch out for an update. Hopefully soon:)
    Wednesday, March 30, 2016 11:16 AM
  • I was looking for a JAVA API, which I could use in a Spring Boot App. Hope this helps
    Wednesday, March 30, 2016 11:17 AM
  • Hi Shankarlogs,

    We are working on a Java client as well, but it may be a bit before its out (it's at least a couple of weeks away).

    If that timeline isn't satisfactory let us know and we will see if we can work something out.

    Wednesday, March 30, 2016 7:05 PM
  • Well, this was the fastest couple of weeks ever... but it turns out we have something for you!

    Please note that the below is a BETA release and as such is subject to interface changes.  It may not work perfectly (it's a beta).

    Here is our source code in public github: https://github.com/Azure/azure-sdk-for-java/tree/autorest/azure-batch

     

    Here is nightly build http://adxsnapshots.azurewebsites.net/?dir=com\microsoft\azure\azure-batch\1.0.0-SNAPSHOT

     

    Use this in your maven:

     <repositories>

      <repository>

        <id>adx-snapshots</id>

        <name>Azure ADX Snapshots</name>

        <url>http://adxsnapshots.azurewebsites.net/</url>

        <layout>default</layout>

        <snapshots>

          <enabled>true</enabled>

        </snapshots>

      </repository>

    </repositories>

    ...

    <dependency>

      <groupId>com.microsoft.azure</groupId>

      <artifactId>azure-batch</artifactId>

      <version>1.0.0-20160330.205733-1</version>

    </dependency>

    Thursday, March 31, 2016 5:08 PM