Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.6.0
    • Component/s: core
    • Labels:
      None

      Description

      It would be good to have some example code which shows how to use the API to launch various services. The tests do this to some extent, but having a short example with documentation will be very helpful for users.

      1. WHIRR-28.patch
        17 kB
        Andrei Savu
      2. WHIRR-28.patch
        17 kB
        Andrei Savu
      3. WHIRR-28.patch
        20 kB
        Andrei Savu

        Activity

        Hide
        Andrei Savu added a comment -

        First iteration. It seems like I'm still doing something wrong. Any ideas?

        Show
        Andrei Savu added a comment - First iteration. It seems like I'm still doing something wrong. Any ideas?
        Hide
        Andrei Savu added a comment -

        Working patch. I guess the instance size was too small.

        Show
        Andrei Savu added a comment - Working patch. I guess the instance size was too small.
        Hide
        Andrei Savu added a comment -

        What do you think?

        Show
        Andrei Savu added a comment - What do you think?
        Hide
        Tom White added a comment -

        Looks good.

        • Why is there an explicit check for the private key? Doesn't ClusterSpec handle this now?
        • Can we name the class HadoopClusterExample rather than Main?
        Show
        Tom White added a comment - Looks good. Why is there an explicit check for the private key? Doesn't ClusterSpec handle this now? Can we name the class HadoopClusterExample rather than Main?
        Hide
        Andrei Savu added a comment -

        Good points Tom. I've updated the patch and created a more generic mechanism for registering more examples later.

        Show
        Andrei Savu added a comment - Good points Tom. I've updated the patch and created a more generic mechanism for registering more examples later.
        Hide
        Tom White added a comment -

        +1

        Show
        Tom White added a comment - +1
        Hide
        Andrei Savu added a comment -

        I've just committed this. Thanks Tom for reviewing.

        Show
        Andrei Savu added a comment - I've just committed this. Thanks Tom for reviewing.
        Hide
        Edward J. Yoon added a comment -

        Cool!

        Show
        Edward J. Yoon added a comment - Cool!

          People

          • Assignee:
            Andrei Savu
            Reporter:
            Tom White
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development