hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Walter Su (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-8779) WebUI can't display randomly generated block ID
Date Wed, 15 Jul 2015 09:15:04 GMT
Walter Su created HDFS-8779:

             Summary: WebUI can't display randomly generated block ID
                 Key: HDFS-8779
                 URL: https://issues.apache.org/jira/browse/HDFS-8779
             Project: Hadoop HDFS
          Issue Type: Bug
          Components: webhdfs
            Reporter: Walter Su
            Assignee: Walter Su
            Priority: Minor

Old release use randomly generated block ID(HDFS-4645).
max value of Long in Java is 2^63-1
max value of number 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

View raw message