--
You received this message because you are subscribed to the Google Groups "CloudBase" group.
To post to this group, send email to cloudba...@googlegroups.com.
To unsubscribe from this group, send email to cloudbase-use...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/cloudbase-users?hl=en.
[hadoop@centoshadoop cloudbase-1.3.1]$ more bin/cloudbase-env
#!/usr/bin/env bash
#
# Copyright(c) 2008 Business.com. All rights reserved.
#
# CloudBase is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, version 2. By downloading CloudBase you
# hereby acknowledge and agree to the terms and conditions of the GNU
# General Public License.
#
# CloudBase is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. THEREFORE,
# EXCEPT AS SPECIFIED INÂ WRITING THE SOFTWAREÂ ISÂ MADE AVAILABEÂ ON AN
# AS IS BASIS AND SUBJECT TO THE RESTRICTIONS AND CONDITIONS OF THE
# GNU GENERAL PUBLIC LICENSE, BUSINESS.COM SHALL HAVE NO LIABILITY
# FOR THE SOFTWARE PROVIDED IN FURTHERANCE OF THIS AGREEMENT;Â
# BUSINESS.COMÂ MAKES ANDÂ LICENSEE RECEIVES NO WARRANTIES, EXPRESS,
# IMPLIED, STATUTORY, OR IN ANY OTHER PROVISIONÂ OR ANY OTHER COMMUNICATION;
# ANDÂ BUSINESS.COM SPECIFICALLY DISCLAIMS ANY WARRANTY OF MERCHANTABILITY
# AND FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# for more details.
#
# You should have received a copy of the GNU General Public License
# along with CloudBase. If not, see <http://www.gnu.org/licenses/>.
#
# Set the hadoop home dir
HADOOP_HOME=/hadoop-0.20.2/
export HADOOP_HOME
[hadoop@centoshadoop cloudbase-1.3.1]$ bin/start-cloudbase &
[1] 11988
[hadoop@centoshadoop cloudbase-1.3.1]$ CloudBase listening on:4444
test/bin/setup
Error occured while creating test tables-
java.sql.SQLException: Could not get I/O connection to host: localhost Exception:java.net.SocketTimeoutException: Read timed out
at com.business.cloudbase.CBConnection.<init>(CBConnection.java:207)
at com.business.cloudbase.CBDriver.connect(CBDriver.java:113)
at java.sql.DriverManager.getConnection(DriverManager.java:582)
at java.sql.DriverManager.getConnection(DriverManager.java:185)
at com.business.cloudbase.test.Setup.getConnection(Unknown Source)
at com.business.cloudbase.test.Setup.createTables(Unknown Source)
at com.business.cloudbase.test.Setup.main(Unknown Source)
Does this help?Deleting index- index_test_table1_c4
GOT SQL: drop index INDEX_TEST_TABLE1_C4
Exception in thread "Thread-31" java.lang.NoClassDefFoundError: org/jdom/JDOMException
at com.business.cloudbase.statement.drop.DropStmt.execute(DropStmt.java:109)
at com.business.cloudbase.net.ClientHandler$CommandExecutor.handleSQL(ClientHandler.java:487)
at com.business.cloudbase.net.ClientHandler$CommandExecutor.run(ClientHandler.java:163)
Caused by: java.lang.ClassNotFoundException: org.jdom.JDOMException
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
... 3 more
I also updated the props file to have my ip address. same error as above.[hadoop@centoshadoop cloudbase-1.3.1]$ cd ~
[hadoop@centoshadoop ~]$ /cloudbase-1.3.1/test/bin/setup
Deleting index- index_test_table1_c4
GOT SQL: drop index INDEX_TEST_TABLE1_C4
Exception in thread "Thread-31" java.lang.NoClassDefFoundError: org/jdom/JDOMException
at com.business.cloudbase.statement.drop.DropStmt.execute(DropStmt.java:109)
at com.business.cloudbase.net.ClientHandler$CommandExecutor.handleSQL(ClientHandler.java:487)
at com.business.cloudbase.net.ClientHandler$CommandExecutor.run(ClientHandler.java:163)
Caused by: java.lang.ClassNotFoundException: org.jdom.JDOMException
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
... 3 more