Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.10.0
    • Fix Version/s: 0.10.0
    • Component/s: Catalog, Storage
    • Labels:
      None

      Description

      See the title.

      Caused by: com.google.protobuf.ServiceException: java.lang.NullPointerException
      	at org.apache.tajo.catalog.CatalogServer$CatalogProtocolHandler.getTableDesc(CatalogServer.java:537)
      	at org.apache.tajo.catalog.AbstractCatalogClient$13.call(AbstractCatalogClient.java:287)
      	at org.apache.tajo.catalog.AbstractCatalogClient$13.call(AbstractCatalogClient.java:280)
      	at org.apache.tajo.rpc.ServerCallable.withRetries(ServerCallable.java:94)
      	... 43 more
      Caused by: java.lang.NullPointerException
      	at org.apache.tajo.catalog.proto.CatalogProtos$TableProto$Builder.setStoreType(CatalogProtos.java:3692)
      	at org.apache.tajo.catalog.store.AbstractDBStore.getTable(AbstractDBStore.java:1413)
      	at org.apache.tajo.catalog.CatalogServer$CatalogProtocolHandler.getTableDesc(CatalogServer.java:528)
      	... 46 more
      

        Issue Links

          Activity

          Hide
          githubbot ASF GitHub Bot added a comment -

          GitHub user jinossy opened a pull request:

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

          TAJO-1304: Can not found TextFile in catalog.

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

          $ git pull https://github.com/jinossy/tajo TAJO-1304

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

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


          commit ffe00d0f0e065649a40e9ba935b03a1b768bcee5
          Author: jhkim <jhkim@apache.org>
          Date: 2015-01-14T02:18:04Z

          TAJO-1304: Can not found TextFile in catalog.


          Show
          githubbot ASF GitHub Bot added a comment - GitHub user jinossy opened a pull request: https://github.com/apache/tajo/pull/349 TAJO-1304 : Can not found TextFile in catalog. You can merge this pull request into a Git repository by running: $ git pull https://github.com/jinossy/tajo TAJO-1304 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/tajo/pull/349.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 #349 commit ffe00d0f0e065649a40e9ba935b03a1b768bcee5 Author: jhkim <jhkim@apache.org> Date: 2015-01-14T02:18:04Z TAJO-1304 : Can not found TextFile in catalog.
          Hide
          githubbot ASF GitHub Bot added a comment -

          Github user hyunsik commented on the pull request:

          https://github.com/apache/tajo/pull/349#issuecomment-70027693

          +1

          The patch looks good to me.

          Show
          githubbot ASF GitHub Bot added a comment - Github user hyunsik commented on the pull request: https://github.com/apache/tajo/pull/349#issuecomment-70027693 +1 The patch looks good to me.
          Hide
          githubbot ASF GitHub Bot added a comment -

          Github user asfgit closed the pull request at:

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

          Show
          githubbot ASF GitHub Bot added a comment - Github user asfgit closed the pull request at: https://github.com/apache/tajo/pull/349
          Hide
          jhkim Jinho Kim added a comment -

          committed it.
          Thanks!

          Show
          jhkim Jinho Kim added a comment - committed it. Thanks!
          Hide
          hudson Hudson added a comment -

          FAILURE: Integrated in Tajo-master-CODEGEN-build #194 (See https://builds.apache.org/job/Tajo-master-CODEGEN-build/194/)
          TAJO-1304: Can not found TextFile in catalog. (jinho) (jhkim: rev 1bf71f6f5b2b4dae01ed72c33e2c910804d4071f)

          • tajo-storage/tajo-storage-hdfs/src/main/java/org/apache/tajo/storage/CSVFile.java
          • tajo-core/src/test/java/org/apache/tajo/engine/query/TestCTASQuery.java
          • CHANGES
          • tajo-storage/tajo-storage-common/src/main/resources/storage-default.xml
          • tajo-core/src/test/resources/queries/TestCTASQuery/CtasWithTextFile.sql
          • tajo-storage/tajo-storage-hdfs/src/main/java/org/apache/tajo/storage/text/DelimitedTextFile.java
          • tajo-storage/tajo-storage-hdfs/src/main/java/org/apache/tajo/storage/fragment/FileFragment.java
          • tajo-catalog/tajo-catalog-server/src/main/java/org/apache/tajo/catalog/store/MemStore.java
          • tajo-storage/tajo-storage-hdfs/src/test/resources/storage-default.xml
          • tajo-catalog/tajo-catalog-server/src/main/java/org/apache/tajo/catalog/store/AbstractDBStore.java
          • tajo-core/src/test/resources/queries/TestCTASQuery/testCtasWithTextFile.sql
          • tajo-storage/tajo-storage-hbase/src/main/java/org/apache/tajo/storage/hbase/HBaseFragment.java
          • tajo-catalog/tajo-catalog-common/src/main/java/org/apache/tajo/catalog/CatalogUtil.java
          • tajo-client/src/main/java/org/apache/tajo/cli/tsql/commands/DescTableCommand.java
          • tajo-core/src/test/resources/results/TestCTASQuery/testCtasWithTextFile.result
          • tajo-storage/tajo-storage-common/src/main/java/org/apache/tajo/storage/StorageManager.java
          Show
          hudson Hudson added a comment - FAILURE: Integrated in Tajo-master-CODEGEN-build #194 (See https://builds.apache.org/job/Tajo-master-CODEGEN-build/194/ ) TAJO-1304 : Can not found TextFile in catalog. (jinho) (jhkim: rev 1bf71f6f5b2b4dae01ed72c33e2c910804d4071f) tajo-storage/tajo-storage-hdfs/src/main/java/org/apache/tajo/storage/CSVFile.java tajo-core/src/test/java/org/apache/tajo/engine/query/TestCTASQuery.java CHANGES tajo-storage/tajo-storage-common/src/main/resources/storage-default.xml tajo-core/src/test/resources/queries/TestCTASQuery/CtasWithTextFile.sql tajo-storage/tajo-storage-hdfs/src/main/java/org/apache/tajo/storage/text/DelimitedTextFile.java tajo-storage/tajo-storage-hdfs/src/main/java/org/apache/tajo/storage/fragment/FileFragment.java tajo-catalog/tajo-catalog-server/src/main/java/org/apache/tajo/catalog/store/MemStore.java tajo-storage/tajo-storage-hdfs/src/test/resources/storage-default.xml tajo-catalog/tajo-catalog-server/src/main/java/org/apache/tajo/catalog/store/AbstractDBStore.java tajo-core/src/test/resources/queries/TestCTASQuery/testCtasWithTextFile.sql tajo-storage/tajo-storage-hbase/src/main/java/org/apache/tajo/storage/hbase/HBaseFragment.java tajo-catalog/tajo-catalog-common/src/main/java/org/apache/tajo/catalog/CatalogUtil.java tajo-client/src/main/java/org/apache/tajo/cli/tsql/commands/DescTableCommand.java tajo-core/src/test/resources/results/TestCTASQuery/testCtasWithTextFile.result tajo-storage/tajo-storage-common/src/main/java/org/apache/tajo/storage/StorageManager.java
          Hide
          hudson Hudson added a comment -

          ABORTED: Integrated in Tajo-master-build #555 (See https://builds.apache.org/job/Tajo-master-build/555/)
          TAJO-1304: Can not found TextFile in catalog. (jinho) (jhkim: rev 1bf71f6f5b2b4dae01ed72c33e2c910804d4071f)

          • tajo-core/src/test/resources/queries/TestCTASQuery/testCtasWithTextFile.sql
          • tajo-catalog/tajo-catalog-server/src/main/java/org/apache/tajo/catalog/store/MemStore.java
          • tajo-catalog/tajo-catalog-common/src/main/java/org/apache/tajo/catalog/CatalogUtil.java
          • tajo-core/src/test/resources/queries/TestCTASQuery/CtasWithTextFile.sql
          • tajo-storage/tajo-storage-hdfs/src/main/java/org/apache/tajo/storage/text/DelimitedTextFile.java
          • tajo-storage/tajo-storage-hdfs/src/main/java/org/apache/tajo/storage/fragment/FileFragment.java
          • tajo-catalog/tajo-catalog-server/src/main/java/org/apache/tajo/catalog/store/AbstractDBStore.java
          • tajo-client/src/main/java/org/apache/tajo/cli/tsql/commands/DescTableCommand.java
          • tajo-core/src/test/java/org/apache/tajo/engine/query/TestCTASQuery.java
          • CHANGES
          • tajo-storage/tajo-storage-hbase/src/main/java/org/apache/tajo/storage/hbase/HBaseFragment.java
          • tajo-storage/tajo-storage-hdfs/src/main/java/org/apache/tajo/storage/CSVFile.java
          • tajo-storage/tajo-storage-common/src/main/java/org/apache/tajo/storage/StorageManager.java
          • tajo-storage/tajo-storage-common/src/main/resources/storage-default.xml
          • tajo-storage/tajo-storage-hdfs/src/test/resources/storage-default.xml
          • tajo-core/src/test/resources/results/TestCTASQuery/testCtasWithTextFile.result
          Show
          hudson Hudson added a comment - ABORTED: Integrated in Tajo-master-build #555 (See https://builds.apache.org/job/Tajo-master-build/555/ ) TAJO-1304 : Can not found TextFile in catalog. (jinho) (jhkim: rev 1bf71f6f5b2b4dae01ed72c33e2c910804d4071f) tajo-core/src/test/resources/queries/TestCTASQuery/testCtasWithTextFile.sql tajo-catalog/tajo-catalog-server/src/main/java/org/apache/tajo/catalog/store/MemStore.java tajo-catalog/tajo-catalog-common/src/main/java/org/apache/tajo/catalog/CatalogUtil.java tajo-core/src/test/resources/queries/TestCTASQuery/CtasWithTextFile.sql tajo-storage/tajo-storage-hdfs/src/main/java/org/apache/tajo/storage/text/DelimitedTextFile.java tajo-storage/tajo-storage-hdfs/src/main/java/org/apache/tajo/storage/fragment/FileFragment.java tajo-catalog/tajo-catalog-server/src/main/java/org/apache/tajo/catalog/store/AbstractDBStore.java tajo-client/src/main/java/org/apache/tajo/cli/tsql/commands/DescTableCommand.java tajo-core/src/test/java/org/apache/tajo/engine/query/TestCTASQuery.java CHANGES tajo-storage/tajo-storage-hbase/src/main/java/org/apache/tajo/storage/hbase/HBaseFragment.java tajo-storage/tajo-storage-hdfs/src/main/java/org/apache/tajo/storage/CSVFile.java tajo-storage/tajo-storage-common/src/main/java/org/apache/tajo/storage/StorageManager.java tajo-storage/tajo-storage-common/src/main/resources/storage-default.xml tajo-storage/tajo-storage-hdfs/src/test/resources/storage-default.xml tajo-core/src/test/resources/results/TestCTASQuery/testCtasWithTextFile.result

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development