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

Chris Nauroth commented on HDFS-9062:
-------------------------------------

Thanks for the additional details, James.  I hadn't made the connection that 
you were looking to do an external setup, with the mini-cluster in a separate 
process from the test executable.

If I understand correctly then, the proposal is to add a new argument to 
{{MiniDFSClusterManager}}, which if present triggers a call to 
{{DomainSocket#disableBindPathValidation}}.  Is that right?  If so, then it 
sounds like a reasonable change.

> Add a parameter to MiniDFSCluster to turn off security checks on the domain 
> socked path
> ---------------------------------------------------------------------------------------
>
>                 Key: HDFS-9062
>                 URL: https://issues.apache.org/jira/browse/HDFS-9062
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: hdfs-client
>            Reporter: James Clampffer
>            Assignee: James Clampffer
>            Priority: Blocker
>
> I'd like to add a command line parameter that allows the permission checks on 
> dfs.domain.socket.path to be turned off.
> Right now a blocker, or at least major inconvenience, for short circuit 
> reader development is getting the domain socket path set up with the correct 
> permissions.  I'm working on shared test machines where messing with things 
> in /var/lib is discouraged.
> This should also make it easier to write tests for short circuit reads once 
> completed.



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

Reply via email to