Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixing hadoop test scope dependencies in indexing-hadoop #1867

Merged
merged 1 commit into from
Oct 27, 2015

Conversation

himanshug
Copy link
Contributor

with #1815 , we are getting following exception on our build machines.

io.druid.indexer.HdfsClasspathSetupTest  Time elapsed: 1.657 sec  <<< ERROR!
java.net.UnknownHostException: Invalid host name: local host is: (unknown); destination host is: "localhost.localdomain":44443; java.net.UnknownHostException; For more details see:  http://wiki.apache.org/hadoop/UnknownHost
at org.apache.hadoop.ipc.Client$Connection.<init>(Client.java:400)
at org.apache.hadoop.ipc.Client.getConnection(Client.java:1448)
at org.apache.hadoop.ipc.Client.call(Client.java:1377)
at org.apache.hadoop.ipc.Client.call(Client.java:1359)
at org.apache.hadoop.ipc.ProtobufRpcEngine$Invoker.invoke(ProtobufRpcEngine.java:206)
at com.sun.proxy.$Proxy90.getDatanodeReport(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.apache.hadoop.io.retry.RetryInvocationHandler.invokeMethod(RetryInvocationHandler.java:186)
at org.apache.hadoop.io.retry.RetryInvocationHandler.invoke(RetryInvocationHandler.java:102)
at com.sun.proxy.$Proxy90.getDatanodeReport(Unknown Source)
at org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolTranslatorPB.getDatanodeReport(ClientNamenodeProtocolTranslatorPB.java:555)
at org.apache.hadoop.hdfs.DFSClient.datanodeReport(DFSClient.java:2189)
at org.apache.hadoop.hdfs.MiniDFSCluster.waitActive(MiniDFSCluster.java:1901)
at org.apache.hadoop.hdfs.MiniDFSCluster.waitActive(MiniDFSCluster.java:1920)
at org.apache.hadoop.hdfs.MiniDFSCluster.startDataNodes(MiniDFSCluster.java:1238)
at org.apache.hadoop.hdfs.MiniDFSCluster.initMiniDFSCluster(MiniDFSCluster.java:684)
at org.apache.hadoop.hdfs.MiniDFSCluster.<init>(MiniDFSCluster.java:351)
at org.apache.hadoop.hdfs.MiniDFSCluster$Builder.build(MiniDFSCluster.java:332)
at io.druid.indexer.HdfsClasspathSetupTest.setupStatic(HdfsClasspathSetupTest.java:80)

this change fixes the issue.
However, I am not entirely sure of why it fails otherwise.

@drcrallen
Copy link
Contributor

@himanshug how odd.

👍 after travis

@drcrallen drcrallen added this to the 0.9.0 milestone Oct 26, 2015
@gianm
Copy link
Contributor

gianm commented Oct 27, 2015

👍

gianm added a commit that referenced this pull request Oct 27, 2015
fixing hadoop test scope dependencies in indexing-hadoop
@gianm gianm merged commit c0eb485 into apache:master Oct 27, 2015
@gianm gianm modified the milestones: 0.8.3, 0.9.0 Dec 1, 2015
This was referenced Dec 1, 2015
@himanshug himanshug deleted the hdfs_class_setup_test_fix branch December 5, 2015 17:15
seoeun25 pushed a commit to seoeun25/incubator-druid that referenced this pull request Jan 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants