tajo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Einspanjer <deinspan...@gmail.com>
Subject Problem with CatalogServer initialization when trying to start Tajo Master from deployed package
Date Wed, 08 Jan 2014 23:24:24 GMT
Pulled down the current master source, did a clean build and package.
Extracted the tarball to a fresh directory and edited tajo-env.sh to point
at JAVA_HOME and HADOOP_HOME.

When I tried to run bin/start-tajo.sh, it ran, but I found that the worker
was running but the master had immediately died.

After a bit of fiddling, I tried running the master via the command:
bin/tajo master

And the output shows that it died due to an error during the CatalogServer
initialization.  Here is a snippit of the console output:

2014-01-08 18:20:38,250 INFO  store.DerbyStore
(AbstractDBStore.java:<init>(107)) - Connected to database
(jdbc:derby:/tmp/tajo-catalog-deinspanjer/db;create=true)
2014-01-08 18:20:38,511 INFO  store.DerbyStore
(AbstractDBStore.java:<init>(115)) - The base tables of CatalogServer are
created.
2014-01-08 18:20:38,528 INFO  store.DerbyStore
(DerbyStore.java:createBaseTable(82)) - Table 'META is created.
2014-01-08 18:20:38,565 INFO  store.DerbyStore
(DerbyStore.java:createBaseTable(114)) - Table 'TABLES' is created.
2014-01-08 18:20:38,606 INFO  store.DerbyStore
(DerbyStore.java:createBaseTable(140)) - Table 'COLUMNS is created.
2014-01-08 18:20:38,626 INFO  store.DerbyStore
(DerbyStore.java:createBaseTable(169)) - Table 'OPTIONS is created.
2014-01-08 18:20:38,658 INFO  store.DerbyStore
(DerbyStore.java:createBaseTable(203)) - Table 'INDEXES' is created.
2014-01-08 18:20:38,658 INFO  store.DerbyStore
(DerbyStore.java:createBaseTable(223)) - Table 'STATS' is created.
2014-01-08 18:20:38,658 INFO  store.DerbyStore
(DerbyStore.java:createBaseTable(243)) - Table 'PARTITIONS' is created.
2014-01-08 18:20:38,716 ERROR catalog.CatalogServer
(CatalogServer.java:init(116)) - CatalogServer initialization failed
java.lang.UnsupportedOperationException: This is supposed to be overridden
by subclasses.
    at
com.google.protobuf.GeneratedMessage.getUnknownFields(GeneratedMessage.java:180)
    at
org.apache.tajo.common.TajoDataTypes$DataType.equals(TajoDataTypes.java:436)
    at java.util.AbstractList.equals(AbstractList.java:523)
    at java.util.Collections$UnmodifiableList.equals(Collections.java:1208)
    at
org.apache.tajo.catalog.CatalogServer$CatalogProtocolHandler.findFunction(CatalogServer.java:456)
    at
org.apache.tajo.catalog.CatalogServer$CatalogProtocolHandler.findFunction(CatalogServer.java:465)
    at
org.apache.tajo.catalog.CatalogServer$CatalogProtocolHandler.createFunction(CatalogServer.java:474)
    at
org.apache.tajo.catalog.CatalogServer.initBuiltinFunctions(CatalogServer.java:144)
    at org.apache.tajo.catalog.CatalogServer.init(CatalogServer.java:114)
    at
org.apache.hadoop.service.CompositeService.serviceInit(CompositeService.java:108)
    at
org.apache.hadoop.service.AbstractService.init(AbstractService.java:163)
    at org.apache.tajo.master.TajoMaster.init(TajoMaster.java:183)
    at org.apache.tajo.master.TajoMaster.main(TajoMaster.java:1053)
2014-01-08 18:20:38,717 INFO  service.AbstractService
(AbstractService.java:noteFailure(272)) - Service
org.apache.tajo.master.TajoMaster failed in state INITED; cause:
org.apache.tajo.catalog.exception.CatalogException:
java.lang.UnsupportedOperationException: This is supposed to be overridden
by subclasses.
org.apache.tajo.catalog.exception.CatalogException:
java.lang.UnsupportedOperationException: This is supposed to be overridden
by subclasses.
    at org.apache.tajo.catalog.CatalogServer.init(CatalogServer.java:117)
    at
org.apache.hadoop.service.CompositeService.serviceInit(CompositeService.java:108)
    at
org.apache.hadoop.service.AbstractService.init(AbstractService.java:163)
    at org.apache.tajo.master.TajoMaster.init(TajoMaster.java:183)
    at org.apache.tajo.master.TajoMaster.main(TajoMaster.java:1053)
Caused by: java.lang.UnsupportedOperationException: This is supposed to be
overridden by subclasses.
    at
com.google.protobuf.GeneratedMessage.getUnknownFields(GeneratedMessage.java:180)
    at
org.apache.tajo.common.TajoDataTypes$DataType.equals(TajoDataTypes.java:436)
    at java.util.AbstractList.equals(AbstractList.java:523)
    at java.util.Collections$UnmodifiableList.equals(Collections.java:1208)
    at
org.apache.tajo.catalog.CatalogServer$CatalogProtocolHandler.findFunction(CatalogServer.java:456)
    at
org.apache.tajo.catalog.CatalogServer$CatalogProtocolHandler.findFunction(CatalogServer.java:465)
    at
org.apache.tajo.catalog.CatalogServer$CatalogProtocolHandler.createFunction(CatalogServer.java:474)
    at
org.apache.tajo.catalog.CatalogServer.initBuiltinFunctions(CatalogServer.java:144)
    at org.apache.tajo.catalog.CatalogServer.init(CatalogServer.java:114)
    ... 4 more

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message