On May 21, 2013, at 5:02 PM, Sebastien Goasguen <[email protected]> wrote:

> 
> 
> On 21 May 2013, at 22:52, Andrei Savu <[email protected]> wrote:
> 
>> 
>> On Tue, May 21, 2013 at 11:46 PM, Sebastien Goasguen <[email protected]> 
>> wrote:
>> Does not seem to work, I tried by putting it in the properties file and it 
>> did not do anything.
>> On the command line:
>> 
>> whirr launch-cluster --store-cluster-in-etc-hosts --config 
>> ~/Desktop/hadoop.properties
>> Exception in thread "main" joptsimple.UnrecognizedOptionException: 
>> 'store-cluster-in-etc-hosts' is not a recognized option
>>      at 
>> joptsimple.OptionException.unrecognizedOption(OptionException.java:88)
>>      at joptsimple.OptionParser.handleLongOptionToken(OptionParser.java:403)
>>      at 
>> joptsimple.OptionParserState$2.handleArgument(OptionParserState.java:54)
>>      at joptsimple.OptionParser.parse(OptionParser.java:379)
>>      at 
>> org.apache.whirr.cli.command.LaunchClusterCommand.run(LaunchClusterCommand.java:49)
>>      at org.apache.whirr.cli.Main.run(Main.java:69)
>>      at org.apache.whirr.cli.Main.main(Main.java:102)
>> 
>> That's strange. What version of Whirr are you running?
>> 
>> See the following page for all configuration options:
>> http://whirr.apache.org/docs/0.8.2/configuration-guide.html
> 
> I compiled 0.8.1 from source

I installed 0.8.2 this morning and it worked. the /etc/hosts file was updated.

I am now running into cdh/hdfs issues, maybe linked to the security group rules:

13/05/22 12:57:31 ERROR hdfs.DFSClient: Failed to close file 
/user/sebastiengoasguen/input/toto._COPYING_
org.apache.hadoop.ipc.RemoteException(java.io.IOException): File 
/user/sebastiengoasguen/input/toto._COPYING_ could only be replicated to 0 
nodes instead of minReplication (=1).  There are 1 datanode(s) running and 1 
node(s) are excluded in this operation.

-Sebastien


> 
> 
>> -- Andrei

Reply via email to