"I have also never seen the Xalan complaints. What OS?"

Mac OSX 10.5.8 (not leopard) and java 1.6.0_17
It is a known issue on Macs and Java 6 apparently.  The recommendation
seems to be to hide the warning in the EC2 scripts themselves but I
didn't bother.  I get it even on an ec2-describe-instances, but it
does work.

I added to the ec2 env:
  EC2_URL=https://us-east-1.ec2.amazonaws.com

and also:
  $ echo $EC2_URL
  https://us-east-1.ec2.amazonaws.com

But the error remains:

$ ./bin/hbase-ec2 launch-cluster dwc 3 3
Creating/checking security groups
[Deprecated] Xalan: org.apache.xml.res.XMLErrorResources_en_US
Security group dwc-master exists, ok
[Deprecated] Xalan: org.apache.xml.res.XMLErrorResources_en_US
Security group dwc exists, ok
[Deprecated] Xalan: org.apache.xml.res.XMLErrorResources_en_US
Security group dwc-zookeeper exists, ok
[Deprecated] Xalan: org.apache.xml.res.XMLErrorResources_en_US
Starting ZooKeeper quorum ensemble.
Starting an AMI with ID  (arch i386) in group dwc-zookeeper
Required parameter 'AMI' missing (-h for usage)
Waiting for instance  to start: .[Deprecated] Xalan:
org.apache.xml.res.XMLErrorResources_en_US
.[Deprecated] Xalan: org.apache.xml.res.XMLErrorResources_en_US
...etc

I'll keep trying with my own AMI as well.

Cheers,
Tim



On Sat, Mar 27, 2010 at 7:39 PM, Tim Robertson
<[email protected]> wrote:
> Hi Andy,
>
> Thanks - appreciate that.  I haven't used EC2 in a while and it was
> always US-East last time despite me being in Europe, but I'll dig into
> it.
> Actually I started creating my own hbase AMI today using your scripts
> but it failed on
>
> /mnt/create-hbase-image-remote
>
> with privileges error.  I SSH'ed onto the machine and (ahem) ran chmod
> 777 and was able to get it into my own S3 bucket, but then I could not
> get an ec2-register to work at all with an ACL issue.  It was owned by
> me, and had the za user so not sure what is up.
>
> I'll try the EC2_URL tomorrow and post back.
>
> Cheers,
> Tim
>
>
>
>
>
>
>
> On Sat, Mar 27, 2010 at 7:28 PM, Andrew Purtell <[email protected]> wrote:
>> Hi Tim,
>>
>> Currently we only have public AMIs registered in the us-east-1 region. EC2 
>> AMIs are region-locked. So the scripts are not finding any public AMIs for 
>> the region you are running in -- EU? -- hence the error.
>>
>> I have also never seen the Xalan complaints. What OS?
>>
>> I did replicate the AMIs over to a bucket in EU but have not registered them 
>> yet -- I was away from home while the copy was running (took a long time). I 
>> will do that today.
>>
>> But you can also specify the service URI to the command line tools. Try 
>> setting the EC2_URL environment variable before running the scripts:
>>
>>    export EC2_URL="https://us-east-1.ec2.amazonaws.com";
>>
>>  - Andy
>>
>>
>> --- On Sat, 3/27/10, Tim Robertson <[email protected]> wrote:
>>
>>> From: Tim Robertson <[email protected]>
>>> Subject: EC2 scripts
>>> To: [email protected]
>>> Date: Saturday, March 27, 2010, 7:42 AM
>>> Hey,
>>>
>>> I have been trying to kick off an HBase cluster using the
>>> EC2 scripts but have not managed.
>>> If anyone is using it, could you please hint at where I
>>> might be going
>>> wrong? Terminal trace is below which has a worrying line:
>>>
>>> Required parameter 'AMI' missing (-h for usage)
>>>
>>> Cheers,
>>> Tim
>>>
>>>
>>> $ ./bin/hbase-ec2 launch-cluster dwc 3 3
>>> Creating/checking security groups
>>> [Deprecated] Xalan:
>>> org.apache.xml.res.XMLErrorResources_en_US
>>> Creating group dwc-master
>>> [Deprecated] Xalan:
>>> org.apache.xml.res.XMLErrorResources_en_US
>>> GROUP    dwc-master    Group
>>> for HBase Master.
>>> [Deprecated] Xalan:
>>> org.apache.xml.res.XMLErrorResources_en_US
>>> GROUP
>>> dwc-master
>>> PERMISSION
>>> dwc-master    ALLOWS
>>> all
>>> FROM    USER
>>> 5442-0831-0848    GRPNAME
>>> dwc-master
>>> [Deprecated] Xalan:
>>> org.apache.xml.res.XMLErrorResources_en_US
>>> GROUP
>>> dwc-master
>>> PERMISSION
>>> dwc-master    ALLOWS
>>> tcp    22
>>> 22    FROM
>>> CIDR    0.0.0.0/0
>>> [Deprecated] Xalan:
>>> org.apache.xml.res.XMLErrorResources_en_US
>>> Creating group dwc
>>> [Deprecated] Xalan:
>>> org.apache.xml.res.XMLErrorResources_en_US
>>> GROUP    dwc    Group for
>>> HBase Slaves.
>>> [Deprecated] Xalan:
>>> org.apache.xml.res.XMLErrorResources_en_US
>>> GROUP
>>> dwc
>>> PERMISSION
>>> dwc    ALLOWS
>>> all
>>> FROM    USER
>>> 5442-0831-0848    GRPNAME
>>> dwc
>>> [Deprecated] Xalan:
>>> org.apache.xml.res.XMLErrorResources_en_US
>>> GROUP
>>> dwc
>>> PERMISSION
>>> dwc    ALLOWS
>>> tcp    22
>>> 22    FROM
>>> CIDR    0.0.0.0/0
>>> [Deprecated] Xalan:
>>> org.apache.xml.res.XMLErrorResources_en_US
>>> GROUP
>>> dwc-master
>>> PERMISSION
>>> dwc-master    ALLOWS
>>> all
>>> FROM    USER
>>> 5442-0831-0848    GRPNAME
>>> dwc
>>> [Deprecated] Xalan:
>>> org.apache.xml.res.XMLErrorResources_en_US
>>> GROUP
>>> dwc
>>> PERMISSION
>>> dwc    ALLOWS
>>> all
>>> FROM    USER
>>> 5442-0831-0848    GRPNAME
>>> dwc-master
>>> [Deprecated] Xalan:
>>> org.apache.xml.res.XMLErrorResources_en_US
>>> Creating group dwc-zookeeper
>>> [Deprecated] Xalan:
>>> org.apache.xml.res.XMLErrorResources_en_US
>>> GROUP    dwc-zookeeper
>>> Group for HBase Zookeeper quorum.
>>> [Deprecated] Xalan:
>>> org.apache.xml.res.XMLErrorResources_en_US
>>> GROUP
>>> dwc-zookeeper
>>> PERMISSION
>>> dwc-zookeeper    ALLOWS
>>> all
>>> FROM    USER
>>> 5442-0831-0848    GRPNAME
>>> dwc-zookeeper
>>> [Deprecated] Xalan:
>>> org.apache.xml.res.XMLErrorResources_en_US
>>> GROUP
>>> dwc-zookeeper
>>> PERMISSION
>>> dwc-zookeeper    ALLOWS
>>> tcp    22
>>> 22    FROM
>>> CIDR    0.0.0.0/0
>>> [Deprecated] Xalan:
>>> org.apache.xml.res.XMLErrorResources_en_US
>>> GROUP
>>> dwc-master
>>> PERMISSION
>>> dwc-master    ALLOWS
>>> all
>>> FROM    USER
>>> 5442-0831-0848    GRPNAME
>>> dwc-zookeeper
>>> [Deprecated] Xalan:
>>> org.apache.xml.res.XMLErrorResources_en_US
>>> GROUP
>>> dwc-zookeeper
>>> PERMISSION
>>> dwc-zookeeper    ALLOWS
>>> all
>>> FROM    USER
>>> 5442-0831-0848    GRPNAME
>>> dwc-master
>>> [Deprecated] Xalan:
>>> org.apache.xml.res.XMLErrorResources_en_US
>>> GROUP
>>> dwc
>>> PERMISSION
>>> dwc    ALLOWS
>>> all
>>> FROM    USER
>>> 5442-0831-0848    GRPNAME
>>> dwc-zookeeper
>>> [Deprecated] Xalan:
>>> org.apache.xml.res.XMLErrorResources_en_US
>>> GROUP
>>> dwc-zookeeper
>>> PERMISSION
>>> dwc-zookeeper    ALLOWS
>>> all
>>> FROM    USER
>>> 5442-0831-0848    GRPNAME
>>> dwc
>>> [Deprecated] Xalan:
>>> org.apache.xml.res.XMLErrorResources_en_US
>>> Starting ZooKeeper quorum ensemble.
>>> Starting an AMI with ID  (arch i386) in group
>>> dwc-zookeeper
>>> Required parameter 'AMI' missing (-h for usage)
>>> Waiting for instance  to start: .[Deprecated] Xalan:
>>> org.apache.xml.res.XMLErrorResources_en_US
>>> .[Deprecated] Xalan:
>>> org.apache.xml.res.XMLErrorResources_en_US
>>> .[Deprecated] Xalan:
>>> org.apache.xml.res.XMLErrorResources_en_US
>>> .[Deprecated] Xalan:
>>> org.apache.xml.res.XMLErrorResources_en_US
>>> ...etc etc
>>> .[Deprecated] Xalan:
>>> org.apache.xml.res.XMLErrorResources_en_US
>>> issue a ctrl-c
>>>
>>
>>
>>
>>
>

Reply via email to