Dear Christian, Would you mind to share your configuration (tajo-site.xml)? More specifically, the value of tajo.master.*-rpc.address: I suspect that hostname setup can be just 127.0.0.1 (or localhost). If my presumption is exactly your case, then change it to MacBook's ip address, such as 192.168.43.249.
God bless you :) Sincerely, ---------------------------------------------- Jinhang Choi, CTO. Linewalks Inc. Seoul 137-860, Korea Office: +82 70 7702 3043 FAX: +82 2 2055 0612 -----Original Message----- From: "Jose Alvarez Muguerza"<[email protected]> To: "[email protected]"<[email protected]>; Cc: Sent: 2014-08-13 (수) 23:07:27 Subject: Re: Connect via JDBC to Tajo over Network Hi Christian, why don't you try with virtualized nodes (not Virtual machines) instead of a mix of devices?? I would suggest something like Docker(https://github.com/josealvarezmuguerza/docker-ubuntu-hadoop) or Mesos. hope it helpsregards On Wed, Aug 13, 2014 at 11:00 AM, Hyunsik Choi <[email protected]> wrote: Hi Chris, You may use the same code in three environments, which are MacBook, Galaxy S2, and Lenovo. Now, I cannot find any clue of the problem from your description. The versions of all JVM were same? Warm regards, Hyunsik On Tue, Aug 12, 2014 at 8:25 PM, Christian Schwabe <[email protected]> wrote: > Hello guys, > > I have a problem that can be difficult to explain, but I'll try it. > To my configuration: I use Tajo in version 0.9.0-SNAPSHOT > > In my testing environment I use the following hardware: > -MacBook Pro (OSX 10.9.4) > -Samsung Galaxy S2 (GT-I9000) > -Lenovo T430 (Windows 7 x64) > > My idea is to make the Lenovo laptop a database connection using JDBC to my > MacBook. > As a hotspot serves my Samsung Galaxy S2. > > I am therefore confident that the connection between the laptops are > successfully connected because I see on the Lenovo Laptop the Web Interface > of Tajo under http://xxx.xxx.xxx.xxx:26080/ and /ping to my MacBook is > already possible. > > But now when I start the database connection on my Lenovo, I get the > following exception: > java.sql.SQLException: Invalid JDBC URI: > jdbc:tajo://192.168.43.249:26002/testing > at org.apache.tajo.jdbc.TajoConnection.<init>(TajoConnection.java:97) > at org.apache.tajo.jdbc.TajoDriver.connect(TajoDriver.java:55) > > I sincerely hope that this declaration is complete and understandable. > > If I use the connection string ("jdbc: tajo: //127.0.0.1:26002/testing") the > JDBC database connection start on my MacBook everything works fine. > > Does anyone have any ideas what could be the problem? > > Best regards, > Chris -- Jose Alvarez Muguerza | Architect GLOBANT | AR: +54 11 4109 1700 ext. 15895 | US: +1 877 215 5230 ext. 15895 | Please consider the environment before printing this email
