[
https://issues.apache.org/jira/browse/WHIRR-427?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13149164#comment-13149164
]
Andrei Savu commented on WHIRR-427:
-----------------------------------
I have just tried to start a CDH cluster outside the integration tests using a
recipe like this:
{noformat}
whirr.cluster-name=cdh-asavu
# Change the number of machines in the cluster here
whirr.instance-templates=1 hadoop-namenode+hadoop-jobtracker, 1
hadoop-datanode+hadoop-tasktracker
# Uncomment out these lines to run CDH
whirr.hadoop.install-function=install_cdh_hadoop
whirr.hadoop.configure-function=configure_cdh_hadoop
# For EC2 set AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY environment variables.
whirr.provider=aws-ec2
whirr.identity=${env:AWS_ACCESS_KEY_ID}
whirr.credential=${env:AWS_SECRET_ACCESS_KEY}
{noformat}
It seems to be working fine. The cluster is running Hadoop 0.20.2-cdh3u2.
I'm now trying to tweak the tests as needed.
> CDH Hadoop integration test fails with malformed reply from SOCKS, may be
> version issue
> ---------------------------------------------------------------------------------------
>
> Key: WHIRR-427
> URL: https://issues.apache.org/jira/browse/WHIRR-427
> Project: Whirr
> Issue Type: Bug
> Reporter: Alex Heneveld
> Priority: Blocker
> Fix For: 0.7.0
>
>
> CdhHadoopServiceTest is failing on trunk.
> {code}
> java.io.IOException: Call to
> ec2-174-129-167-130.compute-1.amazonaws.com/174.129.167.130:8021 failed on
> local exception: java.net.SocketException: Malformed reply from SOCKS server
> at org.apache.hadoop.ipc.Client.wrapException(Client.java:1139)
> at org.apache.hadoop.ipc.Client.call(Client.java:1107)
> at org.apache.hadoop.ipc.RPC$Invoker.invoke(RPC.java:226)
> at org.apache.hadoop.mapred.$Proxy85.getProtocolVersion(Unknown
> Source)
> at org.apache.hadoop.ipc.RPC.getProxy(RPC.java:398)
> at org.apache.hadoop.ipc.RPC.getProxy(RPC.java:384)
> at
> org.apache.hadoop.mapred.JobClient.createRPCProxy(JobClient.java:501)
> at org.apache.hadoop.mapred.JobClient.init(JobClient.java:486)
> at org.apache.hadoop.mapred.JobClient.<init>(JobClient.java:469)
> at
> org.apache.whirr.service.cdh.integration.CdhHadoopServiceTest.test(CdhHadoopServiceTest.java:86)
> {code}
> I am running this with {{mvn -Pintegration install
> -Dtest=CdhHadoopServiceTest -DargLine="-Dwhirr.test.provider=aws-ec2
> -Dwhirr.test.identity=... -Dwhirr.test.credential=..."}} in {{services/cdh}}.
> The corresponding HadoopServiceTest is passing.
> Also see WHIRR-227 and WHIRR-415.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira