[ 
https://issues.apache.org/jira/browse/WHIRR-383?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13102822#comment-13102822
 ] 

Andrei Savu commented on WHIRR-383:
-----------------------------------

It looks like a hostname / DNS problem to me. Are you running the SOCKS proxy 
on your computer? I'm not sure if we've tested this scenario in the past: 
running the HBase client on the local machine because I know that we had some 
issue when trying to connect to the HBase cluster using the Java client and 
that's why we are using the REST interface for integration testing. 

> HBase cluster launch problem
> ----------------------------
>
>                 Key: WHIRR-383
>                 URL: https://issues.apache.org/jira/browse/WHIRR-383
>             Project: Whirr
>          Issue Type: Bug
>          Components: service/hbase
>    Affects Versions: 0.6.0
>         Environment: Amazon EC2
>            Reporter: Rok Zlender
>
> I am trying to launch a hbase cluster with following settings
> {noformat}
> whirr.cluster-name=hbase-0.90
> whirr.instance-templates=1 
> zookeeper+hadoop-namenode+hadoop-jobtracker+hbase-master,2 
> hadoop-datanode+hadoop-tasktracker+hbase-regionserver
> hbase-site.dfs.replication=1
> whirr.provider=aws-ec2
> whirr.identity=${env:AWS_ACCESS_KEY_ID}
> whirr.credential=${env:AWS_SECRET_ACCESS_KEY}
> whirr.hardware-id=m1.large #Only change from HBase recipe that comes with 
> 0.6.0
> whirr.image-id=us-east-1/ami-da0cf8b3
> whirr.location-id=us-east-1
> whirr.hbase.tarball.url=http://apache.cu.be/hbase/hbase-0.90.3/hbase-0.90.3.tar.gz
> whirr.hadoop.tarball.url=http://archive.cloudera.com/cdh/3/hadoop-0.20.2-cdh3u1.tar.gz
> {noformat}
> The only difference between my configuration and stock HBase recipe is that I 
> used m1.large ec2 instances. Cluster launches without problems and I can 
> connect to master node and do
> {noformat}
> rok@domU-12-31-39-15-24-20:/usr/local/hbase-0.90.3$ bin/hbase shell
> HBase Shell; enter 'help<RETURN>' for list of supported commands.
> Type "exit<RETURN>" to leave the HBase Shell
> Version 0.90.3, r1100350, Sat May  7 13:31:12 PDT 2011
> hbase(main):001:0> status
> 2 servers, 0 dead, 1.0000 average load
> hbase(main):002:0> 
> {noformat}
> Web ui also shows that HBase 0.90.3, r1100350 with Hadoop 0.20.2-cdh3u1 was 
> started.
> But on my local machine from where I started this cluster I'm having problems 
> connecting to it. I copied hbase-site.xml that whirr creates to hbase/conf 
> folder and started hbase-proxy.sh. And when I try to connect and do status I 
> get
> {noformat}
> ➜  hbase-0.90.3  bin/hbase shell
> HBase Shell; enter 'help<RETURN>' for list of supported commands.
> Type "exit<RETURN>" to leave the HBase Shell
> Version 0.90.3, r1100350, Sat May  7 13:31:12 PDT 2011
> hbase(main):001:0> status
> 11/09/11 10:49:43 ERROR hbase.HServerAddress: Could not resolve the DNS name 
> of ip-10-2-38-254.ec2.internal:60000
> ERROR: java.lang.IllegalArgumentException: Could not resolve the DNS name of 
> ip-10-2-38-254.ec2.internal:60000
> Here is some help for this command:
> Show cluster status. Can be 'summary', 'simple', or 'detailed'. The
> default is 'summary'. Examples:
>   hbase> status
>   hbase> status 'simple'
>   hbase> status 'summary'
>   hbase> status 'detailed'
> hbase(main):002:0> 
> {noformat}
> This looks similar to issue https://issues.apache.org/jira/browse/WHIRR-201 
> but I don't know where to start debugging or tweaking to get it running 
> properly.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


Reply via email to