hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jitendra Nath Pandey (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-8601) TestWebHdfsFileSystemContract.testGetFileBlockLocations fails in branch-2.7
Date Mon, 15 Jun 2015 00:11:00 GMT

     [ https://issues.apache.org/jira/browse/HDFS-8601?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jitendra Nath Pandey updated HDFS-8601:
---------------------------------------
    Resolution: Duplicate
        Status: Resolved  (was: Patch Available)

This is duplicate of HDFS-8600.

> TestWebHdfsFileSystemContract.testGetFileBlockLocations fails in branch-2.7
> ---------------------------------------------------------------------------
>
>                 Key: HDFS-8601
>                 URL: https://issues.apache.org/jira/browse/HDFS-8601
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: HDFS
>    Affects Versions: 2.7.0
>            Reporter: Jitendra Nath Pandey
>            Assignee: Jitendra Nath Pandey
>         Attachments: HDFS-8601-branch-2.7.1.patch
>
>
> The test testGetFileBlockLocations in TestWebHdfsFileSystemContract fails with following
stack trace in branch-2.7
> {code}
> java.io.IOException: Response decoding failure: java.lang.ClassCastException: java.lang.Integer
cannot be cast to java.lang.Long
> 	at org.apache.hadoop.hdfs.web.JsonUtil.toDatanodeInfo(JsonUtil.java:340)
> 	at org.apache.hadoop.hdfs.web.JsonUtil.toDatanodeInfoArray(JsonUtil.java:415)
> 	at org.apache.hadoop.hdfs.web.JsonUtil.toLocatedBlock(JsonUtil.java:445)
> 	at org.apache.hadoop.hdfs.web.JsonUtil.toLocatedBlockList(JsonUtil.java:484)
> 	at org.apache.hadoop.hdfs.web.JsonUtil.toLocatedBlocks(JsonUtil.java:517)
> 	at org.apache.hadoop.hdfs.web.WebHdfsFileSystem$12.decodeResponse(WebHdfsFileSystem.java:1386)
> 	at org.apache.hadoop.hdfs.web.WebHdfsFileSystem$12.decodeResponse(WebHdfsFileSystem.java:1383)
> 	at org.apache.hadoop.hdfs.web.WebHdfsFileSystem$FsPathResponseRunner.getResponse(WebHdfsFileSystem.java:737)
> 	at org.apache.hadoop.hdfs.web.WebHdfsFileSystem$AbstractRunner.runWithRetry(WebHdfsFileSystem.java:615)
> 	at org.apache.hadoop.hdfs.web.WebHdfsFileSystem$AbstractRunner.access$100(WebHdfsFileSystem.java:463)
> 	at org.apache.hadoop.hdfs.web.WebHdfsFileSystem$AbstractRunner$1.run(WebHdfsFileSystem.java:492)
> 	at java.security.AccessController.doPrivileged(Native Method)
> 	at javax.security.auth.Subject.doAs(Subject.java:415)
> 	at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1657)
> 	at org.apache.hadoop.hdfs.web.WebHdfsFileSystem$AbstractRunner.run(WebHdfsFileSystem.java:488)
> 	at org.apache.hadoop.hdfs.web.WebHdfsFileSystem.getFileBlockLocations(WebHdfsFileSystem.java:1382)
> 	at org.apache.hadoop.hdfs.web.TestWebHdfsFileSystemContract.testGetFileBlockLocations(TestWebHdfsFileSystemContract.java:136)
> {code}



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

Mime
View raw message