From core-dev-return-54337-apmail-hadoop-core-dev-archive=hadoop.apache.org@hadoop.apache.org Sun Nov 02 23:29:11 2008 Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 34808 invoked from network); 2 Nov 2008 23:29:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 Nov 2008 23:29:11 -0000 Received: (qmail 29977 invoked by uid 500); 2 Nov 2008 23:29:11 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 29944 invoked by uid 500); 2 Nov 2008 23:29:11 -0000 Mailing-List: contact core-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: core-dev@hadoop.apache.org Delivered-To: mailing list core-dev@hadoop.apache.org Received: (qmail 29933 invoked by uid 99); 2 Nov 2008 23:29:11 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Nov 2008 15:29:11 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Nov 2008 23:28:02 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 29F56234C265 for ; Sun, 2 Nov 2008 15:28:44 -0800 (PST) Message-ID: <1353183569.1225668524157.JavaMail.jira@brutus> Date: Sun, 2 Nov 2008 15:28:44 -0800 (PST) From: "Joey Pan (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Updated: (HADOOP-4574) Support of change the metadata of a hive table In-Reply-To: <188716182.1225666604211.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HADOOP-4574?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joey Pan updated HADOOP-4574: ----------------------------- Verified the cause of the issue, after drop tables and recreate them , the issue was gone. the issue can be fixed if in : hive-default.xml "hive.metastore.warehouse.dir" can be indpendent of the hdfs url and uses the default hdfs url on the node running hadoop. > Support of change the metadata of a hive table > ---------------------------------------------- > > Key: HADOOP-4574 > URL: https://issues.apache.org/jira/browse/HADOOP-4574 > Project: Hadoop Core > Issue Type: Bug > Components: contrib/hive > Reporter: Zheng Shao > > From Joey Pan [jpan@rocketfuelinc.com] > The issue occurs when try to query table when restarting ec2 cluster (will get diff server ip), currently the warehouse dir is hardcoded as some internal ip. > It failed after retrying the old location: > 08/11/02 14:41:51 INFO ipc.Client: Retrying connect to server: ip-10-250-75-160.ec2.internal/10.250.75.160:50001. Already tried 0 time(s). > 08/11/02 14:41:52 INFO ipc.Client: Retrying connect to server: ip-10-250-75-160.ec2.internal/10.250.75.160:50001. Already tried 1 time(s). > 08/11/02 14:41:53 INFO ipc.Client: Retrying connect to server: ip-10-250-75-160.ec2.internal/10.250.75.160:50001. Already tried 2 time(s). > 08/11/02 14:41:54 INFO ipc.Client: Retrying connect to server: ip-10-250-75-160.ec2.internal/10.250.75.160:50001. Already tried 3 time(s). > 08/11/02 14:41:55 INFO ipc.Client: Retrying connect to server: ip-10-250-75-160.ec2.internal/10.250.75.160:50001. Already tried 4 time(s). > 08/11/02 14:41:56 INFO ipc.Client: Retrying connect to server: ip-10-250-75-160.ec2.internal/10.250.75.160:50001. Already tried 5 time(s). > 08/11/02 14:41:57 INFO ipc.Client: Retrying connect to server: ip-10-250-75-160.ec2.internal/10.250.75.160:50001. Already tried 6 time(s). > 08/11/02 14:41:58 INFO ipc.Client: Retrying connect to server: ip-10-250-75-160.ec2.internal/10.250.75.160:50001. Already tried 7 time(s). > 08/11/02 14:41:59 INFO ipc.Client: Retrying connect to server: ip-10-250-75-160.ec2.internal/10.250.75.160:50001. Already tried 8 time(s). > 08/11/02 14:42:00 INFO ipc.Client: Retrying connect to server: ip-10-250-75-160.ec2.internal/10.250.75.160:50001. Already tried 9 time(s). > Is there a way to set the warehouse.dir manually for the already existent db? Otherwise all tables have to be created again... > Thanks, > joey -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.