Skip to content

Instantly share code, notes, and snippets.

@abayer
Created August 17, 2012 18:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save abayer/3381233 to your computer and use it in GitHub Desktop.
Save abayer/3381233 to your computer and use it in GitHub Desktop.
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.apache.whirr.service.hadoop.integration.HadoopSeparateNodesServiceTest
2012-08-17 11:09:08,612 INFO [org.apache.whirr.service.hadoop.integration.HadoopServiceController] (main) Starting up cluster...
2012-08-17 11:09:11,399 INFO [org.apache.whirr.actions.BootstrapClusterAction] (main) Bootstrapping cluster
2012-08-17 11:09:11,401 INFO [org.apache.whirr.compute.BootstrapTemplate] (main) Configuring template for bootstrap-hadoop-datanode
2012-08-17 11:09:17,433 INFO [org.apache.whirr.compute.BootstrapTemplate] (main) Configuring template for bootstrap-hadoop-jobtracker
2012-08-17 11:09:17,434 INFO [org.apache.whirr.compute.NodeStarter] (pool-3-thread-2) Starting 1 node(s) with roles [hadoop-datanode]
2012-08-17 11:09:17,451 INFO [org.apache.whirr.compute.NodeStarter] (pool-3-thread-4) Starting 1 node(s) with roles [hadoop-jobtracker]
2012-08-17 11:09:17,452 INFO [org.apache.whirr.compute.BootstrapTemplate] (main) Configuring template for bootstrap-hadoop-tasktracker
2012-08-17 11:09:17,464 INFO [org.apache.whirr.compute.NodeStarter] (pool-3-thread-6) Starting 1 node(s) with roles [hadoop-tasktracker]
2012-08-17 11:09:17,464 INFO [org.apache.whirr.compute.BootstrapTemplate] (main) Configuring template for bootstrap-hadoop-namenode
2012-08-17 11:09:17,475 INFO [org.apache.whirr.compute.NodeStarter] (pool-3-thread-8) Starting 1 node(s) with roles [hadoop-namenode]
2012-08-17 11:09:20,425 ERROR [org.apache.whirr.compute.StartupProcess] (pool-3-thread-5) Unexpected error while starting 1 nodes, minimum 1 nodes for [hadoop-tasktracker] of cluster hadoop-separate-itest-aws-ec2-abayer
java.util.concurrent.ExecutionException: org.jclouds.aws.AWSResponseException: request POST https://ec2.us-east-1.amazonaws.com/ HTTP/1.1 failed with code 400, error: AWSError{requestId='1e938003-e0b6-454b-b6c4-6cb2e9645d27', requestToken='null', code='InvalidParameterValue', message='Value (-1.0) for parameter price is invalid. "-1.000000" is an invalid spot instance price', context='{Response=, Errors=}'}
at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:222)
at java.util.concurrent.FutureTask.get(FutureTask.java:83)
at org.apache.whirr.compute.StartupProcess.waitForOutcomes(StartupProcess.java:130)
at org.apache.whirr.compute.StartupProcess.call(StartupProcess.java:83)
at org.apache.whirr.compute.StartupProcess.call(StartupProcess.java:41)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:680)
Caused by: org.jclouds.aws.AWSResponseException: request POST https://ec2.us-east-1.amazonaws.com/ HTTP/1.1 failed with code 400, error: AWSError{requestId='1e938003-e0b6-454b-b6c4-6cb2e9645d27', requestToken='null', code='InvalidParameterValue', message='Value (-1.0) for parameter price is invalid. "-1.000000" is an invalid spot instance price', context='{Response=, Errors=}'}
at org.jclouds.aws.handlers.ParseAWSErrorFromXmlContent.handleError(ParseAWSErrorFromXmlContent.java:78)
at org.jclouds.http.handlers.DelegatingErrorHandler.handleError(DelegatingErrorHandler.java:69)
at org.jclouds.http.internal.BaseHttpCommandExecutorService$HttpResponseCallable.shouldContinue(BaseHttpCommandExecutorService.java:197)
at org.jclouds.http.internal.BaseHttpCommandExecutorService$HttpResponseCallable.call(BaseHttpCommandExecutorService.java:167)
at org.jclouds.http.internal.BaseHttpCommandExecutorService$HttpResponseCallable.call(BaseHttpCommandExecutorService.java:135)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:680)
at org.jclouds.concurrent.config.DescribingExecutorService.submit(DescribingExecutorService.java:89)
at org.jclouds.http.internal.BaseHttpCommandExecutorService.submit(BaseHttpCommandExecutorService.java:132)
at org.jclouds.http.TransformingHttpCommandExecutorServiceImpl.submit(TransformingHttpCommandExecutorServiceImpl.java:54)
at org.jclouds.http.TransformingHttpCommandImpl.execute(TransformingHttpCommandImpl.java:73)
at org.jclouds.rest.internal.AsyncRestClientProxy.createListenableFutureForHttpRequestMappedToMethodAndArgs(AsyncRestClientProxy.java:248)
at org.jclouds.rest.internal.AsyncRestClientProxy.invoke(AsyncRestClientProxy.java:148)
at $Proxy90.requestSpotInstancesInRegion(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jclouds.concurrent.internal.SyncProxy.invoke(SyncProxy.java:164)
at $Proxy91.requestSpotInstancesInRegion(Unknown Source)
at org.jclouds.aws.ec2.compute.strategy.AWSEC2CreateNodesInGroupThenAddToSet.createNodesInRegionAndZone(AWSEC2CreateNodesInGroupThenAddToSet.java:114)
at org.jclouds.ec2.compute.strategy.EC2CreateNodesInGroupThenAddToSet.createKeyPairAndSecurityGroupsAsNeededThenRunInstances(EC2CreateNodesInGroupThenAddToSet.java:220)
at org.jclouds.ec2.compute.strategy.EC2CreateNodesInGroupThenAddToSet.execute(EC2CreateNodesInGroupThenAddToSet.java:141)
at org.jclouds.compute.internal.BaseComputeService.createNodesInGroup(BaseComputeService.java:213)
at org.jclouds.aws.ec2.compute.AWSEC2ComputeService.createNodesInGroup(AWSEC2ComputeService.java:138)
at org.apache.whirr.compute.NodeStarter.call(NodeStarter.java:55)
at org.apache.whirr.compute.NodeStarter.call(NodeStarter.java:30)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:680)
at org.jclouds.concurrent.config.DescribingExecutorService.submit(DescribingExecutorService.java:89)
at org.jclouds.http.internal.BaseHttpCommandExecutorService.submit(BaseHttpCommandExecutorService.java:132)
at org.jclouds.http.TransformingHttpCommandExecutorServiceImpl.submit(TransformingHttpCommandExecutorServiceImpl.java:54)
at org.jclouds.http.TransformingHttpCommandImpl.execute(TransformingHttpCommandImpl.java:73)
at org.jclouds.rest.internal.AsyncRestClientProxy.createListenableFutureForHttpRequestMappedToMethodAndArgs(AsyncRestClientProxy.java:248)
at org.jclouds.rest.internal.AsyncRestClientProxy.invoke(AsyncRestClientProxy.java:148)
at $Proxy90.requestSpotInstancesInRegion(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jclouds.concurrent.internal.SyncProxy.invoke(SyncProxy.java:164)
at $Proxy91.requestSpotInstancesInRegion(Unknown Source)
at org.jclouds.aws.ec2.compute.strategy.AWSEC2CreateNodesInGroupThenAddToSet.createNodesInRegionAndZone(AWSEC2CreateNodesInGroupThenAddToSet.java:114)
at org.jclouds.ec2.compute.strategy.EC2CreateNodesInGroupThenAddToSet.createKeyPairAndSecurityGroupsAsNeededThenRunInstances(EC2CreateNodesInGroupThenAddToSet.java:220)
at org.jclouds.ec2.compute.strategy.EC2CreateNodesInGroupThenAddToSet.execute(EC2CreateNodesInGroupThenAddToSet.java:141)
at org.jclouds.compute.internal.BaseComputeService.createNodesInGroup(BaseComputeService.java:213)
at org.jclouds.aws.ec2.compute.AWSEC2ComputeService.createNodesInGroup(AWSEC2ComputeService.java:138)
at org.apache.whirr.compute.NodeStarter.call(NodeStarter.java:55)
at org.apache.whirr.compute.NodeStarter.call(NodeStarter.java:30)
... 5 more
2012-08-17 11:09:20,427 INFO [org.apache.whirr.compute.NodeStarter] (pool-3-thread-6) Starting 1 node(s) with roles [hadoop-tasktracker]
2012-08-17 11:09:20,564 ERROR [org.apache.whirr.compute.StartupProcess] (pool-3-thread-7) Unexpected error while starting 1 nodes, minimum 1 nodes for [hadoop-namenode] of cluster hadoop-separate-itest-aws-ec2-abayer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment