[ 
https://issues.apache.org/jira/browse/HDFS-10317?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15253201#comment-15253201
 ] 

Li Bo commented on HDFS-10317:
------------------------------

I use Intellij IDEA to run the test and the problem occurs, but it will not 
happen using mvn test. I will check it further.

> dfs.domain.socket.path is not set in 
> TestShortCircuitLocalRead.testReadWithRemoteBlockReader
> --------------------------------------------------------------------------------------------
>
>                 Key: HDFS-10317
>                 URL: https://issues.apache.org/jira/browse/HDFS-10317
>             Project: Hadoop HDFS
>          Issue Type: Bug
>            Reporter: Li Bo
>
> org.apache.hadoop.HadoopIllegalArgumentException: The short-circuit local 
> reads feature is enabled but dfs.domain.socket.path is not set.
>       at 
> org.apache.hadoop.hdfs.shortcircuit.DomainSocketFactory.<init>(DomainSocketFactory.java:115)
>       at org.apache.hadoop.hdfs.ClientContext.<init>(ClientContext.java:132)
>       at org.apache.hadoop.hdfs.ClientContext.get(ClientContext.java:157)
>       at org.apache.hadoop.hdfs.DFSClient.<init>(DFSClient.java:358)
>       at org.apache.hadoop.hdfs.DFSClient.<init>(DFSClient.java:275)
>       at org.apache.hadoop.hdfs.DFSClient.<init>(DFSClient.java:266)
>       at org.apache.hadoop.hdfs.DFSClient.<init>(DFSClient.java:258)
>       at 
> org.apache.hadoop.hdfs.MiniDFSCluster.waitActive(MiniDFSCluster.java:2466)
>       at 
> org.apache.hadoop.hdfs.MiniDFSCluster.waitActive(MiniDFSCluster.java:2512)
>       at 
> org.apache.hadoop.hdfs.MiniDFSCluster.startDataNodes(MiniDFSCluster.java:1632)
>       at 
> org.apache.hadoop.hdfs.MiniDFSCluster.initMiniDFSCluster(MiniDFSCluster.java:844)
>       at org.apache.hadoop.hdfs.MiniDFSCluster.<init>(MiniDFSCluster.java:482)
>       at 
> org.apache.hadoop.hdfs.MiniDFSCluster$Builder.build(MiniDFSCluster.java:441)
>       at 
> org.apache.hadoop.hdfs.shortcircuit.TestShortCircuitLocalRead.doTestShortCircuitReadWithRemoteBlockReader(TestShortCircuitLocalRead.java:608)
>       at 
> org.apache.hadoop.hdfs.shortcircuit.TestShortCircuitLocalRead.testReadWithRemoteBlockReader(TestShortCircuitLocalRead.java:590)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to