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

querymasters directory not found in single node setup

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 0.2-incubating
    • Fix Version/s: 0.8.0
    • Labels:
      None
    • Environment:

      Amazon linux

      Description

      Hi guys Two bugs I see one I have a hadoop path added still give error :

      starting master, logging to /home/ec2-user/tajo-0.2.0-SNAPSHOT/bin/../logs/tajo-ec2-user-master-ip-xxx-xx-xx-xx.out
      localhost: starting worker, logging to /home/ec2-user/tajo-0.2.0-SNAPSHOT/bin/../logs/tajo-ec2-user-worker-ip-xxx-xx-xx-xx.out
      localhost: Cannot find hadoop installation: $HADOOP_HOME must be set or hadoop must be in the path
      cat: /home/ec2-user/tajo-0.2.0-SNAPSHOT/bin/../conf/querymasters: No such file or directory

      But still $TAJO_HOME/bin/tsql works and the create table loading data etc... but once I query.
      tajo> select * from table1 where id > 2;
      Fail starting QueryMaster.

      1. TAJO-293.patch
        1 kB
        Hyunsik Choi

        Activity

        Hide
        hyunsik Hyunsik Choi added a comment -

        Thank you for your bug report! This is a bug. I've attached the patch that fixes this bug.

        In addition, in order to set up HOME_HOME, you should add the variable to conf/tajo-env.sh file. The 'getting started' document is outdated. So, I've updated the wiki page (https://wiki.apache.org/tajo/GettingStarted#Configuration).

        Show
        hyunsik Hyunsik Choi added a comment - Thank you for your bug report! This is a bug. I've attached the patch that fixes this bug. In addition, in order to set up HOME_HOME, you should add the variable to conf/tajo-env.sh file. The 'getting started' document is outdated. So, I've updated the wiki page ( https://wiki.apache.org/tajo/GettingStarted#Configuration ).
        Hide
        jihoonson Jihoon Son added a comment -

        +1.
        This patch looks good to me.
        I tested it with running TPC-H Q1.

        Show
        jihoonson Jihoon Son added a comment - +1. This patch looks good to me. I tested it with running TPC-H Q1.
        Hide
        hyunsik Hyunsik Choi added a comment -

        I've committed it. Thank you for the review and report.

        Show
        hyunsik Hyunsik Choi added a comment - I've committed it. Thank you for the review and report.
        Hide
        hudson Hudson added a comment -

        SUCCESS: Integrated in Tajo-trunk-postcommit #542 (See https://builds.apache.org/job/Tajo-trunk-postcommit/542/)
        TAJO-293: querymasters directory not found in single node setup. (hyunsik) (hyunsik: https://git-wip-us.apache.org/repos/asf?p=incubator-tajo.git&a=commit&h=99959420a2362cc7c42a9c8ed7ea294541793bec)

        • CHANGES.txt
        • tajo-dist/src/main/bin/stop-tajo.sh
        • tajo-dist/src/main/bin/start-tajo.sh
        Show
        hudson Hudson added a comment - SUCCESS: Integrated in Tajo-trunk-postcommit #542 (See https://builds.apache.org/job/Tajo-trunk-postcommit/542/ ) TAJO-293 : querymasters directory not found in single node setup. (hyunsik) (hyunsik: https://git-wip-us.apache.org/repos/asf?p=incubator-tajo.git&a=commit&h=99959420a2362cc7c42a9c8ed7ea294541793bec ) CHANGES.txt tajo-dist/src/main/bin/stop-tajo.sh tajo-dist/src/main/bin/start-tajo.sh
        Hide
        vipulneo Vikram added a comment -

        Thanks Guys for the reply the patch fixed the issue.

        Show
        vipulneo Vikram added a comment - Thanks Guys for the reply the patch fixed the issue.

          People

          • Assignee:
            hyunsik Hyunsik Choi
            Reporter:
            vipulneo Vikram
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - 12h
              12h
              Remaining:
              Remaining Estimate - 12h
              12h
              Logged:
              Time Spent - Not Specified
              Not Specified

                Development