Return-Path: X-Original-To: apmail-tajo-dev-archive@minotaur.apache.org Delivered-To: apmail-tajo-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1F51A105B5 for ; Thu, 9 Jan 2014 14:54:39 +0000 (UTC) Received: (qmail 15600 invoked by uid 500); 9 Jan 2014 14:54:37 -0000 Delivered-To: apmail-tajo-dev-archive@tajo.apache.org Received: (qmail 15515 invoked by uid 500); 9 Jan 2014 14:54:33 -0000 Mailing-List: contact dev-help@tajo.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@tajo.incubator.apache.org Delivered-To: mailing list dev@tajo.incubator.apache.org Received: (qmail 15505 invoked by uid 99); 9 Jan 2014 14:54:33 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Jan 2014 14:54:33 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of deinspanjer@gmail.com designates 209.85.216.43 as permitted sender) Received: from [209.85.216.43] (HELO mail-qa0-f43.google.com) (209.85.216.43) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Jan 2014 14:54:26 +0000 Received: by mail-qa0-f43.google.com with SMTP id k15so3047107qaq.30 for ; Thu, 09 Jan 2014 06:54:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=s7oIAKcpwWmxjhIOZ2zEMLTovdpMRsK463nqEyFDUks=; b=NYB4td7FV3IGuVkYtRXFaJ07xzlpHlFnc7OQfryzNHmacDe5gELrFFavY+UeYpDvmh vzJXk4SMVztKkrJRKH9TEHqVhTT5mUwpSmtrJ90kF8ckKacU9ZDRip4mPAP6UAbB5vn6 KbTZhBREUdI+lHzY6NctnDNYbgwRXf4gLMbyF5YOeEdlUuROVk0fkxn1ZbCQC9E6+RYG bHxAzjgaJm6Y2OtX5OtWVEz8WUB2sj4LSywO7UF6KMVYJVVf/JrSEzJrrwbYOZmaldv7 A7dlcrcoFl9uLI6yZ1Cpp4LP9WnruwSG/DBi6+GG+XAzGn6S/3uQNua2gdMDpD8nMHr7 8DYg== MIME-Version: 1.0 X-Received: by 10.229.222.194 with SMTP id ih2mr8472156qcb.16.1389279245343; Thu, 09 Jan 2014 06:54:05 -0800 (PST) Received: by 10.96.96.5 with HTTP; Thu, 9 Jan 2014 06:54:05 -0800 (PST) In-Reply-To: References: Date: Thu, 9 Jan 2014 09:54:05 -0500 Message-ID: Subject: Re: Problem with CatalogServer initialization when trying to start Tajo Master from deployed package From: Daniel Einspanjer To: dev@tajo.incubator.apache.org Content-Type: multipart/alternative; boundary=001a11343aeee9a03304ef8ac795 X-Virus-Checked: Checked by ClamAV on apache.org --001a11343aeee9a03304ef8ac795 Content-Type: text/plain; charset=ISO-8859-1 I did notice the upgrade to protobuf 2.5. The hadoop I'm using for my HADOOP_HOME is the 2.2.0 Apache release. I'll poke around more to see if there might be some conflicting version somewhere. Any tips about where that might be would be appreciated. On Wed, Jan 8, 2014 at 8:45 PM, Jihoon Son wrote: > Hi, Daniel > This error seems to be occurred by the version mismatch of the protocol > buffer. > Currently, Tajo uses the protocol buffer of version 2.5.0. > Maybe you need to use Hadoop of version 2.2.0. > Would you try again with the protocol buffer of version 2.5.0? > > Thanks, > Jihoon > > > 2014/1/9 Daniel Einspanjer > > > 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:(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:(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 > > > > > > -- > Jihoon Son > > Database & Information Systems Group, > Prof. Yon Dohn Chung Lab. > Dept. of Computer Science & Engineering, > Korea University > 1, 5-ga, Anam-dong, Seongbuk-gu, > Seoul, 136-713, Republic of Korea > > Tel : +82-2-3290-3580 > E-mail : jihoonson@korea.ac.kr > --001a11343aeee9a03304ef8ac795--