hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Enis Soztutar (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-4506) HDFS short circuit fails non-transparently when user does not have unix permissions
Date Sat, 16 Feb 2013 00:15:13 GMT

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

Enis Soztutar commented on HDFS-4506:

This causes the HBase region server to fail: 
13/02/15 15:23:14 INFO hdfs.DFSClient: Failed to read block blk_-4320583063454486173_1019
on local machinejava.io.FileNotFoundException: /tmp/hadoop-enis/dfs/data/current/blk_-4320583063454486173
(Permission denied)
	at java.io.FileInputStream.open(Native Method)
	at java.io.FileInputStream.<init>(FileInputStream.java:120)
	at org.apache.hadoop.hdfs.BlockReaderLocal.newBlockReader(BlockReaderLocal.java:149)
	at org.apache.hadoop.hdfs.DFSClient.getLocalBlockReader(DFSClient.java:358)
	at org.apache.hadoop.hdfs.DFSClient.access$800(DFSClient.java:74)
	at org.apache.hadoop.hdfs.DFSClient$DFSInputStream.blockSeekTo(DFSClient.java:2073)
	at org.apache.hadoop.hdfs.DFSClient$DFSInputStream.read(DFSClient.java:2224)
	at java.io.DataInputStream.read(DataInputStream.java:132)
	at org.apache.hadoop.io.IOUtils.readFully(IOUtils.java:153)
	at org.apache.hadoop.hbase.io.hfile.HFileBlock$AbstractFSReader.readAtOffset(HFileBlock.java:1409)
> HDFS short circuit fails non-transparently when user does not have unix permissions
> -----------------------------------------------------------------------------------
>                 Key: HDFS-4506
>                 URL: https://issues.apache.org/jira/browse/HDFS-4506
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: hdfs-client
>    Affects Versions: 1.1.1
>            Reporter: Enis Soztutar
> We found a case, where if the short circuit user name is configured correctly, but the
user does not have enough permissions in unix, DFS operations fails with IOException, rather
than silently failing over through datanode. 

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

View raw message