Uploaded image for project: 'Apache Whirr (retired)'
  1. Apache Whirr (retired)
  2. WHIRR-383

HBase cluster launch problem

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 0.6.0
    • None
    • service/hbase
    • None
    • Amazon EC2

    Description

      I am trying to launch a hbase cluster with following settings

      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
      

      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

      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> 
      

      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

      ➜  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> 
      

      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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              zlender Rok Zlender
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated: