Uploaded image for project: 'Tajo'
  1. Tajo
  2. TAJO-1744

Porting bash shell scripts to Windows command shell scripts.

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.11.0
    • Component/s: conf and scripts
    • Labels:

      Description

      Currently, Tajo support only bash shell scripts(start, stop and tsql execution). So running Tajo in Windows environment is difficult.

      I wish Windows command shell scripts.

      1. tajo_cmd.pdf
        206 kB
        YeonSu Han

        Activity

        Hide
        hys9958 YeonSu Han added a comment -

        Simply, I tried Windows command shell(cmd).
        In Windows 7, 64bit, Succeeded starting master and worker using cmd.
        With Windows Hadoop lib.
        After that, Passed TPC-H query successfully.
        I will do patch it soon.

        Show
        hys9958 YeonSu Han added a comment - Simply, I tried Windows command shell(cmd). In Windows 7, 64bit, Succeeded starting master and worker using cmd. With Windows Hadoop lib. After that, Passed TPC-H query successfully. I will do patch it soon.
        Hide
        hys9958 YeonSu Han added a comment -

        I upload tajo_cmd.pdf.
        It's explain about getting started for Windows Tajo.

        Show
        hys9958 YeonSu Han added a comment - I upload tajo_cmd.pdf. It's explain about getting started for Windows Tajo.
        Hide
        githubbot ASF GitHub Bot added a comment -

        GitHub user hys9958 opened a pull request:

        https://github.com/apache/tajo/pull/693

        TAJO-1744: Porting bash shell scripts to Windows command shell scripts.

        Hi,
        I have ported to CMD the bash shell.
        And i attach pdf to explain about getting started for Windows Tajo to ticket(TAJO-1744) of Apache tajo.
        https://issues.apache.org/jira/secure/attachment/12750713/tajo_cmd.pdf

        • conf
        • tajo-env.cmd
        • bin
        • start-tajo.cmd
        • stop-tajo.cmd
        • tajo-daemon.cmd
        • tajo.cmd
        • tajo-config.cmd
        • tsql.cmd

        You can merge this pull request into a Git repository by running:

        $ git pull https://github.com/hys9958/tajo TAJO-1744

        Alternatively you can review and apply these changes as the patch at:

        https://github.com/apache/tajo/pull/693.patch

        To close this pull request, make a commit to your master/trunk branch
        with (at least) the following in the commit message:

        This closes #693


        commit a354b05ed453ff6e095616b1e75f98a2c61e8499
        Author: Yeonsu Han <hanyounsu@gmail.com>
        Date: 2015-08-16T17:13:15Z

        TAJO-1744: Porting bash shell scripts to Windows command shell scripts.


        Show
        githubbot ASF GitHub Bot added a comment - GitHub user hys9958 opened a pull request: https://github.com/apache/tajo/pull/693 TAJO-1744 : Porting bash shell scripts to Windows command shell scripts. Hi, I have ported to CMD the bash shell. And i attach pdf to explain about getting started for Windows Tajo to ticket( TAJO-1744 ) of Apache tajo. https://issues.apache.org/jira/secure/attachment/12750713/tajo_cmd.pdf conf tajo-env.cmd bin start-tajo.cmd stop-tajo.cmd tajo-daemon.cmd tajo.cmd tajo-config.cmd tsql.cmd You can merge this pull request into a Git repository by running: $ git pull https://github.com/hys9958/tajo TAJO-1744 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/tajo/pull/693.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #693 commit a354b05ed453ff6e095616b1e75f98a2c61e8499 Author: Yeonsu Han <hanyounsu@gmail.com> Date: 2015-08-16T17:13:15Z TAJO-1744 : Porting bash shell scripts to Windows command shell scripts.
        Hide
        githubbot ASF GitHub Bot added a comment -

        Github user jihoonson commented on the pull request:

        https://github.com/apache/tajo/pull/693#issuecomment-132237551

        @hys9958, thanks for your work. Would you trigger ci again?

        Show
        githubbot ASF GitHub Bot added a comment - Github user jihoonson commented on the pull request: https://github.com/apache/tajo/pull/693#issuecomment-132237551 @hys9958, thanks for your work. Would you trigger ci again?
        Hide
        githubbot ASF GitHub Bot added a comment -

        Github user hys9958 commented on the pull request:

        https://github.com/apache/tajo/pull/693#issuecomment-132425964

        @jihoonson, of couse.
        I have updated a tajo.cmd file to add some log message.
        So, May be run CI.

        Show
        githubbot ASF GitHub Bot added a comment - Github user hys9958 commented on the pull request: https://github.com/apache/tajo/pull/693#issuecomment-132425964 @jihoonson, of couse. I have updated a tajo.cmd file to add some log message. So, May be run CI.
        Hide
        githubbot ASF GitHub Bot added a comment -

        Github user dkhwangbo commented on the pull request:

        https://github.com/apache/tajo/pull/693#issuecomment-139476781

        @hys9958
        Thanks for your effort.
        I'm trying to check suitability of your work
        and some inappropriate operation is occured like below picture.
        ![capture01](https://cloud.githubusercontent.com/assets/13585249/9809541/2ef797ae-58a4-11e5-824e-b816182a06c1.PNG)
        after quit of tsql, some other word is printed.
        Please check this part.

        Show
        githubbot ASF GitHub Bot added a comment - Github user dkhwangbo commented on the pull request: https://github.com/apache/tajo/pull/693#issuecomment-139476781 @hys9958 Thanks for your effort. I'm trying to check suitability of your work and some inappropriate operation is occured like below picture. ! [capture01] ( https://cloud.githubusercontent.com/assets/13585249/9809541/2ef797ae-58a4-11e5-824e-b816182a06c1.PNG ) after quit of tsql, some other word is printed. Please check this part.
        Hide
        githubbot ASF GitHub Bot added a comment -

        Github user jihoonson commented on the pull request:

        https://github.com/apache/tajo/pull/693#issuecomment-139538741

        Honestly, it seems that this problem is not directly related to this ticket. It would be better to book at another jira, I think.

        Show
        githubbot ASF GitHub Bot added a comment - Github user jihoonson commented on the pull request: https://github.com/apache/tajo/pull/693#issuecomment-139538741 Honestly, it seems that this problem is not directly related to this ticket. It would be better to book at another jira, I think.
        Hide
        githubbot ASF GitHub Bot added a comment -

        Github user dkhwangbo commented on the pull request:

        https://github.com/apache/tajo/pull/693#issuecomment-140640077

        Testing this commit is done. I can run tajo in Windows 7 via above files.
        I also test tsql.cmd via TPC-H set in same environment. TAJO can run all query of this set.

        Show
        githubbot ASF GitHub Bot added a comment - Github user dkhwangbo commented on the pull request: https://github.com/apache/tajo/pull/693#issuecomment-140640077 Testing this commit is done. I can run tajo in Windows 7 via above files. I also test tsql.cmd via TPC-H set in same environment. TAJO can run all query of this set.
        Hide
        githubbot ASF GitHub Bot added a comment -

        Github user jihoonson commented on the pull request:

        https://github.com/apache/tajo/pull/693#issuecomment-140959617

        @dkhwangbo, thank you for your test.
        Here is my +1.
        @hys9958, thank you for your work.

        Show
        githubbot ASF GitHub Bot added a comment - Github user jihoonson commented on the pull request: https://github.com/apache/tajo/pull/693#issuecomment-140959617 @dkhwangbo, thank you for your test. Here is my +1. @hys9958, thank you for your work.
        Hide
        githubbot ASF GitHub Bot added a comment -

        Github user asfgit closed the pull request at:

        https://github.com/apache/tajo/pull/693

        Show
        githubbot ASF GitHub Bot added a comment - Github user asfgit closed the pull request at: https://github.com/apache/tajo/pull/693
        Hide
        jihoonson Jihoon Son added a comment -

        Thanks for your contribution.
        This patch is committed to master and 0.11.

        Show
        jihoonson Jihoon Son added a comment - Thanks for your contribution. This patch is committed to master and 0.11.
        Hide
        hudson Hudson added a comment -

        FAILURE: Integrated in Tajo-master-CODEGEN-build #515 (See https://builds.apache.org/job/Tajo-master-CODEGEN-build/515/)
        TAJO-1744: Porting bash shell scripts to Windows command shell scripts. (jihoonson: rev 616414a519c6c5368f0aa262411c35404c1d0df8)

        • tajo-dist/src/main/bin/tajo.cmd
        • tajo-dist/src/main/bin/tajo-daemon.cmd
        • tajo-dist/src/main/bin/tajo-config.cmd
        • tajo-dist/src/main/bin/start-tajo.cmd
        • tajo-dist/src/main/bin/stop-tajo.cmd
        • tajo-dist/src/main/conf/tajo-env.cmd
        • CHANGES
        • tajo-dist/src/main/bin/tsql.cmd
        Show
        hudson Hudson added a comment - FAILURE: Integrated in Tajo-master-CODEGEN-build #515 (See https://builds.apache.org/job/Tajo-master-CODEGEN-build/515/ ) TAJO-1744 : Porting bash shell scripts to Windows command shell scripts. (jihoonson: rev 616414a519c6c5368f0aa262411c35404c1d0df8) tajo-dist/src/main/bin/tajo.cmd tajo-dist/src/main/bin/tajo-daemon.cmd tajo-dist/src/main/bin/tajo-config.cmd tajo-dist/src/main/bin/start-tajo.cmd tajo-dist/src/main/bin/stop-tajo.cmd tajo-dist/src/main/conf/tajo-env.cmd CHANGES tajo-dist/src/main/bin/tsql.cmd
        Hide
        hudson Hudson added a comment -

        ABORTED: Integrated in Tajo-master-build #873 (See https://builds.apache.org/job/Tajo-master-build/873/)
        TAJO-1744: Porting bash shell scripts to Windows command shell scripts. (jihoonson: rev 616414a519c6c5368f0aa262411c35404c1d0df8)

        • tajo-dist/src/main/bin/tajo-daemon.cmd
        • CHANGES
        • tajo-dist/src/main/bin/tajo.cmd
        • tajo-dist/src/main/bin/tajo-config.cmd
        • tajo-dist/src/main/conf/tajo-env.cmd
        • tajo-dist/src/main/bin/stop-tajo.cmd
        • tajo-dist/src/main/bin/start-tajo.cmd
        • tajo-dist/src/main/bin/tsql.cmd
        Show
        hudson Hudson added a comment - ABORTED: Integrated in Tajo-master-build #873 (See https://builds.apache.org/job/Tajo-master-build/873/ ) TAJO-1744 : Porting bash shell scripts to Windows command shell scripts. (jihoonson: rev 616414a519c6c5368f0aa262411c35404c1d0df8) tajo-dist/src/main/bin/tajo-daemon.cmd CHANGES tajo-dist/src/main/bin/tajo.cmd tajo-dist/src/main/bin/tajo-config.cmd tajo-dist/src/main/conf/tajo-env.cmd tajo-dist/src/main/bin/stop-tajo.cmd tajo-dist/src/main/bin/start-tajo.cmd tajo-dist/src/main/bin/tsql.cmd
        Hide
        hudson Hudson added a comment -

        ABORTED: Integrated in Tajo-0.11.0-build #50 (See https://builds.apache.org/job/Tajo-0.11.0-build/50/)
        TAJO-1744: Porting bash shell scripts to Windows command shell scripts. (jihoonson: rev 69e059e3bf78852cfc40a70566aec703691ec557)

        • tajo-dist/src/main/bin/tsql.cmd
        • tajo-dist/src/main/bin/tajo.cmd
        • tajo-dist/src/main/bin/tajo-config.cmd
        • tajo-dist/src/main/conf/tajo-env.cmd
        • tajo-dist/src/main/bin/start-tajo.cmd
        • CHANGES
        • tajo-dist/src/main/bin/stop-tajo.cmd
        • tajo-dist/src/main/bin/tajo-daemon.cmd
        Show
        hudson Hudson added a comment - ABORTED: Integrated in Tajo-0.11.0-build #50 (See https://builds.apache.org/job/Tajo-0.11.0-build/50/ ) TAJO-1744 : Porting bash shell scripts to Windows command shell scripts. (jihoonson: rev 69e059e3bf78852cfc40a70566aec703691ec557) tajo-dist/src/main/bin/tsql.cmd tajo-dist/src/main/bin/tajo.cmd tajo-dist/src/main/bin/tajo-config.cmd tajo-dist/src/main/conf/tajo-env.cmd tajo-dist/src/main/bin/start-tajo.cmd CHANGES tajo-dist/src/main/bin/stop-tajo.cmd tajo-dist/src/main/bin/tajo-daemon.cmd

          People

          • Assignee:
            hys9958 YeonSu Han
            Reporter:
            hys9958 YeonSu Han
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development