[jira] [Commented] (HDFS-10317) dfs.domain.socket.path is not set in TestShortCircuitLocalRead.testReadWithRemoteBlockReader

2016-04-21 Thread Li Bo (JIRA)

[ 
https://issues.apache.org/jira/browse/HDFS-10317?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=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.(DomainSocketFactory.java:115)
>   at org.apache.hadoop.hdfs.ClientContext.(ClientContext.java:132)
>   at org.apache.hadoop.hdfs.ClientContext.get(ClientContext.java:157)
>   at org.apache.hadoop.hdfs.DFSClient.(DFSClient.java:358)
>   at org.apache.hadoop.hdfs.DFSClient.(DFSClient.java:275)
>   at org.apache.hadoop.hdfs.DFSClient.(DFSClient.java:266)
>   at org.apache.hadoop.hdfs.DFSClient.(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.(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)


[jira] [Commented] (HDFS-10317) dfs.domain.socket.path is not set in TestShortCircuitLocalRead.testReadWithRemoteBlockReader

2016-04-20 Thread Xiaobing Zhou (JIRA)

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

Xiaobing Zhou commented on HDFS-10317:
--

[~libo-intel] can you comment how to reproduce it? Thank you.

> 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.(DomainSocketFactory.java:115)
>   at org.apache.hadoop.hdfs.ClientContext.(ClientContext.java:132)
>   at org.apache.hadoop.hdfs.ClientContext.get(ClientContext.java:157)
>   at org.apache.hadoop.hdfs.DFSClient.(DFSClient.java:358)
>   at org.apache.hadoop.hdfs.DFSClient.(DFSClient.java:275)
>   at org.apache.hadoop.hdfs.DFSClient.(DFSClient.java:266)
>   at org.apache.hadoop.hdfs.DFSClient.(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.(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)