You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2015/10/13 23:35:07 UTC
[jira] [Commented] (HDFS-8779) WebUI fails to display block IDs
that are larger than 2^53 - 1
[ https://issues.apache.org/jira/browse/HDFS-8779?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14955730#comment-14955730 ]
Hudson commented on HDFS-8779:
------------------------------
SUCCESS: Integrated in Hadoop-trunk-Commit #8625 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/8625/])
HDFS-8779. WebUI fails to display block IDs that are larger than 2^53 - (wheat9: rev aa299ecd5e5d0fab6a50dd02e58fb0b4c1804e92)
* hadoop-hdfs-project/hadoop-hdfs/src/main/webapps/hdfs/explorer.html
* hadoop-hdfs-project/hadoop-hdfs/src/main/webapps/static/json-bignum.js
* hadoop-hdfs-project/hadoop-hdfs/src/main/webapps/hdfs/explorer.js
* hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* hadoop-hdfs-project/hadoop-hdfs/pom.xml
> WebUI fails to display block IDs that are larger than 2^53 - 1
> --------------------------------------------------------------
>
> Key: HDFS-8779
> URL: https://issues.apache.org/jira/browse/HDFS-8779
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: webhdfs
> Reporter: Walter Su
> Assignee: Haohui Mai
> Priority: Minor
> Fix For: 2.8.0
>
> Attachments: HDFS-8779.005.patch, HDFS-8779.006.patch, HDFS-8779.01.patch, HDFS-8779.02.patch, HDFS-8779.03.patch, HDFS-8779.04.patch, after-02-patch.png, before.png, patch-to-json-parse.txt, test-006-patch.PNG
>
>
> Old release use randomly generated block ID(HDFS-4645).
> max value of Long in Java is 2^63-1
> max value of -number-(*integer*) in Javascript is 2^53-1. ( See [Link|https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Number/MAX_SAFE_INTEGER])
> Which means almost every randomly generated block ID exceeds MAX_SAFE_INTEGER.
> A integer which exceeds MAX_SAFE_INTEGER cannot be represented in Javascript.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)