hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Purtell" <apurt...@apache.org>
Subject Re: [jira] Commented: (HBASE-1961) HBase EC2 scripts
Date Sat, 14 Nov 2009 01:03:13 GMT
You need both the api and ami tools. Thought you had one but not the other. You need both.
Click through both links in the readme and the comment on the issue. Also see the comment
on the issue about the help. The help is correct. It is for that script. See the if-else switch
inside. It is not help for the *-hbase-* worker scripts.

------Original Message------
From: stack (JIRA)
To: apurtell@apache.org
Subject: [jira] Commented: (HBASE-1961) HBase EC2 scripts
Sent: Nov 14, 2009 8:45 AM


    [ https://issues.apache.org/jira/browse/HBASE-1961?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12777775#action_12777775
] 

stack commented on HBASE-1961:
------------------------------

This latest tarball still has usage that does not mention hbase:

{costack@aron:~/checkouts/workspace/trunk/src/contrib/ec2$ ./bin/hbase-ec2 
Usage: hbase-ec2 COMMAND
where COMMAND is one of:
  list                                  list all running HBase EC2 clusters
  launch-cluster <name> <slaves> <zoos> launch a HBase cluster
  launch-zookeeper <name> <zoos>        launch the zookeeper quorum
  launch-master  <name>                 launch or find a cluster master
  launch-slaves  <name> <slaves>        launch the cluster slaves
  terminate-cluster  <name>             terminate all HBase EC2 instances
  delete-cluster <name>                 clean up after a terminated cluster
  login  <name|instance id>             login to the master node
  screen <name|instance id>             start or attach 'screen' on the master
  proxy  <name|instance id>             start a socks proxy on localhost:6666
  push   <name> <file>                  scp a file to the master node
  <shell cmd> <group|instance id>       execute a command on the master
  create-image                          create a HBase AMIde}

{code}

.. it should be 'launch-hbase-cluster' instead of 'launch-cluster'? etc.

I did the apt-get install of ami tools.  Got this error when I tried below command:

{code}

{code$ ./bin/launch-hbase-cluster x 3 3
Creating/checking security groups
/home/stack/checkouts/workspace/trunk/src/contrib/ec2/bin/init-hbase-cluster-secgroups: line
34: ec2-describe-group: command not found
Creating group x-master
/home/stack/checkouts/workspace/trunk/src/contrib/ec2/bin/init-hbase-cluster-secgroups: line
37: ec2-add-group: command not found
/home/stack/checkouts/workspace/trunk/src/contrib/ec2/bin/init-hbase-cluster-secgroups: line
38: ec2-authorize: command not found
/home/stack/checkouts/workspace/trunk/src/contrib/ec2/bin/init-hbase-cluster-secgroups: line
39: ec2-authorize: command not found
/home/stack/checkouts/workspace/trunk/src/contrib/ec2/bin/init-hbase-cluster-secgroups: line
51: ec2-describe-group: command not found
Creating group x
/home/stack/checkouts/workspace/trunk/src/contrib/ec2/bin/init-hbase-cluster-secgroups: line
54: ec2-add-group: command not found
/home/stack/checkouts/workspace/trunk/src/contrib/ec2/bin/init-hbase-cluster-secgroups: line
55: ec2-authorize: command not found
/home/stack/checkouts/workspace/trunk/src/contrib/ec2/bin/init-hbase-cluster-secgroups: line
56: ec2-authorize: command not found
/home/stack/checkouts/workspace/trunk/src/contrib/ec2/bin/init-hbase-cluster-secgroups: line
65: ec2-authorize: command not found
/home/stack/checkouts/workspace/trunk/src/contrib/ec2/bin/init-hbase-cluster-secgroups: line
66: ec2-authorize: command not found
/home/stack/checkouts/workspace/trunk/src/contrib/ec2/bin/init-hbase-cluster-secgroups: line
73: ec2-describe-group: command not found
Creating group x-zookeeper
/home/stack/checkouts/workspace/trunk/src/contrib/ec2/bin/init-hbase-cluster-secgroups: line
76: ec2-add-group: command not found
/home/stack/checkouts/workspace/trunk/src/contrib/ec2/bin/init-hbase-cluster-secgroups: line
77: ec2-authorize: command not found
/home/stack/checkouts/workspace/trunk/src/contrib/ec2/bin/init-hbase-cluster-secgroups: line
78: ec2-authorize: command not found
/home/stack/checkouts/workspace/trunk/src/contrib/ec2/bin/init-hbase-cluster-secgroups: line
80: ec2-authorize: command not found
/home/stack/checkouts/workspace/trunk/src/contrib/ec2/bin/init-hbase-cluster-secgroups: line
81: ec2-authorize: command not found
/home/stack/checkouts/workspace/trunk/src/contrib/ec2/bin/init-hbase-cluster-secgroups: line
82: ec2-authorize: command not found
/home/stack/checkouts/workspace/trunk/src/contrib/ec2/bin/init-hbase-cluster-secgroups: line
83: ec2-authorize: command not found
}

> HBase EC2 sc
Mime
View raw message