Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.11.0
    • Component/s: TajoMaster
    • Labels:
      None

      Description

      See the title.

      2015-09-07 18:25:50,054 INFO org.apache.hadoop.yarn.util.AbstractLivelinessMonitor: NodeLivelinessMonitor thread interrupted
      2015-09-07 18:25:50,054 INFO org.apache.tajo.master.TajoMaster: Tajo Master main thread exiting
      2015-09-07 18:25:50,054 FATAL org.apache.tajo.master.TajoMaster: Error starting TajoMaster
      java.lang.RuntimeException: java.lang.NoClassDefFoundError: org/apache/tajo/parser/sql/SQLParserBaseVisitor
              at org.apache.tajo.master.GlobalEngine.start(GlobalEngine.java:100)
              at org.apache.hadoop.service.CompositeService.serviceStart(CompositeService.java:120)
              at org.apache.tajo.master.TajoMaster.serviceStart(TajoMaster.java:327)
              at org.apache.hadoop.service.AbstractService.start(AbstractService.java:193)
              at org.apache.tajo.master.TajoMaster.main(TajoMaster.java:562)
      Caused by: java.lang.NoClassDefFoundError: org/apache/tajo/parser/sql/SQLParserBaseVisitor
              at java.lang.ClassLoader.defineClass1(Native Method)
              at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
              at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
              at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
              at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
              at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
              at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
              at java.security.AccessController.doPrivileged(Native Method)
              at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
              at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
              at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
              at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
              at org.apache.tajo.master.GlobalEngine.start(GlobalEngine.java:91)
              ... 4 more
      

        Activity

        Hide
        githubbot ASF GitHub Bot added a comment -

        GitHub user hyunsik opened a pull request:

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

        TAJO-1823: Can't start TajoMaster.

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

        $ git pull https://github.com/hyunsik/tajo TAJO-1823

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

        https://github.com/apache/tajo/pull/740.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 #740


        commit a15ba1c77918da3f7798b917a8f3fa9765a852f0
        Author: Hyunsik Choi <hyunsik@apache.org>
        Date: 2015-09-07T09:44:53Z

        TAJO-1823: Can't start TajoMaster.


        Show
        githubbot ASF GitHub Bot added a comment - GitHub user hyunsik opened a pull request: https://github.com/apache/tajo/pull/740 TAJO-1823 : Can't start TajoMaster. You can merge this pull request into a Git repository by running: $ git pull https://github.com/hyunsik/tajo TAJO-1823 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/tajo/pull/740.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 #740 commit a15ba1c77918da3f7798b917a8f3fa9765a852f0 Author: Hyunsik Choi <hyunsik@apache.org> Date: 2015-09-07T09:44:53Z TAJO-1823 : Can't start TajoMaster.
        Hide
        githubbot ASF GitHub Bot added a comment -

        Github user jinossy commented on the pull request:

        https://github.com/apache/tajo/pull/740#issuecomment-138281377

        Thanks for your quick fix but I can't compile on IDE
        The problem looks like that incorrect generated source path and module order.

        Could you create the package directory ?
        ```
        tajo-sql-parser/src/main/antlr4/org.apache.tajo.parser.sql
        ```

        Please change module order as follows :
        ```
        ...
        <module>tajo-algebra</module>
        <module>tajo-sql-parser</module>
        ...
        ```

        Show
        githubbot ASF GitHub Bot added a comment - Github user jinossy commented on the pull request: https://github.com/apache/tajo/pull/740#issuecomment-138281377 Thanks for your quick fix but I can't compile on IDE The problem looks like that incorrect generated source path and module order. Could you create the package directory ? ``` tajo-sql-parser/src/main/antlr4/org.apache.tajo.parser.sql ``` Please change module order as follows : ``` ... <module>tajo-algebra</module> <module>tajo-sql-parser</module> ... ```
        Hide
        githubbot ASF GitHub Bot added a comment -

        Github user hyunsik commented on the pull request:

        https://github.com/apache/tajo/pull/740#issuecomment-138281677

        Thank you for the comment. I'll check out them.

        Show
        githubbot ASF GitHub Bot added a comment - Github user hyunsik commented on the pull request: https://github.com/apache/tajo/pull/740#issuecomment-138281677 Thank you for the comment. I'll check out them.
        Hide
        githubbot ASF GitHub Bot added a comment -

        Github user hyunsik commented on the pull request:

        https://github.com/apache/tajo/pull/740#issuecomment-138285780

        I fixed the wrong package name and rebased the patch.

        Show
        githubbot ASF GitHub Bot added a comment - Github user hyunsik commented on the pull request: https://github.com/apache/tajo/pull/740#issuecomment-138285780 I fixed the wrong package name and rebased the patch.
        Hide
        githubbot ASF GitHub Bot added a comment -

        Github user jinossy commented on the pull request:

        https://github.com/apache/tajo/pull/740#issuecomment-138305494

        +1

        Show
        githubbot ASF GitHub Bot added a comment - Github user jinossy commented on the pull request: https://github.com/apache/tajo/pull/740#issuecomment-138305494 +1
        Hide
        githubbot ASF GitHub Bot added a comment -

        Github user asfgit closed the pull request at:

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

        Show
        githubbot ASF GitHub Bot added a comment - Github user asfgit closed the pull request at: https://github.com/apache/tajo/pull/740
        Hide
        hudson Hudson added a comment -

        FAILURE: Integrated in Tajo-master-CODEGEN-build #484 (See https://builds.apache.org/job/Tajo-master-CODEGEN-build/484/)
        TAJO-1823: Can't start TajoMaster. (hyunsik: rev b1d08f8961f6d9fb40b7b7993230a8c6e85127f9)

        • CHANGES
        • tajo-dist/pom.xml
        • tajo-sql-parser/src/main/antlr4/org/apache/tajo/parser/sql/SQLParser.g4
        • tajo-sql-parser/src/main/antlr4/org/apache/tajo/parser/sql/SQLLexer.g4
        • tajo-sql-parser/src/main/antlr4/org.apache.tajo.parser.sql/SQLLexer.g4
        • tajo-sql-parser/src/main/antlr4/org.apache.tajo.parser.sql/SQLParser.g4
        Show
        hudson Hudson added a comment - FAILURE: Integrated in Tajo-master-CODEGEN-build #484 (See https://builds.apache.org/job/Tajo-master-CODEGEN-build/484/ ) TAJO-1823 : Can't start TajoMaster. (hyunsik: rev b1d08f8961f6d9fb40b7b7993230a8c6e85127f9) CHANGES tajo-dist/pom.xml tajo-sql-parser/src/main/antlr4/org/apache/tajo/parser/sql/SQLParser.g4 tajo-sql-parser/src/main/antlr4/org/apache/tajo/parser/sql/SQLLexer.g4 tajo-sql-parser/src/main/antlr4/org.apache.tajo.parser.sql/SQLLexer.g4 tajo-sql-parser/src/main/antlr4/org.apache.tajo.parser.sql/SQLParser.g4
        Hide
        hyunsik Hyunsik Choi added a comment -

        Thanks for the quick review. I've just committed this patch to master and 0.11.0 branch.

        Show
        hyunsik Hyunsik Choi added a comment - Thanks for the quick review. I've just committed this patch to master and 0.11.0 branch.
        Hide
        hudson Hudson added a comment -

        SUCCESS: Integrated in Tajo-master-build #842 (See https://builds.apache.org/job/Tajo-master-build/842/)
        TAJO-1823: Can't start TajoMaster. (hyunsik: rev b1d08f8961f6d9fb40b7b7993230a8c6e85127f9)

        • tajo-dist/pom.xml
        • tajo-sql-parser/src/main/antlr4/org/apache/tajo/parser/sql/SQLParser.g4
        • CHANGES
        • tajo-sql-parser/src/main/antlr4/org.apache.tajo.parser.sql/SQLParser.g4
        • tajo-sql-parser/src/main/antlr4/org.apache.tajo.parser.sql/SQLLexer.g4
        • tajo-sql-parser/src/main/antlr4/org/apache/tajo/parser/sql/SQLLexer.g4
        Show
        hudson Hudson added a comment - SUCCESS: Integrated in Tajo-master-build #842 (See https://builds.apache.org/job/Tajo-master-build/842/ ) TAJO-1823 : Can't start TajoMaster. (hyunsik: rev b1d08f8961f6d9fb40b7b7993230a8c6e85127f9) tajo-dist/pom.xml tajo-sql-parser/src/main/antlr4/org/apache/tajo/parser/sql/SQLParser.g4 CHANGES tajo-sql-parser/src/main/antlr4/org.apache.tajo.parser.sql/SQLParser.g4 tajo-sql-parser/src/main/antlr4/org.apache.tajo.parser.sql/SQLLexer.g4 tajo-sql-parser/src/main/antlr4/org/apache/tajo/parser/sql/SQLLexer.g4
        Hide
        hudson Hudson added a comment -

        SUCCESS: Integrated in Tajo-0.11.0-build #19 (See https://builds.apache.org/job/Tajo-0.11.0-build/19/)
        TAJO-1823: Can't start TajoMaster. (hyunsik: rev 4bc94257292a05aff0c5fd7cc477e5d83e75aab8)

        • tajo-sql-parser/src/main/antlr4/org.apache.tajo.parser.sql/SQLParser.g4
        • tajo-sql-parser/src/main/antlr4/org/apache/tajo/parser/sql/SQLParser.g4
        • tajo-sql-parser/src/main/antlr4/org.apache.tajo.parser.sql/SQLLexer.g4
        • CHANGES
        • tajo-sql-parser/src/main/antlr4/org/apache/tajo/parser/sql/SQLLexer.g4
        • tajo-dist/pom.xml
        Show
        hudson Hudson added a comment - SUCCESS: Integrated in Tajo-0.11.0-build #19 (See https://builds.apache.org/job/Tajo-0.11.0-build/19/ ) TAJO-1823 : Can't start TajoMaster. (hyunsik: rev 4bc94257292a05aff0c5fd7cc477e5d83e75aab8) tajo-sql-parser/src/main/antlr4/org.apache.tajo.parser.sql/SQLParser.g4 tajo-sql-parser/src/main/antlr4/org/apache/tajo/parser/sql/SQLParser.g4 tajo-sql-parser/src/main/antlr4/org.apache.tajo.parser.sql/SQLLexer.g4 CHANGES tajo-sql-parser/src/main/antlr4/org/apache/tajo/parser/sql/SQLLexer.g4 tajo-dist/pom.xml

          People

          • Assignee:
            hyunsik Hyunsik Choi
            Reporter:
            jhkim Jinho Kim
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development