Hortonworks Sandbox Forum

using sandbox for yarn development

  • #31134

    Hi,
    I hope this is the right forum– I apologize if not.
    I attended the YARN deep dive presentation yesterday, and the question, “what is the best/easiest development environment for developing and debugging YARN applications, and how can that be set up,” was answered during the Q&A portion.
    The answer was, “it would be easiest to use the sandbox.”
    My question is, in what context would we use the sandbox? Do we install eclipse and do our Application Master development on the sandbox VM itself, or do we install eclipse and the source on the host machine and use the remote debugging capabilities to attach to the application manager running on the sandbox (presumably using the HADOOP_OPTS flags)? Or did I misunderstand the answer and is some other strategy recommended?
    If this is the proper strategy, what is the right Maven dependency to add to my Eclipse projects to make them aware of the sandbox version of HDP and how do I make Eclipse find the right source code version for the sandbox, so that I can step into Hadoop library source code?

    Thanks,

    Nathan Bamford

to create new topics or reply. | New User Registration

  • Author
    Replies
  • #31157
    Sasha J
    Moderator

    Nathan,
    this is completely your choice where to install Eclipse.
    Sandbox providing you back end infrastructure to run YARN applications.
    Eclipse providing you IDE for development.
    Sandbox does not contain any HDP source code or maven repositories.

    I suggest you to install Eclipse on your host machine and use Sandbox as a testbed for your newly developed applications.

    Thank you!
    Sasha

    #31238
    john lilley
    Participant

    Hi Sasha,
    Thanks for the reply. Can you elaborate? How exactly do we find the jars that correspond to the hadoop version running in he sandbox and make them available to Eclipse? Is there a specific Maven artifact dependency that will cause Eclipse to fetch the appropriate jars from the internnet? I’ve been able to do this before with the core Apache releases, but it is not clear how to reference the sandbox, as I don’t know if it exactly corresponds to an Apache release level or not.
    Thanks
    john

    #31260
    Sasha J
    Moderator

    Look at the contents of the following:
    http://repo.hortonworks.com/content/repositories/releases/

    It should contain all the needed pieces.

    Thank you!
    Sasha

    #31348

    Hi,

    I also attended deep dive presentation on YARN last week by Arun Murthy.
    I wanted to give it a spin on my sandbox.
    Where can I find Hadoop v2.0 aka YARN in the HW Sandbox v1.3?

    Thanks.
    Prashanth.

    #31445
    Cheryle Custer
    Moderator

    Hi Nathan,

    Sorry for any confusion — you should be using the 2.0 Community Preview edition. It can be found here: http://hortonworks.com/products/hdp/hdp2/

    It is a separate download and contains only the HDP 2.0 bits, not the 1.3 bits. Same formfactor as Sandbox.

    Hope this helps.

    Cheryle

You must be to reply to this topic. | Create Account

Support from the Experts

A HDP Support Subscription connects you experts with deep experience running Apache Hadoop in production, at-scale on the most demanding workloads.

Enterprise Support »

Become HDP Certified

Real world training designed by the core architects of Hadoop. Scenario-based training courses are available in-classroom or online from anywhere in the world

Training »

Hortonworks Data Platform
The Hortonworks Data Platform is a 100% open source distribution of Apache Hadoop that is truly enterprise grade having been built, tested and hardened with enterprise rigor.
Get started with Sandbox
Hortonworks Sandbox is a self-contained virtual machine with Apache Hadoop pre-configured alongside a set of hands-on, step-by-step Hadoop tutorials.
Modern Data Architecture
Tackle the challenges of big data. Hadoop integrates with existing EDW, RDBMS and MPP systems to deliver lower cost, higher capacity infrastructure.