[jira] [Commented] (HBASE-5574) DEFAULT_MAX_FILE_SIZE defaults to a negative value

2012-03-14 Thread Hudson (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-5574?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13229361#comment-13229361
 ] 

Hudson commented on HBASE-5574:
---

Integrated in HBase-TRUNK #2679 (See 
[https://builds.apache.org/job/HBase-TRUNK/2679/])
HBASE-5574 DEFAULT_MAX_FILE_SIZE defaults to a negative value (Revision 
1300288)

 Result = SUCCESS
stack : 
Files : 
* /hbase/trunk/src/main/java/org/apache/hadoop/hbase/HConstants.java


 DEFAULT_MAX_FILE_SIZE defaults to a negative value
 --

 Key: HBASE-5574
 URL: https://issues.apache.org/jira/browse/HBASE-5574
 Project: HBase
  Issue Type: Bug
Affects Versions: 0.94.0
Reporter: Michael Drzal
Assignee: Michael Drzal
 Fix For: 0.94.0

 Attachments: HBASE-5574.patch


 HBASE-4365 changed the value of DEFAULT_MAX_FILE_SIZE from 256MB to 10G.  
 Here is the line of code:
 public static final long DEFAULT_MAX_FILE_SIZE = 10 * 1024 * 1024 * 1024;
 The problem is that java evaluates the constant as an int which wraps and 
 gets assigned to a long.  I verified this with a test.  The quick fix is to 
 change the end to 1024L;

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (HBASE-5574) DEFAULT_MAX_FILE_SIZE defaults to a negative value

2012-03-13 Thread stack (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-5574?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13228548#comment-13228548
 ] 

stack commented on HBASE-5574:
--

+1  Thanks Michael

 DEFAULT_MAX_FILE_SIZE defaults to a negative value
 --

 Key: HBASE-5574
 URL: https://issues.apache.org/jira/browse/HBASE-5574
 Project: HBase
  Issue Type: Bug
Affects Versions: 0.94.0
Reporter: Michael Drzal
Assignee: Michael Drzal
 Attachments: HBASE-5574.patch


 HBASE-4365 changed the value of DEFAULT_MAX_FILE_SIZE from 256MB to 10G.  
 Here is the line of code:
 public static final long DEFAULT_MAX_FILE_SIZE = 10 * 1024 * 1024 * 1024;
 The problem is that java evaluates the constant as an int which wraps and 
 gets assigned to a long.  I verified this with a test.  The quick fix is to 
 change the end to 1024L;

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (HBASE-5574) DEFAULT_MAX_FILE_SIZE defaults to a negative value

2012-03-13 Thread Hudson (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-5574?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13228642#comment-13228642
 ] 

Hudson commented on HBASE-5574:
---

Integrated in HBase-0.94 #31 (See 
[https://builds.apache.org/job/HBase-0.94/31/])
HBASE-5574 DEFAULT_MAX_FILE_SIZE defaults to a negative value (Revision 
1300289)

 Result = SUCCESS
stack : 
Files : 
* /hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/HConstants.java


 DEFAULT_MAX_FILE_SIZE defaults to a negative value
 --

 Key: HBASE-5574
 URL: https://issues.apache.org/jira/browse/HBASE-5574
 Project: HBase
  Issue Type: Bug
Affects Versions: 0.94.0
Reporter: Michael Drzal
Assignee: Michael Drzal
 Fix For: 0.94.0

 Attachments: HBASE-5574.patch


 HBASE-4365 changed the value of DEFAULT_MAX_FILE_SIZE from 256MB to 10G.  
 Here is the line of code:
 public static final long DEFAULT_MAX_FILE_SIZE = 10 * 1024 * 1024 * 1024;
 The problem is that java evaluates the constant as an int which wraps and 
 gets assigned to a long.  I verified this with a test.  The quick fix is to 
 change the end to 1024L;

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (HBASE-5574) DEFAULT_MAX_FILE_SIZE defaults to a negative value

2012-03-13 Thread Hudson (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-5574?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13229002#comment-13229002
 ] 

Hudson commented on HBASE-5574:
---

Integrated in HBase-TRUNK-security #137 (See 
[https://builds.apache.org/job/HBase-TRUNK-security/137/])
HBASE-5574 DEFAULT_MAX_FILE_SIZE defaults to a negative value (Revision 
1300288)

 Result = FAILURE
stack : 
Files : 
* /hbase/trunk/src/main/java/org/apache/hadoop/hbase/HConstants.java


 DEFAULT_MAX_FILE_SIZE defaults to a negative value
 --

 Key: HBASE-5574
 URL: https://issues.apache.org/jira/browse/HBASE-5574
 Project: HBase
  Issue Type: Bug
Affects Versions: 0.94.0
Reporter: Michael Drzal
Assignee: Michael Drzal
 Fix For: 0.94.0

 Attachments: HBASE-5574.patch


 HBASE-4365 changed the value of DEFAULT_MAX_FILE_SIZE from 256MB to 10G.  
 Here is the line of code:
 public static final long DEFAULT_MAX_FILE_SIZE = 10 * 1024 * 1024 * 1024;
 The problem is that java evaluates the constant as an int which wraps and 
 gets assigned to a long.  I verified this with a test.  The quick fix is to 
 change the end to 1024L;

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira