Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.6.0
    • Fix Version/s: 1.6.1
    • Component/s: None
    • Labels:
      None

      Description

      There is an open source effort to implement Ambari-Shell: https://github.com/sequenceiq/ambari-shell
      It would make sense to integrate it into the official source tree.

      The attached ambari-shell.md contains a detailed explanation of what Ambari shell is, but in broadly
      it is a context aware, interactive command line tool which simplifies the usage of the Ambari's REST API without
      using the webui. The plan is to cover all the functionalities that Ambari provides to be able to automate
      every necessary step needed to create and manage a cluster.

      1. AMBARI-5482-1.patch
        992 kB
        Krisztian Horvath
      2. AMBARI-5482-2.patch
        996 kB
        Krisztian Horvath
      3. AMBARI-5482-3.patch
        997 kB
        Krisztian Horvath
      4. AMBARI-5482-4.patch
        998 kB
        Krisztian Horvath
      5. ambari-shell.md
        7 kB
        Janos Matyas

        Issue Links

          Activity

          Hide
          keyki Krisztian Horvath added a comment -

          The patch contains module re-structures as well as advised, so this is how it looks like:
          ambari-client/groovy-client
          ambari-client/python-client
          and a new module have been added to the top level:
          ambari-shell

          After compiling the project, the shell is ready to use, java -jar ambari-shell/target/ambari-shell-1.3.0-SNAPSHOT.jar --ambari.server=localhost --ambari.port=8080 --ambari.user=admin --ambari.password=admin

          --ambari options can be omitted if they are the default values otherwise you only need to specify the difference, e.g just the port is different
          java -jar ambari-shell/target/ambari-shell-1.3.0-SNAPSHOT.jar --ambari.port=49178

          Show
          keyki Krisztian Horvath added a comment - The patch contains module re-structures as well as advised, so this is how it looks like: ambari-client/groovy-client ambari-client/python-client and a new module have been added to the top level: ambari-shell After compiling the project, the shell is ready to use, java -jar ambari-shell/target/ambari-shell-1.3.0-SNAPSHOT.jar --ambari.server=localhost --ambari.port=8080 --ambari.user=admin --ambari.password=admin --ambari options can be omitted if they are the default values otherwise you only need to specify the difference, e.g just the port is different java -jar ambari-shell/target/ambari-shell-1.3.0-SNAPSHOT.jar --ambari.port=49178
          Hide
          matyix Janos Matyas added a comment -

          Please find attached a quick startup guide/documentation for the shell.

          Show
          matyix Janos Matyas added a comment - Please find attached a quick startup guide/documentation for the shell.
          Hide
          u39kun Yusaku Sako added a comment -

          Thanks all.
          This is a great feature to add to Ambari and am glad that you decided to open source this and put it in Ambari proper.
          I've added my comments to ReviewBoard.

          Show
          u39kun Yusaku Sako added a comment - Thanks all. This is a great feature to add to Ambari and am glad that you decided to open source this and put it in Ambari proper. I've added my comments to ReviewBoard.
          Hide
          keyki Krisztian Horvath added a comment -

          Added a second diff and rebased its changes, so it is not depending on the first one.

          Show
          keyki Krisztian Horvath added a comment - Added a second diff and rebased its changes, so it is not depending on the first one.
          Hide
          keyki Krisztian Horvath added a comment -

          In the meanwhile we improved the usage of the shell.

          Show
          keyki Krisztian Horvath added a comment - In the meanwhile we improved the usage of the shell.
          Hide
          keyki Krisztian Horvath added a comment -

          connection improvements

          Show
          keyki Krisztian Horvath added a comment - connection improvements
          Hide
          u39kun Yusaku Sako added a comment -

          Rat check passes and build is successful for all components.
          +1 for the patch.

          Show
          u39kun Yusaku Sako added a comment - Rat check passes and build is successful for all components. +1 for the patch.
          Hide
          u39kun Yusaku Sako added a comment -

          Committed to trunk.

          Show
          u39kun Yusaku Sako added a comment - Committed to trunk.
          Hide
          keyki Krisztian Horvath added a comment -

          Thanks Yusaku,

          How should we proceed further? We already have some awesome new features and improvements. Should we create a new JIRA issue for each and submit patches or just create one issue and put everything there?

          Show
          keyki Krisztian Horvath added a comment - Thanks Yusaku, How should we proceed further? We already have some awesome new features and improvements. Should we create a new JIRA issue for each and submit patches or just create one issue and put everything there?
          Hide
          u39kun Yusaku Sako added a comment -

          Krisztian Horvath
          You can create a JIRA for all the new features up to this point.

          Show
          u39kun Yusaku Sako added a comment - Krisztian Horvath You can create a JIRA for all the new features up to this point.

            People

            • Assignee:
              matyix Janos Matyas
              Reporter:
              lalyos Lajos Papp
            • Votes:
              2 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development