Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
HBase >> mail # dev >> HBase remote connection error


Copy link to this message
-
Re: HBase remote connection error
On Wed, Nov 23, 2011 at 9:57 PM, jayakumar t <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I have installed HBase on a Linux Ubuntu successfully. Then I created
> a java program  as below
>
>            Configuration config = HBaseConfiguration.create();
>            config.set("hbase.zookeeper.quorum", "192.168.0.180");
>            HTable table = new HTable(config, "test");
>            System.out.println("Table test obtained ");
>
>
> While running from the same machine it is working fine....But when we
> run from another machine,  getting the errors...The internal
> IP(192.168.0.180) in which Hbase installed.
>

Does shell work on other machine?

It looks like its a windows machine.  Have you read the archive on
this mailing list for issues getting going with hbase on windows?

St.Ack

> The errors....
>
> 11/11/24 11:02:16 INFO zookeeper.ZooKeeper: Client
> environment:zookeeper.version=3.3.2-1031432, built on 11/05/2010 05:32
> GMT
> 11/11/24 11:02:16 INFO zookeeper.ZooKeeper: Client
> environment:host.name=xmcp55.XMINDS.COM
> 11/11/24 11:02:16 INFO zookeeper.ZooKeeper: Client
> environment:java.version=1.6.0_13
> 11/11/24 11:02:16 INFO zookeeper.ZooKeeper: Client
> environment:java.vendor=Sun Microsystems Inc.
> 11/11/24 11:02:16 INFO zookeeper.ZooKeeper: Client
> environment:java.home=C:\Program Files\Java\jre6
> 11/11/24 11:02:16 INFO zookeeper.ZooKeeper: Client
> environment:java.class.path=G:\Documents and
> Settings\jayakumar\workspace\HBaseClient\bin;G:\Documents and
> Settings\jayakumar\workspace\HBaseClient\lib\hadoop-core-0.20-append-r1056497.jar;G:\Documents
> and Settings\jayakumar\workspace\HBaseClient\lib\hbase-0.90.4.jar;G:\Documents
> and Settings\jayakumar\workspace\HBaseClient\lib\log4j-1.2.16.jar;G:\Documents
> and Settings\jayakumar\workspace\HBaseClient\lib\commons-cli-1.2.jar;G:\Documents
> and Settings\jayakumar\workspace\HBaseClient\lib\commons-codec-1.4.jar;G:\Documents
> and Settings\jayakumar\workspace\HBaseClient\lib\commons-el-1.0.jar;G:\Documents
> and Settings\jayakumar\workspace\HBaseClient\lib\commons-httpclient-3.1.jar;G:\Documents
> and Settings\jayakumar\workspace\HBaseClient\lib\commons-lang-2.5.jar;G:\Documents
> and Settings\jayakumar\workspace\HBaseClient\lib\commons-logging-1.1.1.jar;G:\Documents
> and Settings\jayakumar\workspace\HBaseClient\lib\commons-net-1.4.1.jar;G:\Documents
> and Settings\jayakumar\workspace\HBaseClient\lib\zookeeper-3.3.2.jar
> 11/11/24 11:02:16 INFO zookeeper.ZooKeeper: Client
> environment:java.library.path=C:\Program
> Files\Java\jre6\bin;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:/Program
> Files/Java/jre6/bin/client;C:/Program Files/Java/jre6/bin;C:/Program
> Files/Java/jre6/lib/i386;F:\app\jayakumar\product\11.1.0\client_1\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program
> Files\ATI Technologies\ATI.ACE\Core-Static;C:\Program
> Files\QuickTime\QTSystem\;C:\Atlassian\atlassian-plugin-sdk-3.2\bin;C:\Sun\jwsdp-2.0\jwsdp-shared\bin;C:\Program
> Files\Java\jdk1.6.0_06\bin;C:\ffmpeg\bin;C:\Atlassian\atlassian-plugin-sdk-3.2\apache-maven\bin
> 11/11/24 11:02:16 INFO zookeeper.ZooKeeper: Client
> environment:java.io.tmpdir=C:\DOCUME~1\JAYAKU~1\LOCALS~1\Temp\
> 11/11/24 11:02:16 INFO zookeeper.ZooKeeper: Client
> environment:java.compiler=<NA>
> 11/11/24 11:02:16 INFO zookeeper.ZooKeeper: Client
> environment:os.name=Windows XP
> 11/11/24 11:02:16 INFO zookeeper.ZooKeeper: Client environment:os.arch=x86
> 11/11/24 11:02:16 INFO zookeeper.ZooKeeper: Client environment:os.version=5.1
> 11/11/24 11:02:16 INFO zookeeper.ZooKeeper: Client
> environment:user.name=jayakumar
> 11/11/24 11:02:16 INFO zookeeper.ZooKeeper: Client
> environment:user.home=C:\Documents and Settings\jayakumar
> 11/11/24 11:02:16 INFO zookeeper.ZooKeeper: Client
> environment:user.dir=G:\Documents and
> Settings\jayakumar\workspace\HBaseClient
> 11/11/24 11:02:16 INFO zookeeper.ZooKeeper: Initiating client
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB