You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Yongjun Zhang (JIRA)" <ji...@apache.org> on 2014/01/24 19:55:49 UTC
[jira] [Created] (HDFS-5830)
WebHdfsFileSystem.getFileBlockLocations throws IllegalArgumentException
when accessing another cluster.
Yongjun Zhang created HDFS-5830:
-----------------------------------
Summary: WebHdfsFileSystem.getFileBlockLocations throws IllegalArgumentException when accessing another cluster.
Key: HDFS-5830
URL: https://issues.apache.org/jira/browse/HDFS-5830
Project: Hadoop HDFS
Issue Type: Bug
Components: caching, hdfs-client
Affects Versions: 2.3.0
Reporter: Yongjun Zhang
Assignee: Yongjun Zhang
WebHdfsFileSystem.getFileBlockLocations throws IllegalArgumentException when accessing a another cluster (that doesn't have caching support).
java.lang.IllegalArgumentException: cachedLocs should not be null, use a different constructor
at com.google.common.base.Preconditions.checkArgument(Preconditions.java:88)
at org.apache.hadoop.hdfs.protocol.LocatedBlock.<init>(LocatedBlock.java:79)
at org.apache.hadoop.hdfs.web.JsonUtil.toLocatedBlock(JsonUtil.java:414)
at org.apache.hadoop.hdfs.web.JsonUtil.toLocatedBlockList(JsonUtil.java:446)
at org.apache.hadoop.hdfs.web.JsonUtil.toLocatedBlocks(JsonUtil.java:479)
at org.apache.hadoop.hdfs.web.WebHdfsFileSystem.getFileBlockLocations(WebHdfsFileSystem.java:1067)
at org.apache.hadoop.fs.FileSystem$4.next(FileSystem.java:1812)
at org.apache.hadoop.fs.FileSystem$4.next(FileSystem.java:1797)
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)