Issue Details (XML | Word | Printable)

Key: HADOOP-3355
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Amareshwari Sriramadasu
Reporter: Amareshwari Sriramadasu
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
Hadoop Common

Configuration should accept decimal and hexadecimal values

Created: 07/May/08 04:43 AM   Updated: 22/Aug/08 07:50 PM
Component/s: conf
Affects Version/s: None
Fix Version/s: 0.18.0

Time Tracking:
Not Specified

File Attachments:
  Size
Text File Licensed for inclusion in ASF works patch-3355.txt 2008-05-08 08:05 AM Amareshwari Sriramadasu 3 kB
Text File Licensed for inclusion in ASF works patch-3355.txt 2008-05-07 09:26 AM Amareshwari Sriramadasu 2 kB

Hadoop Flags: Reviewed
Release Note: Added support for hexadecimal values in Configuration
Resolution Date: 14/May/08 01:19 PM


 Description  « Hide
This issue is created after the discussions in HADOOP-2461.
To summarise, Configuration should also accept hexadecimal values such as 0x1000, in addition to decimal values. Octal representation is not supported, since it may confuse some users.

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Amareshwari Sriramadasu added a comment - 07/May/08 09:26 AM
Here is patch adding support for Hexadecimal values for configuration properties.

Tsz Wo (Nicholas), SZE added a comment - 07/May/08 05:29 PM
Could we specify negative hex values?

Hadoop QA added a comment - 07/May/08 08:56 PM
+1 overall. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12381579/patch-3355.txt
against trunk revision 654128.

+1 @author. The patch does not contain any @author tags.

+1 tests included. The patch appears to include 3 new or modified tests.

+1 javadoc. The javadoc tool did not generate any warning messages.

+1 javac. The applied patch does not increase the total number of javac compiler warnings.

+1 findbugs. The patch does not introduce any new Findbugs warnings.

+1 release audit. The applied patch does not increase the total number of release audit warnings.

+1 core tests. The patch passed core unit tests.

+1 contrib tests. The patch passed contrib unit tests.

Test results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/2419/testReport/
Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/2419/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Checkstyle results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/2419/artifact/trunk/build/test/checkstyle-errors.html
Console output: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/2419/console

This message is automatically generated.


Amareshwari Sriramadasu added a comment - 08/May/08 08:03 AM
Cancelling patch as it doesnt work for negative hex digits.

Amareshwari Sriramadasu added a comment - 08/May/08 08:05 AM
Here is a patch accepting negative hex values also.

Hadoop QA added a comment - 08/May/08 09:26 PM
+1 overall. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12381654/patch-3355.txt
against trunk revision 654315.

+1 @author. The patch does not contain any @author tags.

+1 tests included. The patch appears to include 3 new or modified tests.

+1 javadoc. The javadoc tool did not generate any warning messages.

+1 javac. The applied patch does not increase the total number of javac compiler warnings.

+1 findbugs. The patch does not introduce any new Findbugs warnings.

+1 release audit. The applied patch does not increase the total number of release audit warnings.

+1 core tests. The patch passed core unit tests.

+1 contrib tests. The patch passed contrib unit tests.

Test results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/2427/testReport/
Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/2427/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Checkstyle results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/2427/artifact/trunk/build/test/checkstyle-errors.html
Console output: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/2427/console

This message is automatically generated.


Devaraj Das added a comment - 14/May/08 01:19 PM
I just committed this. Thanks, Amareshwari!

Hudson added a comment - 15/May/08 12:43 PM