You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@whirr.apache.org by "Andrei Savu (JIRA)" <ji...@apache.org> on 2010/12/30 22:39:45 UTC

[jira] Updated: (WHIRR-181) Add descriptions for CLI command options

     [ https://issues.apache.org/jira/browse/WHIRR-181?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrei Savu updated WHIRR-181:
------------------------------

    Attachment: WHIRR-181.patch


I have attached a simple patch.

{code}
$ ./bin/whirr launch-cluster
Option 'identity' not set.
Usage: whirr launch-cluster [OPTIONS]

Option                                  Description                            
------                                  -----------                            
--client-cidrs                          A comma-separated list of CIDR blocks. 
                                          E.g. 208.128.0.0/11,108.128.0.0/11   
--cluster-name                          The name of the cluster to operate on. 
                                          E.g. hadoopcluster.                  
--config <config.properties>            Note that Whirr properties specified   
                                          in this file  should all have a      
                                          whirr. prefix.                       
--credential                            The cloud credential.                  
--hardware-id                           The type of hardware to use for the    
                                          instance. This must be compatible    
                                          with the image ID.                   
--identity                              The cloud identity.                    
--image-id                              The ID of the image to use for         
                                          instances. If not specified then a   
                                          vanilla Linux image is chosen.       
--instance-templates                    The number of instances to launch for  
                                          each set of roles. E.g. 1 nn+jt,10   
                                          dn+tt means one instance with the    
                                          roles nn (namenode) and jt           
                                          (jobtracker), and ten instances each 
                                          with the roles dn (datanode) and tt  
                                          (tasktracker).                       
--location-id                           The location to launch instances in.   
                                          If not specified then an arbitrary   
                                          location will be chosen.             
--private-key-file                      The filename of the private RSA key    
                                          used to connect to instances.        
--provider                              The name of the cloud provider. E.g.   
                                          ec2, cloudservers                    
--public-key-file                       The filename of the public key used to 
                                          connect to instances.                
--run-url-base                          The base URL for forming run urls      
                                          from. Change this to host your own   
                                          set of launch scripts.               
--service-name                          (optional) The name of the service to  
                                          use. E.g. hadoop.                    
--version                                                       
{code}

> Add descriptions for CLI command options
> ----------------------------------------
>
>                 Key: WHIRR-181
>                 URL: https://issues.apache.org/jira/browse/WHIRR-181
>             Project: Whirr
>          Issue Type: Improvement
>          Components: cli, core
>            Reporter: Andrei Savu
>            Assignee: Andrei Savu
>            Priority: Minor
>             Fix For: 0.3.0
>
>         Attachments: WHIRR-181.patch
>
>
> As you can see bellow there are no docs for the command line options. 
> {code}
> $ bin/whirr launch-cluster
> Option 'identity' not set.
> Usage: whirr launch-cluster [OPTIONS]
>  
> Option                                  Description                            
> ------                                  -----------                            
> --client-cidrs                                                                
> --cluster-name                                                                
> --config                                                                      
> --credential                                                                  
> --hardware-id                                                                  
> --identity                                                                    
> --image-id                                                                    
> --instance-templates                                                          
> --location-id                                                                  
> --private-key-file                                                            
> --provider                                                                    
> --public-key-file                                                              
> --run-url-base                                                                
> --service-name                                                                
> --version
> {code}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.