hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yongjun Zhang (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-5830) WebHdfsFileSystem.getFileBlockLocations throws IllegalArgumentException when accessing another cluster.
Date Fri, 24 Jan 2014 18:55:49 GMT
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)

Mime
View raw message